Mercurial > repos > iuc > mothur_make_design
annotate make.design.xml @ 3:e98fb3b14c12 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
| author | iuc |
|---|---|
| date | Wed, 14 Feb 2018 10:07:16 -0500 |
| parents | 840ac4688cf5 |
| children | 717ab045706c |
| rev | line source |
|---|---|
|
0
78dcf76823de
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_make_design" name="Make Design" version="@WRAPPER_VERSION@.0"> |
|
78dcf76823de
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
2 <description>Assign groups to Sets</description> |
|
78dcf76823de
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
3 <macros> |
|
78dcf76823de
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> |
|
78dcf76823de
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
5 </macros> |
|
78dcf76823de
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
840ac4688cf5
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
78dcf76823de
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
840ac4688cf5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit ea40e3d84e7850eb4226d6c85f709dcad18d4ba9
iuc
parents:
0
diff
changeset
|
9 <command><![CDATA[ |
|
3
e98fb3b14c12
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
10 @SHELL_OPTIONS@ |
|
1
840ac4688cf5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit ea40e3d84e7850eb4226d6c85f709dcad18d4ba9
iuc
parents:
0
diff
changeset
|
11 |
|
3
e98fb3b14c12
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
12 #for $grouping in $groupings: |
|
e98fb3b14c12
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
13 #set grp_str = $grouping.groups.__str__ |
|
e98fb3b14c12
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
14 #if grp_str: |
|
e98fb3b14c12
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
15 #for $grp in grp_str.split(','): |
|
e98fb3b14c12
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
16 echo -e "$grp\t$grouping.name" >> $design; |
|
0
78dcf76823de
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
17 #end for |
|
3
e98fb3b14c12
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
18 #end if |
|
e98fb3b14c12
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
19 #end for |
|
0
78dcf76823de
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
20 ]]></command> |
|
78dcf76823de
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
21 <inputs> |
|
78dcf76823de
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
22 <param name="source" type="data" format="mothur.shared,mothur.groups" label="Source containing groups"/> |
|
78dcf76823de
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
23 <repeat name="groupings" title="Grouping"> |
|
78dcf76823de
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
24 <param name="name" type="text" label="Name for a new combined grouping"/> |
|
78dcf76823de
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
25 <param name="groups" type="select" multiple="true" label="Select groups for to include in this grouping"> |
|
78dcf76823de
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
26 <options> |
|
78dcf76823de
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
27 <filter type="data_meta" ref="source" key="groups"/> |
|
78dcf76823de
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
28 </options> |
|
78dcf76823de
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
29 </param> |
|
78dcf76823de
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
30 </repeat> |
|
78dcf76823de
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
31 </inputs> |
|
78dcf76823de
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
32 <outputs> |
|
78dcf76823de
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
33 <data name="design" format="mothur.design" label="${tool.name} on ${on_string}: design"/> |
|
78dcf76823de
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
34 </outputs> |
|
78dcf76823de
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
35 <tests> |
|
78dcf76823de
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
36 <test> |
|
78dcf76823de
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
37 <param name="source" value="amazon.mothur.shared" ftype="mothur.shared"/> |
|
78dcf76823de
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
38 <repeat name="groupings"> |
|
78dcf76823de
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
39 <param name="name" value="tardis"/> |
|
78dcf76823de
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
40 <param name="groups" value="forest,pasture"/> |
|
78dcf76823de
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
41 </repeat> |
|
78dcf76823de
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
42 <repeat name="groupings"> |
|
78dcf76823de
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
43 <param name="name" value="dalek"/> |
|
78dcf76823de
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
44 <param name="groups" value="pasture"/> |
|
78dcf76823de
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
45 </repeat> |
|
78dcf76823de
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
46 <output name="design" file="toymothur.design" ftype="mothur.design"/> |
|
78dcf76823de
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
47 </test> |
|
78dcf76823de
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
48 </tests> |
|
3
e98fb3b14c12
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
49 <help><![CDATA[ |
|
0
78dcf76823de
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
50 |
|
78dcf76823de
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
51 @MOTHUR_OVERVIEW@ |
|
78dcf76823de
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
52 |
|
1
840ac4688cf5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit ea40e3d84e7850eb4226d6c85f709dcad18d4ba9
iuc
parents:
0
diff
changeset
|
53 **Command Documentation** |
|
0
78dcf76823de
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
54 |
|
78dcf76823de
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
55 Make Design creates a design file for use in mothur commands: merge.groups_, indicator_, and metastats_. |
|
78dcf76823de
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
56 A design file looks like the group file. It is a 2 column tab delimited file, where the first column is the group name and the second column is the set the group belongs to. |
|
78dcf76823de
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
57 |
|
1
840ac4688cf5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit ea40e3d84e7850eb4226d6c85f709dcad18d4ba9
iuc
parents:
0
diff
changeset
|
58 .. _merge.groups: https://www.mothur.org/wiki/Merge.groups |
|
840ac4688cf5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit ea40e3d84e7850eb4226d6c85f709dcad18d4ba9
iuc
parents:
0
diff
changeset
|
59 .. _indicator: https://www.mothur.org/wiki/Indicator |
|
840ac4688cf5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit ea40e3d84e7850eb4226d6c85f709dcad18d4ba9
iuc
parents:
0
diff
changeset
|
60 .. _metastats: https://www.mothur.org/wiki/Metastats |
|
3
e98fb3b14c12
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
61 |
|
e98fb3b14c12
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
62 ]]></help> |
|
0
78dcf76823de
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
63 <expand macro="citations"/> |
|
78dcf76823de
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
64 </tool> |
