Mercurial > repos > jjohnson > mothur_toolsuite
annotate mothur/tools/mothur/merge.groups.xml @ 7:7bfe1f843858
Support Mothur v1.20
trim.seqs - added name parameter and optional trim.names output
phylo.diversity - group optional, put group and groups in conditional - breaks
get.lineage remove.lineage - allow multiple taxons
dist.shared - added processors
consensus.seqs - add cutoff parameter
trim.seqs,phylo.diversity,get.lineage,remove.lineage,dist.shared,consensus.seqs
new tools - chimera.uchime deunique.tree count.seqs
shared/relabund files - Column headings
refactor lib/galaxy/datatypes/metagenomics.py
add filters to label and group selects in tool configs
mothur_wrapper.py updated with new tools params
author | Jim Johnson <jj@umn.edu> |
---|---|
date | Mon, 27 Jun 2011 10:12:25 -0500 |
parents | e990ac8a0f58 |
children | 09740be2bc9c |
rev | line source |
---|---|
7 | 1 <tool id="mothur_merge_groups" name="Merge.groups" version="1.20.0" > |
1
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
2 <description>Merge groups in a shared file</description> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
3 <command interpreter="python"> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
4 mothur_wrapper.py |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
5 --cmd='merge.groups' |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
6 ## 98_sq_phylip_amazon.fn.merge.shared |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
7 --result='^mothur.\S+\.logfile$:'$logfile,'^\S+\.merge\.\S+$:'$shared |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
8 --outputdir='$logfile.extra_files_path' |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
9 --shared=$otu |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
10 #if $design.source == 'hist': |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
11 --design=$design_dataset |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
12 #else: |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
13 --design=$generated_design |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
14 #end if |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
15 #if $groups.__str__ != "None" and len($groups.__str__) > 0: |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
16 --groups=$groups |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
17 #end if |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
18 #if $label.__str__ != "None" and len($label.__str__) > 0: |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
19 --label='$label' |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
20 #end if |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
21 </command> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
22 <inputs> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
23 <param name="otu" type="data" format="shared" label="shared - OTU Shared Dataset"/> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
24 <param name="groups" type="select" optional="true" label="groups - Pick groups to include" multiple="true"> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
25 <options from_dataset="otu"> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
26 <column name="name" index="1"/> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
27 <column name="value" index="1"/> |
7 | 28 <filter type="static_value" name="ignore_header" keep="False" column="1" value = "Group"/> |
1
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
29 <filter type="unique_value" name="unq_grp" column="1" /> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
30 </options> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
31 </param> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
32 <param name="label" type="select" label="label - Pick OTU Labels to include" optional="true" multiple="true"> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
33 <options from_dataset="otu"> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
34 <column name="name" index="0"/> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
35 <column name="value" index="0"/> |
7 | 36 <filter type="static_value" name="ignore_header" keep="False" column="0" value = "label"/> |
1
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
37 <filter type="unique_value" name="unq_lbl" column="0" /> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
38 </options> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
39 </param> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
40 <conditional name="design"> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
41 <param name="source" type="select" label="Grouping Design from" help=""> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
42 <option value="hist">Your History</option> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
43 <option value="build">Build a grouping design</option> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
44 </param> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
45 <when value="hist"> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
46 <param name="design_dataset" type="data" format="tabular" label="design - assign groups to new grouping" |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
47 help="design has 2 columns: group(col 1) and grouping(col 2) (separated by a TAB character)"/> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
48 </when> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
49 <when value="build"> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
50 <repeat name="groupings" title="Grouping"> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
51 <param name="name" type="text" label="Name for a new combined grouping"/> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
52 <param name="groups" type="select" multiple="true" label="Select groups for to include in this grouping"> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
53 <options from_dataset="otu"> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
54 <column name="name" index="1"/> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
55 <column name="value" index="1"/> |
7 | 56 <filter type="static_value" name="ignore_header" keep="False" column="1" value = "Group"/> |
1
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
57 <filter type="unique_value" name="unq_grp" column="1" /> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
58 </options> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
59 </param> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
60 </repeat> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
61 </when> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
62 </conditional> <!-- design --> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
63 </inputs> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
64 <configfiles> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
65 <configfile name="generated_design"> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
66 #if $design.source == 'build': |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
67 #for $grouping in $design.groupings: |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
68 #set grp_str = $grouping.groups.__str__ |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
69 #if grp_str != None and len(grp_str) > 0: |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
70 #for $grp in grp_str.split(','): |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
71 $grp $grouping.name |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
72 #end for |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
73 #end if |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
74 #end for |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
75 #end if |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
76 </configfile> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
77 </configfiles> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
78 <outputs> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
79 <data format="html" name="logfile" label="${tool.name} on ${on_string}: logfile" /> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
80 <data format="shared" name="shared" label="${tool.name} on ${on_string}: merge.shared" /> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
81 </outputs> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
82 <requirements> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
83 <requirement type="binary">mothur</requirement> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
84 </requirements> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
85 <tests> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
86 </tests> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
87 <help> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
88 **Mothur Overview** |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
89 |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
90 Mothur_, initiated by Dr. Patrick Schloss and his software development team |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
91 in the Department of Microbiology and Immunology at The University of Michigan, |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
92 provides bioinformatics for the microbial ecology community. |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
93 |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
94 .. _Mothur: http://www.mothur.org/wiki/Main_Page |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
95 |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
96 **Command Documenation** |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
97 |
2
e990ac8a0f58
Migrated tool version 1.19.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
1
diff
changeset
|
98 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. |
1
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
99 |
2
e990ac8a0f58
Migrated tool version 1.19.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
1
diff
changeset
|
100 A design file partitions a list of names into groups. It is a tab-delimited file with 2 columns: name and group, e.g. : |
e990ac8a0f58
Migrated tool version 1.19.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
1
diff
changeset
|
101 ======= ======= |
e990ac8a0f58
Migrated tool version 1.19.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
1
diff
changeset
|
102 duck bird |
e990ac8a0f58
Migrated tool version 1.19.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
1
diff
changeset
|
103 cow mammal |
e990ac8a0f58
Migrated tool version 1.19.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
1
diff
changeset
|
104 pig mammal |
e990ac8a0f58
Migrated tool version 1.19.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
1
diff
changeset
|
105 goose bird |
e990ac8a0f58
Migrated tool version 1.19.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
1
diff
changeset
|
106 cobra reptile |
e990ac8a0f58
Migrated tool version 1.19.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
1
diff
changeset
|
107 ======= ======= |
e990ac8a0f58
Migrated tool version 1.19.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
1
diff
changeset
|
108 |
e990ac8a0f58
Migrated tool version 1.19.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
1
diff
changeset
|
109 The Make_Design tool can construct a design file from a Mothur dataset that contains group names. |
e990ac8a0f58
Migrated tool version 1.19.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
1
diff
changeset
|
110 |
e990ac8a0f58
Migrated tool version 1.19.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
1
diff
changeset
|
111 .. _shared: http://www.mothur.org/wiki/Shared_file |
1
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
112 .. _merge.groups: http://www.mothur.org/wiki/Merge.groups |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
113 |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
114 </help> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
115 </tool> |