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

Rerun STAR if sample_info stranded filed is changed #28

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
3 changes: 2 additions & 1 deletion mapping_pipeline.snake
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,8 @@ rule star:
params:
outdir = pph.out_dir_name(step="star"),
options = config["rule_options"]["star"]["cmd_opt"],
trim = True if config["rule_options"]["star"]["trim"]=="yes" else False
trim = True if config["rule_options"]["star"]["trim"]=="yes" else False,
count_col = lambda wildcards: {"unstranded":2, "forward":3, "reverse":4}[config["sample_info"][wildcards.sample]["stranded"]]
threads: 16
resources:
mem_mb=48000,
Expand Down