Skip to content

Commit

Permalink
Fix typo for multiqc bowtie2 paired reports
Browse files Browse the repository at this point in the history
  • Loading branch information
cokelaer committed Dec 14, 2023
1 parent ac21508 commit 5ca3522
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,8 @@ Changelog
========= ====================================================================
Version Description
========= ====================================================================
0.19.2 * fix bowtie1 regression in the log file
0.19.2 * fix bowtie1 regression in the log file, paired end case in
multiqc and rnadiff script (regression)
* set genome directory default to None to enforce its usage
0.19.1 * add rnaseqc container.
* Update rseqc rules (redirection)
Expand Down
8 changes: 4 additions & 4 deletions sequana_pipelines/rnaseq/rnaseq.rules
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ if manager.config.general.rRNA_feature or manager.config.general.contaminant_fil
input:
expand("{sample}/bowtie1_mapping_rna/{sample}_bowtie1.log", sample=manager.samples)
output:
"logs/fix_bowtie1/{sample}.log"
"logs/fix_bowtie1/fix_bowtie1.log"
run:

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


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


Expand Down Expand Up @@ -1166,7 +1166,7 @@ onsuccess:
else:
filename = "multiqc/multiqc_data/mqc_bowtie2_pe_plot_1.txt"
if not os.path.exists(filename):
filename = "multiqc/multiqc_report_data/mqc_bowtie2_se_plot_1.txt"
filename = "multiqc/multiqc_report_data/mqc_bowtie2_pe_plot_1.txt"
br = Bowtie2(filename)
fig = br.plot(html_code=True)
from plotly import offline
Expand Down

0 comments on commit 5ca3522

Please sign in to comment.