Mercurial > repos > iuc > mothur_merge_groups
annotate merge.groups.xml @ 0:4170555c36c1 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
author | iuc |
---|---|
date | Fri, 19 May 2017 05:49:11 -0400 |
parents | |
children | 0efffd5559c6 |
rev | line source |
---|---|
0
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
1 <tool profile="16.07" id="mothur_merge_groups" name="Merge.groups" version="@WRAPPER_VERSION@.0"> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
2 <description>Merge groups in a shared file</description> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
3 <macros> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
4 <import>macros.xml</import> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
5 </macros> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
6 <expand macro="requirements"/> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
7 <expand macro="stdio"/> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
8 <expand macro="version_command"/> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
9 <command><![CDATA[ |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
10 @SHELL_OPTIONS@ |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
11 |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
12 ## create symlinks to input datasets |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
13 ln -s "$otu" otu.dat && |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
14 ln -s "$group" group.dat && |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
15 #if $design.source == "hist": |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
16 ln -s "$design.design_dataset" design_dataset.dat && |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
17 #else: |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
18 ln -s "$generated_design" generated_design.dat && |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
19 #end if |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
20 |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
21 echo 'merge.groups( |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
22 #if $design.source == "hist": |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
23 design=design_dataset.dat |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
24 #else: |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
25 design=generated_design.dat |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
26 #end if |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
27 #if $otu: |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
28 ,shared=otu.dat |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
29 #end if |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
30 #if $group: |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
31 ,group=group.dat |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
32 #end if |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
33 #if $groups: |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
34 ,groups=${ str($groups).replace(",","-") } |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
35 #end if |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
36 #if $label: |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
37 ,label=${ str($label).replace(",","-") } |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
38 #end if |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
39 )' |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
40 | sed 's/ //g' ## mothur trips over whitespace |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
41 | mothur |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
42 | tee mothur.out.log |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
43 ]]></command> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
44 <configfiles> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
45 <configfile name="generated_design"><![CDATA[ |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
46 #if $design.source == 'build': |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
47 #for $grouping in $design.groupings: |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
48 #set grp_str = $grouping.groups.__str__ |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
49 #if grp_str != None and len(grp_str) > 0: |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
50 #for $grp in grp_str.split(','): |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
51 $grp $grouping.name |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
52 #end for |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
53 #end if |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
54 #end for |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
55 #end if |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
56 ]]></configfile> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
57 </configfiles> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
58 <inputs> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
59 <param name="otu" type="data" format="mothur.shared" optional="true" label="shared - OTU Shared Dataset"/> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
60 <param name="label" type="select" label="label - Pick OTU Labels to include" optional="true" multiple="true"> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
61 <expand macro="labeloptions"/> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
62 </param> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
63 <param name="group" type="data" format="mothur.groups" optional="true" label="group - Group Dataset"/> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
64 <param name="groups" type="select" optional="true" label="groups - Pick groups to include" multiple="true"> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
65 <options> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
66 <filter type="data_meta" ref="otu" key="groups"/> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
67 </options> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
68 </param> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
69 <conditional name="design"> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
70 <param name="source" type="select" label="Grouping Design from" help=""> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
71 <option value="hist">Your History</option> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
72 <option value="build">Build a grouping design</option> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
73 </param> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
74 <when value="hist"> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
75 <param name="design_dataset" type="data" format="tabular" label="design - assign groups to new grouping" help="design has 2 columns: group(col 1) and grouping(col 2) (separated by a TAB character)"/> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
76 </when> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
77 <when value="build"> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
78 <repeat name="groupings" title="Grouping"> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
79 <param name="name" type="text" label="Name for a new combined grouping"/> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
80 <param name="groups" type="select" multiple="true" label="Select groups for to include in this grouping"> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
81 <options> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
82 <filter type="data_meta" ref="otu" key="groups"/> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
83 </options> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
84 </param> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
85 </repeat> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
86 </when> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
87 </conditional> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
88 </inputs> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
89 <outputs> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
90 <expand macro="logfile-output"/> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
91 <data name="merged_shared" format="mothur.shared" from_work_dir="otu*.merge.*" label="${tool.name} on ${on_string}: merge.shared"> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
92 <filter>otu</filter> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
93 </data> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
94 <data name="merged_group" format="mothur.groups" from_work_dir="group*.merge.*" label="${tool.name} on ${on_string}: merge.groups"> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
95 <filter>group</filter> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
96 </data> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
97 </outputs> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
98 <tests> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
99 <test><!-- test with shared file --> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
100 <param name="otu" value="amazon.an.shared" ftype="mothur.shared"/> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
101 <param name="source" value="hist"/> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
102 <param name="design_dataset" value="toymothur.design2"/> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
103 <output name="merged_shared" md5="60f9e715c948911a61986bf1d1db7747" ftype="mothur.shared"/> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
104 <expand macro="logfile-test"/> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
105 </test> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
106 <test><!-- test with shared file and label and group select --> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
107 <param name="otu" value="amazon.an.shared" ftype="mothur.shared"/> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
108 <param name="label" value="0.05,0.22,0.38"/> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
109 <param name="groups" value="forest,pasture"/> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
110 <param name="source" value="hist"/> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
111 <param name="design_dataset" value="toymothur.design2"/> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
112 <output name="merged_shared" md5="11818d535bf88938dc063afca3f95b23" ftype="mothur.shared"/> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
113 <expand macro="logfile-test"/> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
114 </test> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
115 <test><!-- test with group file --> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
116 <param name="group" value="amazon.groups" ftype="mothur.groups"/> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
117 <param name="source" value="hist"/> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
118 <param name="design_dataset" value="toymothur.design2"/> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
119 <output name="merged_group" md5="023ebd0668522e9531da5b061e6e9137" ftype="mothur.groups"/> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
120 <expand macro="logfile-test"/> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
121 </test> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
122 <test><!-- test with design creation --> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
123 <param name="otu" value="amazon.an.shared" ftype="mothur.shared"/> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
124 <param name="source" value="build"/> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
125 <repeat name="groupings"> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
126 <param name="name" value="tardis"/> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
127 <param name="groups" value="forest"/> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
128 </repeat> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
129 <repeat name="groupings"> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
130 <param name="name" value="dalek"/> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
131 <param name="groups" value="pasture"/> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
132 </repeat> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
133 <output name="merged_shared" md5="60f9e715c948911a61986bf1d1db7747" ftype="mothur.shared"/> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
134 <expand macro="logfile-test"/> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
135 </test> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
136 </tests> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
137 <help> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
138 <![CDATA[ |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
139 |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
140 @MOTHUR_OVERVIEW@ |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
141 |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
142 **Command Documentation** |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
143 |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
144 The merge.groups_ command reads a shared_ file and a design file and merges the groups in the shared file that are in the same grouping in the design file. |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
145 |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
146 A design file partitions a list of names into groups. It is a tab-delimited file with 2 columns: name and group, e.g. : |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
147 ======= ======= |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
148 duck bird |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
149 cow mammal |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
150 pig mammal |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
151 goose bird |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
152 cobra reptile |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
153 ======= ======= |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
154 |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
155 The Make_Design tool can construct a design file from a Mothur dataset that contains group names. |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
156 |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
157 .. _shared: https://www.mothur.org/wiki/Shared_file |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
158 .. _merge.groups: https://www.mothur.org/wiki/Merge.groups |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
159 ]]> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
160 </help> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
161 <expand macro="citations"/> |
4170555c36c1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff
changeset
|
162 </tool> |