Skip to content

Commit

Permalink
Declare flenDist.txt files as output/input.
Browse files Browse the repository at this point in the history
  • Loading branch information
rekado committed May 27, 2024
1 parent 4fe9cea commit da6f0d4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion snakefile.py
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,8 @@ def hisat2_file_arguments(args):
reads = map_input
output:
os.path.join(SALMON_DIR, "{sample}", "quant.sf"),
os.path.join(SALMON_DIR, "{sample}", "quant.genes.sf")
os.path.join(SALMON_DIR, "{sample}", "quant.genes.sf"),
os.path.join(SALMON_DIR, "{sample}", "libParams/flenDist.txt")
resources:
mem_mb = config['execution']['rules']['salmon_quant']['memory']
params:
Expand Down Expand Up @@ -554,6 +555,7 @@ def hisat2_file_arguments(args):
rule multiqc:
input:
salmon_output=expand(os.path.join(SALMON_DIR, "{sample}", "quant.sf"), sample = SAMPLES),
salmon_flen=expand(os.path.join(SALMON_DIR, "{sample}", "libParams/flenDist.txt"), sample = SAMPLES),
mapping_output=expand(os.path.join(MAPPED_READS_DIR, MAPPER, '{sample}_Aligned.sortedByCoord.out.bam'), sample=SAMPLES)
group: "qc"
output: os.path.join(MULTIQC_DIR, 'multiqc_report.html')
Expand Down

0 comments on commit da6f0d4

Please sign in to comment.