Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: reduce loading time of coverage plots #498

Merged
merged 2 commits into from
Mar 21, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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