Mercurial > repos > iuc > mothur_count_seqs
diff count.seqs.xml @ 0:be91d6962b0c 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:28:37 -0400 |
| parents | |
| children | cb4e005b8e8d |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/count.seqs.xml Fri Jun 24 16:28:37 2016 -0400 @@ -0,0 +1,92 @@ +<tool profile="16.07" id="mothur_count_seqs" name="Count.seqs" version="@WRAPPER_VERSION@.0"> + <description>(aka make.table) counts the number of sequences represented by the representative</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 "$name" name.dat && + #if $grouping.use == "yes": + ln -s "$grouping.group" grouping.group.dat && + #end if + + echo 'count.seqs( + name=name.dat, + #if $grouping.use == "yes": + group=grouping.group.dat, + #if $grouping.groups: + groups=$grouping.groups, + #end if + #end if + large=$large + )' + | sed 's/ //g' ## mothur trips over whitespace + | mothur + ]]></command> + <inputs> + <param name="name" type="data" format="mothur.names" label="name - Sequences Name reference"/> + <conditional name="grouping"> + <param name="use" type="select" label="Use a Group file to include counts for groups"> + <option value="no" selected="true">no</option> + <option value="yes">yes</option> + </param> + <when value="yes"> + <param name="group" type="data" format="mothur.groups" label="group - Group file for the tree"/> + <param name="groups" type="select" label="groups - Groups to display" multiple="true"> + <help>All groups displayed if none are selected.</help> + <options> + <filter type="data_meta" ref="group" key="groups"/> + </options> + </param> + </when> + <when value="no"/> + </conditional> + <param name="large" type="boolean" checked="false" truevalue="true" falsevalue="false" label="large - Datasets are large and may not fit in RAM"/> + </inputs> + <outputs> + <expand macro="logfile-output"/> + <data name="seq_count" format="mothur.count_table" from_work_dir="name*.count_table" label="${tool.name} on ${on_string}: count_table"/> + </outputs> + <tests> + <test><!-- test default params --> + <param name="name" value="amazon.names"/> + <output name="seq_count" file="amazon.count_table" ftype="mothur.count_table"/> + <expand macro="logfile-test"/> + </test> + <test><!-- test with group file --> + <param name="name" value="amazon.names"/> + <param name="use" value="yes"/> + <param name="group" value="amazon.groups"/> + <output name="seq_count" file="amazon_withgroups.count_table" ftype="mothur.count_table"/> + <expand macro="logfile-test"/> + </test> + <test> <!-- test with group file and subset of groups --> + <param name="name" value="amazon.names"/> + <param name="use" value="yes"/> + <param name="group" value="amazon.groups" ftype="mothur.groups"/> + <param name="groups" value="pasture"/> + <output name="seq_count" file="amazon_withgroups_pasture.count_table" ftype="mothur.count_table"/> + <expand macro="logfile-test"/> + </test> + </tests> + <help> +<![CDATA[ + +@MOTHUR_OVERVIEW@ + +**Command Documenation** + +The count.seqs_ command counts the number of sequences represented by the representative sequence in a name_ file and generates a count_table_. If a group_ file is given, it will also provide the group count breakdown. + +.. _name: http://www.mothur.org/wiki/Name_file +.. _group: http://www.mothur.org/wiki/Group_file +.. _count.seqs: http://www.mothur.org/wiki/Count.seqs +.. _count_table: http://www.mothur.org/wiki/Count_File + +v.1.21.0: Updated to Mothur 1.33 +]]> + </help> + <expand macro="citations"/> +</tool>
