Skip to content

Commit 064161e

Browse files
authored
Merge pull request #41 from cokelaer/main
Fix typo for multiqc bowtie2 paired reports
2 parents ac21508 + 5ca3522 commit 064161e

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

README.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,8 @@ Changelog
158158
========= ====================================================================
159159
Version Description
160160
========= ====================================================================
161-
0.19.2 * fix bowtie1 regression in the log file
161+
0.19.2 * fix bowtie1 regression in the log file, paired end case in
162+
multiqc and rnadiff script (regression)
162163
* set genome directory default to None to enforce its usage
163164
0.19.1 * add rnaseqc container.
164165
* Update rseqc rules (redirection)

sequana_pipelines/rnaseq/rnaseq.rules

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ if manager.config.general.rRNA_feature or manager.config.general.contaminant_fil
484484
input:
485485
expand("{sample}/bowtie1_mapping_rna/{sample}_bowtie1.log", sample=manager.samples)
486486
output:
487-
"logs/fix_bowtie1/{sample}.log"
487+
"logs/fix_bowtie1/fix_bowtie1.log"
488488
run:
489489

490490
for filename in input:
@@ -501,7 +501,7 @@ if manager.config.general.rRNA_feature or manager.config.general.contaminant_fil
501501
fout.write(line)
502502
with open(output[0], "w") as fout:
503503
fout.write("")
504-
expected_output += expand("logs/fix_bowtie1/{sample}.log", sample=manager.samples)
504+
expected_output += ["logs/fix_bowtie1/fix_bowtie1.log"]
505505

506506

507507
# ========================================================== bowtie2 mapping
@@ -1062,7 +1062,7 @@ rule prepare_DGE_analysis:
10621062
attribute = config['feature_counts']['attribute']
10631063
feature = config['feature_counts']['feature']
10641064
fout.write("#/bin/sh\nsequana rnadiff --features all_features.out " +
1065-
f" --annotation {__gff_file__} --design design.csv --feature-name {feature} --attribute-name {attribute}")
1065+
f" --annotation-file {__gff_file__} --design design.csv --feature-name {feature} --attribute-name {attribute}")
10661066
shell(f"chmod 755 {output.rnadiff}")
10671067

10681068

@@ -1166,7 +1166,7 @@ onsuccess:
11661166
else:
11671167
filename = "multiqc/multiqc_data/mqc_bowtie2_pe_plot_1.txt"
11681168
if not os.path.exists(filename):
1169-
filename = "multiqc/multiqc_report_data/mqc_bowtie2_se_plot_1.txt"
1169+
filename = "multiqc/multiqc_report_data/mqc_bowtie2_pe_plot_1.txt"
11701170
br = Bowtie2(filename)
11711171
fig = br.plot(html_code=True)
11721172
from plotly import offline

0 commit comments

Comments
 (0)