annotate mothur/tools/mothur/remove.otulabels.xml @ 36:040410b8167e default tip

Fixed reference to legacy blast repository in tool_dependencies.xml. Updated README with author information.
author galaxyuser <galaxy_user@agr.g.ca>
date Mon, 10 Nov 2014 15:40:02 -0500
parents 95d75b35e4d2
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
35
95d75b35e4d2 Updated tools to use Mothur 1.33. Added some misc. fixes and updates (blast repository, tool fixes)
certain cat
parents: 27
diff changeset
1 <tool id="mothur_remove_otulabels" name="Remove.otulabels" version="1.27.0">
27
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
2 <description>Removes OTU labels</description>
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
3 <command interpreter="python">
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
4 mothur_wrapper.py
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
5 #import re, os.path
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
6 #set results = ["'^mothur.\S+\.logfile$:'" + $logfile.__str__]
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
7 ## adds .pick before the last extension to the input file
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
8 --cmd='remove.otulabels'
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
9 --outputdir='$logfile.extra_files_path'
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
10 --accnos=$accnos
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
11 #if $constaxonomy_in.__str__ != "None" and len($constaxonomy_in.__str__) > 0:
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
12 --constaxonomy=$constaxonomy_in
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
13 #set results = $results + ["'" + $re.sub(r'(^.*)\.(.*?)',r'\1.pick.\2',$os.path.basename($constaxonomy_in.__str__)) + ":'" + $constaxonomy_out.__str__]
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
14 #end if
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
15 #if $otucorr_in.__str__ != "None" and len($otucorr_in.__str__) > 0:
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
16 --otucorr=$otucorr_in
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
17 #set results = $results + ["'" + $re.sub(r'(^.*)\.(.*?)',r'\1.pick.\2',$os.path.basename($otucorr_in.__str__)) + ":'" + $otucorr_out.__str__]
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
18 #end if
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
19 #if $corraxes_in.__str__ != "None" and len($corraxes_in.__str__) > 0:
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
20 --corraxes=$corraxes_in
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
21 #set results = $results + ["'" + $re.sub(r'(^.*)\.(.*?)',r'\1.pick.\2',$os.path.basename($corraxes_in.__str__)) + ":'" + $corraxes_out.__str__]
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
22 #end if
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
23 --result=#echo ','.join($results)
35
95d75b35e4d2 Updated tools to use Mothur 1.33. Added some misc. fixes and updates (blast repository, tool fixes)
certain cat
parents: 27
diff changeset
24 #if $list.__str__ != "None" and len($list.__str__) > 0:
95d75b35e4d2 Updated tools to use Mothur 1.33. Added some misc. fixes and updates (blast repository, tool fixes)
certain cat
parents: 27
diff changeset
25 --list='$list'
95d75b35e4d2 Updated tools to use Mothur 1.33. Added some misc. fixes and updates (blast repository, tool fixes)
certain cat
parents: 27
diff changeset
26 #end if
95d75b35e4d2 Updated tools to use Mothur 1.33. Added some misc. fixes and updates (blast repository, tool fixes)
certain cat
parents: 27
diff changeset
27 #if $shared.__str__ != "None" and len($shared.__str__) > 0:
95d75b35e4d2 Updated tools to use Mothur 1.33. Added some misc. fixes and updates (blast repository, tool fixes)
certain cat
parents: 27
diff changeset
28 --shared='$shared'
95d75b35e4d2 Updated tools to use Mothur 1.33. Added some misc. fixes and updates (blast repository, tool fixes)
certain cat
parents: 27
diff changeset
29 #end if
27
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
30 </command>
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
31 <inputs>
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
32 <param name="accnos" type="data" format="otulabels" label="accnos - otulabels"/>
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
33 <param name="constaxonomy_in" type="data" format="cons.taxonomy" optional="true" label="constaxonomy - Consensus Taxonomy from classify.otu"/>
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
34 <param name="otucorr_in" type="data" format="otu.corr" optional="true" label="otucorr - OTU correlation from otu.association"/>
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
35 <param name="corraxes_in" type="data" format="axes" optional="true" label="corraxes - axes from corr.axes"/>
35
95d75b35e4d2 Updated tools to use Mothur 1.33. Added some misc. fixes and updates (blast repository, tool fixes)
certain cat
parents: 27
diff changeset
36 <param name="list" type="data" format="list" optional="true" label="list - allows you to input a list parameter to select OTUs from"/>
95d75b35e4d2 Updated tools to use Mothur 1.33. Added some misc. fixes and updates (blast repository, tool fixes)
certain cat
parents: 27
diff changeset
37 <param name="shared" type="data" format="shared" optional="true" label="shared - input a shared file to select OTUs from"/>
27
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
38 </inputs>
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
39 <outputs>
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
40 <data format="html" name="logfile" label="${tool.name} on ${on_string}: logfile" />
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
41 <!-- format should be set to match input -->
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
42 <data format_source="constaxonomy_in" name="constaxonomy_out" label="${tool.name} on ${on_string}: pick.cons.taxonomy">
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
43 <filter>constaxonomy_in != None</filter>
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
44 </data>
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
45 <!-- format should be set to match input -->
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
46 <data format_source="otucorr_in" name="otucorr_out" label="${tool.name} on ${on_string}: pick.otu.corr">
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
47 <filter>otucorr_in != None</filter>
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
48 </data>
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
49 <data format_source="constaxonomy_in" name="constaxonomy_out" label="${tool.name} on ${on_string}: pick.cons.taxonomy">
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
50 <filter>constaxonomy_in != None</filter>
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
51 </data>
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
52 </outputs>
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
53 <requirements>
35
95d75b35e4d2 Updated tools to use Mothur 1.33. Added some misc. fixes and updates (blast repository, tool fixes)
certain cat
parents: 27
diff changeset
54 <requirement type="package" version="1.33">mothur</requirement>
27
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
55 </requirements>
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
56 <tests>
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
57 </tests>
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
58 <help>
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
59 **Mothur Overview**
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
60
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
61 Mothur_, initiated by Dr. Patrick Schloss and his software development team
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
62 in the Department of Microbiology and Immunology at The University of Michigan,
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
63 provides bioinformatics for the microbial ecology community.
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
64
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
65 .. _Mothur: http://www.mothur.org/wiki/Main_Page
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
66
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
67 **Command Documenation**
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
68
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
69 The remove.otulabels_ command removes otu labels from the output from classify.otu_, corr.axes_ and otu.association_. This can be useful especially with subsampled datasets or when groups have been selected.
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
70
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
71 .. _classify.otu: http://www.mothur.org/wiki/Classify.otu
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
72 .. _corr.axes: http://www.mothur.org/wiki/Corr.axes
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
73 .. _otu.association: http://www.mothur.org/wiki/Otu.association
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
74 .. _remove.otulabels: http://www.mothur.org/wiki/Remove.otulabels
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
75
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
76 </help>
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents:
diff changeset
77 </tool>