Mercurial > repos > iuc > mothur_parse_list
view parse.list.xml @ 0:0817dd05dbaf draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
| author | iuc |
|---|---|
| date | Fri, 24 Jun 2016 16:43:48 -0400 |
| parents | |
| children | 033b821e30e1 |
line wrap: on
line source
<tool profile="16.07" id="mothur_parse_list" name="Parse.list" version="@WRAPPER_VERSION@.0"> <description>Generate a List file for each group</description> <macros> <import>macros.xml</import> </macros> <expand macro="requirements"/> <expand macro="version_command"/> <command detect_errors="aggressive"><![CDATA[ ## create symlinks to input datasets ln -s "$otu" otu.dat && ln -s "$group" group.dat && ln -s "$count" count.dat && echo 'parse.list( list=otu.dat, #if $label: label=${ str($label).replace(",","-") }, #end if #if $count: count=count.dat, #end if group=group.dat )' | sed 's/ //g' ## mothur trips over whitespace | mothur ]]></command> <inputs> <param name="otu" type="data" format="mothur.list" label="list - OTU List"/> <param name="group" type="data" format="mothur.groups" label="group - Sequences Name reference"/> <param name="label" type="select" optional="true" multiple="true" label="label - To filter: Select OTU Labels to include"> <expand macro="labeloptions"/> </param> <param name="count" type="data" format="mothur.count_table" optional="true" label="count - a count_table" help="generated by count.seqs"/> </inputs> <outputs> <expand macro="logfile-output"/> <collection name="listfiles" type="list" label="${tool.name} on ${on_string}: listfiles per group and label"> <discover_datasets pattern=".*?\.(?P<designation>.*)\.list" format="mothur.list"/> </collection> </outputs> <tests> <test> <param name="otu" value="amazon.an.list"/> <param name="group" value="amazon.groups"/> <output_collection name="listfiles" count="72"> <element name="pasture.0.21" md5="5c803fd0f0e1de69c51048e02bc02e65" ftype="mothur.list"/> </output_collection> <expand macro="logfile-test"/> </test> <test> <param name="otu" value="amazon.an.list"/> <param name="group" value="amazon.groups" ftype="mothur.groups"/> <param name="label" value="0.03,0.05"/> <output_collection name="listfiles" count="4"/> <expand macro="logfile-test"/> </test> </tests> <help> <![CDATA[ @MOTHUR_OVERVIEW@ **Command Documenation** The parse.list_ command reads a list_ file and group_ file and generates a list_ file for each group_ in the groupfile. .. _list: http://www.mothur.org/wiki/List_file .. _group: http://www.mothur.org/wiki/Group_file .. _parse.list: http://www.mothur.org/wiki/Parse.list v.1.19.0: Updated to mothur 1.33, added count parameter ]]> </help> <expand macro="citations"/> </tool>
