Mercurial > repos > iuc > tn93_readreduce
view readreduce.xml @ 2:1d2ec0b0a0a7 draft
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tn93/ commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
author | iuc |
---|---|
date | Wed, 20 Apr 2022 16:59:27 +0000 |
parents | bdaadfd0c843 |
children | c176164dc8a5 |
line wrap: on
line source
<tool id="tn93_readreduce" name="Merge matching reads" version="@TOOL_VERSION@+galaxy1"> <description>into clusters with TN-93</description> <macros> <import>macros.xml</import> </macros> <expand macro="requirements" /> <version_command><![CDATA[tn93 --version]]></version_command> <command detect_errors="exit_code"><![CDATA[ readreduce -q -o '$output' #if str($options.advanced) == 'advanced': -a $options.ambigs -l $options.overlap #if $options.counts_in_name: -d '$options.counts_in_name' #end if -s '$size' #end if '$input' ]]></command> <inputs> <param name="input" type="data" format="fasta" label="Input in FASTA format" /> <conditional name="options"> <param label="Additional options" name="advanced" type="select"> <option value="defaults">Use defaults</option> <option value="advanced">Specify additional parameters</option> </param> <when value="defaults" /> <when value="advanced"> <param name="size" argument="-s" type="integer" min="0" value="18" label="Mimimum cluster size to report in output" /> <param name="ambigs" argument="-a" type="select" label="Strategy for ambiguous nucleotides"> <option value="handle">handle</option> <option value="resolve">resolve</option> <option value="average">average</option> <option value="skip">skip</option> <option value="gapmm">gapmm</option> </param> <param name="overlap" argument="-l" type="integer" value="100" label="Only count pairs that overlap by at least N bases" /> <param name="counts_in_name" argument="-d" type="text" optional="true" label="Sequence name component immediately preceding a copy number" /> </when> </conditional> </inputs> <outputs> <data format="fasta" name="output" /> </outputs> <tests> <test> <param name="input" value="readreduce-in1.fa" /> <output file="readreduce-out1.fa" ftype="fasta" name="output" sort="True" /> </test> <test> <param name="input" value="readreduce-in2.fa" /> <output file="readreduce-out2.fa" ftype="fasta" name="output" sort="True" /> </test> </tests> <help><![CDATA[ readreduce ---------- Merge matching reads into clusters using the [Tamura Nei 93 distance](http://www.ncbi.nlm.nih.gov/pubmed/8336541) algorithm. ]]></help> <expand macro="citations" /> </tool>