annotate bin.seqs.xml @ 3:cb91c12c8a34 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit ca8dc573528ab7c5290bc6ca029cb989f4755db6
author iuc
date Fri, 08 Sep 2017 12:47:07 -0400
parents c6461f53ded3
children f5cdc7035fd8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
1 <tool profile="16.07" id="mothur_bin_seqs" name="Bin.seqs" version="@WRAPPER_VERSION@.0">
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
2 <description>Order Sequences by OTU</description>
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
3 <macros>
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
4 <import>macros.xml</import>
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
5 </macros>
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
6 <expand macro="requirements"/>
1
c6461f53ded3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit ea40e3d84e7850eb4226d6c85f709dcad18d4ba9
iuc
parents: 0
diff changeset
7 <expand macro="stdio"/>
0
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
8 <expand macro="version_command"/>
1
c6461f53ded3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit ea40e3d84e7850eb4226d6c85f709dcad18d4ba9
iuc
parents: 0
diff changeset
9 <command><![CDATA[
c6461f53ded3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit ea40e3d84e7850eb4226d6c85f709dcad18d4ba9
iuc
parents: 0
diff changeset
10 @SHELL_OPTIONS@
c6461f53ded3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit ea40e3d84e7850eb4226d6c85f709dcad18d4ba9
iuc
parents: 0
diff changeset
11
0
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
12 ## create symlinks to input datasets
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
13 ln -s "$name" name.dat &&
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
14 ln -s "$group" group.dat &&
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
15 ln -s "$fasta" fasta.dat &&
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
16 ln -s "$otu" otu.dat &&
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
17 ln -s "$count" count.dat &&
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
18
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
19 echo 'bin.seqs(
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
20 #if $name:
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
21 name=name.dat,
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
22 #end if
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
23 #if $group:
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
24 group=group.dat,
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
25 #end if
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
26 #if $label:
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
27 label=${ str($label).replace(",","-") },
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
28 #end if
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
29 #if $count:
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
30 count=count.dat,
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
31 #end if
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
32 fasta=fasta.dat,
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
33 list=otu.dat
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
34 )'
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
35 | sed 's/ //g' ## mothur trips over whitespace
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
36 | mothur
1
c6461f53ded3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit ea40e3d84e7850eb4226d6c85f709dcad18d4ba9
iuc
parents: 0
diff changeset
37 | tee mothur.out.log
0
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
38 ]]></command>
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
39 <inputs>
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
40 <param name="fasta" type="data" format="fasta" label="fasta - Sequences to Bin"/>
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
41 <param name="otu" type="data" format="mothur.list" label="list - OTU List"/>
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
42 <param name="name" type="data" format="mothur.names" optional="true" label="name - Sequences Name reference"/>
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
43 <param name="label" type="select" label="label - OTU Labels" multiple="true">
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
44 <expand macro="labeloptions"/>
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
45 </param>
3
cb91c12c8a34 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit ca8dc573528ab7c5290bc6ca029cb989f4755db6
iuc
parents: 1
diff changeset
46 <param name="group" type="data" format="mothur.groups" optional="true" label="group - Sequences Name reference"/>
0
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
47 <param name="count" type="data" format="mothur.count_table" optional="true" label="count - Represents the number of duplicate sequences for a given representitive sequence"/>
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
48 </inputs>
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
49 <outputs>
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
50 <expand macro="logfile-output"/>
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
51 <collection name="fastafiles" type="list" label="${tool.name} on ${on_string}: fastafiles per label">
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
52 <discover_datasets pattern=".*?\.(?P&lt;designation&gt;.*)\.fasta" format="fasta"/>
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
53 </collection>
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
54 </outputs>
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
55 <tests>
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
56 <test><!-- test with defaults -->
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
57 <param name="otu" value="amazon.an.list"/>
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
58 <param name="fasta" value="amazon.fasta"/>
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
59 <output_collection name="fastafiles" count="36">
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
60 <element name="0.22" md5="8fd8dd141561dc3e574e0c3f356e7e84" ftype="fasta"/>
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
61 </output_collection>
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
62 <expand macro="logfile-test"/>
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
63 </test>
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
64 <test><!-- test with group and name file and label select -->
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
65 <param name="otu" value="amazon.an.list"/>
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
66 <param name="fasta" value="amazon.fasta"/>
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
67 <param name="name" value="amazon.names"/>
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
68 <param name="group" value="amazon.groups" ftype="mothur.groups"/>
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
69 <param name="label" value="0.03,0.05,0.22"/>
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
70 <output_collection name="fastafiles" count="3">
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
71 <element name="0.22" md5="02755d06b535fdcdb5a70b6eb767d1f6" ftype="fasta"/>
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
72 </output_collection>
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
73 <expand macro="logfile-test"/>
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
74 </test>
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
75 </tests>
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
76 <help>
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
77 <![CDATA[
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
78
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
79 @MOTHUR_OVERVIEW@
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
80
1
c6461f53ded3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit ea40e3d84e7850eb4226d6c85f709dcad18d4ba9
iuc
parents: 0
diff changeset
81 **Command Documentation**
0
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
82
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
83 The bin.seqs_ command generates fasta-formatted files where sequences are ordered according to the OTU from the list_file_ that they belong to. Such an output may be helpful for generating primers specific to an OTU or for classification of sequences.
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
84
1
c6461f53ded3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit ea40e3d84e7850eb4226d6c85f709dcad18d4ba9
iuc
parents: 0
diff changeset
85 .. _list_file: https://www.mothur.org/wiki/List_file
c6461f53ded3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit ea40e3d84e7850eb4226d6c85f709dcad18d4ba9
iuc
parents: 0
diff changeset
86 .. _bin.seqs: https://www.mothur.org/wiki/Bin.seqs
0
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
87 ]]>
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
88 </help>
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
89 <expand macro="citations"/>
c9045fb0bf49 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
90 </tool>