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

Enable Parallel Deconvolution in Lollipop #166

Merged
merged 1 commit into from
Oct 12, 2024
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion workflow/envs/lollipop.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ channels:
- conda-forge
- bioconda
dependencies:
- lollipop =0.4.1
- lollipop =0.5.0
2 changes: 1 addition & 1 deletion workflow/rules/signatures.smk
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ rule deconvolution:
threads: config.deconvolution["threads"]
shell:
"""
{params.LOLLIPOP} deconvolute "--output={output.deconvoluted}" "--out-json={output.deconv_json}" "--var={input.var_conf}" "--vd={input.var_dates}" "--dec={input.deconv_conf}" "--filters={input.filters}" {params.out_format} {params.seed} "{input.tallymut}" 2> >(tee -a {log.errfile} >&2) > >(tee -a {log.outfile})
{params.LOLLIPOP} deconvolute "--output={output.deconvoluted}" "--out-json={output.deconv_json}" "--var={input.var_conf}" "--vd={input.var_dates}" "--dec={input.deconv_conf}" "--filters={input.filters}" {params.out_format} {params.seed} "--n-cores={threads}" "{input.tallymut}" 2> >(tee -a {log.errfile} >&2) > >(tee -a {log.outfile})
"""


Expand Down
3 changes: 2 additions & 1 deletion workflow/schemas/config_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1630,7 +1630,8 @@
},
"threads": {
"type": "integer",
"default": 4
"default": 4,
"description": "Cores for parallel processing for multiple locations, 1 for sequential processing"
},
"conda": {
"type": "string",
Expand Down
Loading