Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
johanneskoester committed May 2, 2021
1 parent 3aa8de2 commit cffa77a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
4 changes: 3 additions & 1 deletion workflow/rules/common.smk
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@ def get_trimmed_reads(wildcards):
if not is_single_end(**wildcards):
# paired-end sample
return expand(
"results/trimmed/{sample}-{unit}.{group}.fastq.gz", group=[1, 2], **wildcards
"results/trimmed/{sample}-{unit}.{group}.fastq.gz",
group=[1, 2],
**wildcards
)
# single end sample
return "results/trimmed/{sample}-{unit}.fastq.gz".format(**wildcards)
Expand Down
10 changes: 8 additions & 2 deletions workflow/rules/stats.smk
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@ rule vcf_to_tsv:
input:
"results/annotated/all.vcf.gz",
output:
report("results/tables/calls.tsv.gz", caption="../report/calls.rst", category="Calls"),
report(
"results/tables/calls.tsv.gz",
caption="../report/calls.rst",
category="Calls",
),
log:
"logs/vcf-to-tsv.log",
conda:
Expand All @@ -21,7 +25,9 @@ rule plot_stats:
"results/plots/depths.svg", caption="../report/depths.rst", category="Plots"
),
freqs=report(
"results/plots/allele-freqs.svg", caption="../report/freqs.rst", category="Plots"
"results/plots/allele-freqs.svg",
caption="../report/freqs.rst",
category="Plots",
),
log:
"logs/plot-stats.log",
Expand Down

0 comments on commit cffa77a

Please sign in to comment.