Skip to content

Commit

Permalink
[bump] LolliPop 0.4.0
Browse files Browse the repository at this point in the history
- support new `filters` option
  • Loading branch information
DrYak committed Jul 5, 2024
1 parent 5befca4 commit 25a4c30
Show file tree
Hide file tree
Showing 3 changed files with 13 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.3.0
- lollipop =0.4.0
7 changes: 6 additions & 1 deletion workflow/rules/signatures.smk
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,11 @@ rule deconvolution:
if config.deconvolution["variants_dates"]
else []
),
filters=(
config.deconvolution["filters"]
if config.deconvolution["filters"]
else []
),
output:
deconvoluted=cohortdir("deconvoluted.tsv.zst"),
deconv_json=cohortdir("deconvoluted_upload.json"),
Expand All @@ -343,7 +348,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}" {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} "{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 @@ -1661,6 +1661,12 @@
"default": "lines",
"description": "Format of the output CSV.\n- `lines`(default) - each variants a separate entry on a separate line.\n- `columns` - one column per variant",
"examples": ["columns"]
},
"filters": {
"type": "string",
"default": "",
"description": "List of filters for removing problematic mutations from tally. Some mutations might be problematic and need to be taken out -- e.g. due to drop-outs in the multiplex PCR amplification, they do not show up in the data and this could be misinterpreted by LolliPop as proof of absence of a variant.",
"examples": ["filters_preprint.yaml"]
}
},
"default": {},
Expand Down

0 comments on commit 25a4c30

Please sign in to comment.