Skip to content

Commit

Permalink
Enable Parallel Deconvolution
Browse files Browse the repository at this point in the history
  • Loading branch information
gordonkoehn committed Oct 11, 2024
1 parent 97cf46d commit 59ce8c9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
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

0 comments on commit 59ce8c9

Please sign in to comment.