comparison mothur/README @ 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 a6189f58fedb
comparison
equal deleted inserted replaced
6:ce6e81622c6a 7:7bfe1f843858
1 Provides galaxy tools for the Mothur metagenomics package - http://www.mothur.org/wiki/Main_Page 1 Provides galaxy tools for the Mothur metagenomics package - http://www.mothur.org/wiki/Main_Page
2 2
3 Install mothur v.1.19.0 on your galaxy system so galaxy can execute the mothur command 3 Install mothur v.1.20.0 on your galaxy system so galaxy can execute the mothur command
4 ( This version of wrappers is designed for Mothur version 1.19 - it may work on later versions ) 4 ( This version of wrappers is designed for Mothur version 1.19 - it may work on later versions )
5 http://www.mothur.org/wiki/Download_mothur 5 http://www.mothur.org/wiki/Download_mothur
6 http://www.mothur.org/wiki/Installation 6 http://www.mothur.org/wiki/Installation
7 ( This Galaxy Mothur wrapper will invoke Mothur in command line mode: http://www.mothur.org/wiki/Command_line_mode ) 7 ( This Galaxy Mothur wrapper will invoke Mothur in command line mode: http://www.mothur.org/wiki/Command_line_mode )
8 8
143 <label text="Mothur Sequence Analysis" id="mothur_sequence_analysis"/> 143 <label text="Mothur Sequence Analysis" id="mothur_sequence_analysis"/>
144 <tool file="mothur/sffinfo.xml"/> 144 <tool file="mothur/sffinfo.xml"/>
145 <tool file="mothur/make.fastq.xml"/> 145 <tool file="mothur/make.fastq.xml"/>
146 <tool file="mothur/fastq.info.xml"/> 146 <tool file="mothur/fastq.info.xml"/>
147 <tool file="mothur/summary.seqs.xml"/> 147 <tool file="mothur/summary.seqs.xml"/>
148 <tool file="mothur/count.seqs.xml"/>
148 <tool file="mothur/reverse.seqs.xml"/> 149 <tool file="mothur/reverse.seqs.xml"/>
149 <tool file="mothur/list.seqs.xml"/> 150 <tool file="mothur/list.seqs.xml"/>
150 <tool file="mothur/get.seqs.xml"/> 151 <tool file="mothur/get.seqs.xml"/>
151 <tool file="mothur/remove.seqs.xml"/> 152 <tool file="mothur/remove.seqs.xml"/>
152 <tool file="mothur/trim.seqs.xml"/> 153 <tool file="mothur/trim.seqs.xml"/>
172 <tool file="mothur/chimera.bellerophon.xml"/> 173 <tool file="mothur/chimera.bellerophon.xml"/>
173 <tool file="mothur/chimera.ccode.xml"/> 174 <tool file="mothur/chimera.ccode.xml"/>
174 <tool file="mothur/chimera.check.xml"/> 175 <tool file="mothur/chimera.check.xml"/>
175 <tool file="mothur/chimera.pintail.xml"/> 176 <tool file="mothur/chimera.pintail.xml"/>
176 <tool file="mothur/chimera.slayer.xml"/> 177 <tool file="mothur/chimera.slayer.xml"/>
178 <tool file="mothur/chimera.uchime.xml"/>
177 <label text="Mothur Operational Taxonomy Unit" id="mothur_taxonomy_unit"/> 179 <label text="Mothur Operational Taxonomy Unit" id="mothur_taxonomy_unit"/>
178 <tool file="mothur/pre.cluster.xml"/> 180 <tool file="mothur/pre.cluster.xml"/>
179 <tool file="mothur/cluster.fragments.xml"/> 181 <tool file="mothur/cluster.fragments.xml"/>
180 <tool file="mothur/cluster.xml"/> 182 <tool file="mothur/cluster.xml"/>
181 <tool file="mothur/hcluster.xml"/> 183 <tool file="mothur/hcluster.xml"/>
227 <tool file="mothur/remove.lineage.xml"/> 229 <tool file="mothur/remove.lineage.xml"/>
228 <tool file="mothur/phylotype.xml"/> 230 <tool file="mothur/phylotype.xml"/>
229 <tool file="mothur/phylo.diversity.xml"/> 231 <tool file="mothur/phylo.diversity.xml"/>
230 <tool file="mothur/clearcut.xml"/> 232 <tool file="mothur/clearcut.xml"/>
231 <tool file="mothur/indicator.xml"/> 233 <tool file="mothur/indicator.xml"/>
234 <tool file="mothur/deunique.tree.xml"/>
232 <tool file="mothur/TreeVector.xml"/> 235 <tool file="mothur/TreeVector.xml"/>
233 </section> <!-- metagenomics_mothur --> 236 </section> <!-- metagenomics_mothur -->
234 237
235 238
236 ############ DESIGN NOTES ######################################################################################################### 239 ############ DESIGN NOTES #########################################################################################################
237 Each mothur command has it's own tool_config (.xml) file, but all call the same python wrapper code: mothur_wrapper.py 240 Each mothur command has it's own tool_config (.xml) file, but all call the same python wrapper code: mothur_wrapper.py
238 241
239 * Every mothur tool will call mothur_wrapper.py script with a --cmd= parameter that gives the mothur command name. 242 * Every mothur tool will call mothur_wrapper.py script with a --cmd= parameter that gives the mothur command name.
240 * Many mothur commands require date to be read into memory (using read.dist, read.otu, read.tree) before executed the command,
241 these are accomplished in the tool_config and mothur_wrapper.py with --READ_cmd= and --READ_<option> parameters.
242 * Every tool will produce the logfile of the mothur run as an output. 243 * Every tool will produce the logfile of the mothur run as an output.
243 * When the outputs of a mothur command could be determined in advance, they are included in the --result= parameter to mothur_wrapper.py 244 * When the outputs of a mothur command could be determined in advance, they are included in the --result= parameter to mothur_wrapper.py
244 * When the number of outputs cannot be determined in advance, the name patterns and datatypes of the ouputs 245 * When the number of outputs cannot be determined in advance, the name patterns and datatypes of the ouputs
245 are included in the --new_datasets parameter to mothur_wrapper.py 246 are included in the --new_datasets parameter to mothur_wrapper.py
246 247
262 # specifies files to copy to the new_file_path 263 # specifies files to copy to the new_file_path
263 # The list is separated by commas 264 # The list is separated by commas
264 # Each item conatins: a regex pattern for matching filenames and a galaxy datatype (separated by :) 265 # Each item conatins: a regex pattern for matching filenames and a galaxy datatype (separated by :)
265 # The regex match.groups()[0] is used as the id name of the dataset, and must result in unique name for each output 266 # The regex match.groups()[0] is used as the id name of the dataset, and must result in unique name for each output
266 --new_datasets='^\S+?\.((\S+)\.(unique|[0-9.]*)\.dist)$:lower.dist' 267 --new_datasets='^\S+?\.((\S+)\.(unique|[0-9.]*)\.dist)$:lower.dist'
267 # Many mothur commands first require data to be read into memory using: read.otu, read.dist, or read.tree 268
268 # This prequisite command and its params are prefixed with 'READ_' 269 ##
269 --READ_cmd='read.otu' 270 ## NOTE: The "read" commands were eliminated with Mothur version 1.18
270 --READ_list=/home/galaxy/data/database/files/001/dataset_1557.dat 271 ##
271 --READ_group='/home/galaxy/data/database/files/001/dataset_1545.dat'
272 --READ_label='unique,0.07'
273