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: read quantification #22

Merged
merged 5 commits into from
Jun 19, 2024
Merged
Changes from 1 commit
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
4 changes: 2 additions & 2 deletions workflow/Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ rule sam_stats:

rule count_reads:
input:
bam=rules.sam_index.output.ibam,
bam=rules.map_reads.output, # use unsorted .bam files; minimap2 does not create .bam -> new input needed; also filtering may be necessary (cutadapt)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please update the comment: Just state that compressed output will not be generated. The filtering is some kind of TODO, which we ought to discuss

trs=config["transcriptome"],
output:
tsv="counts/{sample}_salmon/quant.sf",
Expand All @@ -142,7 +142,7 @@ rule count_reads:
"envs/env.yml"
shell:
"""
salmon --no-version-check quant -p {resources.cpus_per_task} \
salmon --no-version-check quant --ont -p {resources.cpus_per_task} \
-t {input.trs} -l {params.libtype} -a {input.bam} -o {params.tsv_dir} &> {log}
"""

Expand Down