Commit 068115eb authored by Philippe BORDRON's avatar Philippe BORDRON
Browse files

Fix params that was ignored in alpha-rarefaction

parent 7d8834fc
......@@ -1154,10 +1154,11 @@ if "denoiser" in config["global"]:
getOutput("export_table_tsv", "alpha-rarefaction_maxdepth.txt")
output: getOutput("alpha_rarefaction", "alpha_rarefaction.qzv"),
getOutput("alpha_rarefaction", "results/index.html")
params: options = getOptions("alpha-rarefaction", ["p-max-depth"])
conda: qiime2_yml
shell: """
RAREFACTION_MAX_DEPTH=$(cat {input[3]})
qiime diversity alpha-rarefaction --i-table {input[0]} --i-phylogeny {input[1]} --m-metadata-file {input[2]} --o-visualization {output[0]} --p-max-depth $RAREFACTION_MAX_DEPTH
qiime diversity alpha-rarefaction --i-table {input[0]} --i-phylogeny {input[1]} --m-metadata-file {input[2]} --o-visualization {output[0]} --p-max-depth $RAREFACTION_MAX_DEPTH {params.options}
qiime tools export --input-path {output[0]} --output-path `dirname {output[1]}`
"""
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment