Skip to content

Commit

Permalink
Bump LolliPop 0.5.1
Browse files Browse the repository at this point in the history
- avoids OpenBLAS threads explosion on clusters
- (extra pb option controlling the progress bars)
  • Loading branch information
DrYak committed Dec 4, 2024
1 parent b5be704 commit 32d2bc0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 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.5.0
- lollipop =0.5.1
3 changes: 2 additions & 1 deletion workflow/rules/signatures.smk
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,7 @@ rule deconvolution:
out_format=(
"--fmt-columns" if config.deconvolution["out_format"] == "columns" else ""
),
EXTRA=config.deconvolution["extra"],
seed="--seed=42",
log:
outfile=cohortdir("deconvoluted.out.log"),
Expand All @@ -372,7 +373,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} "--n-cores={threads}" "{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} {params.EXTRA} "--n-cores={threads}" "{input.tallymut}" 2> >(tee -a {log.errfile} >&2) > >(tee -a {log.outfile})
"""


Expand Down
6 changes: 6 additions & 0 deletions workflow/schemas/config_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1687,6 +1687,12 @@
"default": "mut",
"description": "Timeline of events that deconvolution runs on.\n- `mut` simple mutations generated from basecounts (pile-up like)\n- `cooc` coocurrences of mutations on amplicons generated by COJAC",
"examples": ["cooc"]
},
"extra": {
"type": "string",
"default": "",
"description": "Pass additional options to run `lollipop deconvolute` such as, e.g., `--bp` (see [LolliPop README](https://github.com/cbg-ethz/LolliPop)).",
"examples": ["--bp 0"]
}
},
"default": {},
Expand Down

0 comments on commit 32d2bc0

Please sign in to comment.