Skip to content

Commit

Permalink
fix: quantification input output mismatch (#68)
Browse files Browse the repository at this point in the history
* fix: aligned rule count_reads output iwth rule merge_counts input

* fix: added dir parameter again because output no longer a dir
  • Loading branch information
yeising authored Aug 22, 2024
1 parent a83d514 commit 44e6451
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions workflow/rules/quantification.smk
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ rule count_reads:
bam="sorted_alignments/{sample}.bam",
trs="transcriptome/transcriptome.fa",
output:
tsv=directory("counts/{sample}_salmon"),
tsv="counts/{sample}_salmon/quant.sf",
params:
tsv_dir="counts/{sample}_salmon",
libtype=config["salmon_libtype"],
log:
"logs/salmon/{sample}.log",
Expand All @@ -17,7 +18,7 @@ rule count_reads:
shell:
"""
salmon --no-version-check quant --ont -p {resources.cpus_per_task} \
-t {input.trs} -l {params.libtype} -a {input.bam} -o {output.tsv} 2> {log}
-t {input.trs} -l {params.libtype} -a {input.bam} -o {params.tsv_dir} 2> {log}
"""


Expand Down

0 comments on commit 44e6451

Please sign in to comment.