Skip to content

Commit

Permalink
fix: reduce loading time of coverage plots (#498)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasbtf authored Mar 21, 2022
1 parent f502dd2 commit 8a8f533
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions workflow/rules/generate_output.smk
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ rule plot_coverage_main_sequence:
expand_samples_for_date("results/{{date}}/qc/samtools_depth/{sample}.txt"),
output:
report(
"results/{date}/plots/coverage-reference-genome.svg",
"results/{date}/plots/coverage-reference-genome.png",
caption="../report/all-main-coverage.rst",
category="3. Sequencing Details",
subcategory="2. Coverage of Reference Genome",
Expand All @@ -59,7 +59,7 @@ rule plot_coverage_polished_sequence:
),
output:
report(
"results/{date}/plots/coverage-assembled-genome.svg",
"results/{date}/plots/coverage-assembled-genome.png",
caption="../report/all-final-coverage.rst",
category="3. Sequencing Details",
subcategory="3. Coverage of Reconstructed Sequences",
Expand Down Expand Up @@ -379,8 +379,8 @@ rule snakemake_reports_patient:
),
# 3. Sequencing Details
"results/{date}/qc/laboratory/multiqc.html",
"results/{date}/plots/coverage-reference-genome.svg",
"results/{date}/plots/coverage-assembled-genome.svg",
"results/{date}/plots/coverage-reference-genome.png",
"results/{date}/plots/coverage-assembled-genome.png",
lambda wildcards: "results/{date}/plots/primer-clipping-intervals.svg"
if any_sample_is_amplicon(wildcards)
else [],
Expand Down Expand Up @@ -439,7 +439,7 @@ use rule snakemake_reports_patient as snakemake_reports_environment with:
),
# 3. Sequencing Details
"results/{date}/qc/laboratory/multiqc.html",
"results/{date}/plots/coverage-reference-genome.svg",
"results/{date}/plots/coverage-reference-genome.png",
output:
"results/environment-reports/{date}.zip",
log:
Expand Down

0 comments on commit 8a8f533

Please sign in to comment.