Mercurial > repos > jjohnson > mothur_toolsuite
view mothur/tools/mothur/hcluster.xml @ 4:a9d51d14f9e9 draft
Add tool_dependencies
author | Jim Johnson <jj@umn.edu> |
---|---|
date | Wed, 05 Sep 2012 21:28:43 -0500 |
parents | e076d95dbdb5 |
children | 3cfe41810949 |
line wrap: on
line source
<tool id="mothur_hcluster" name="Hcluster" version="1.19.0"> <description>Assign sequences to OTUs (Operational Taxonomic Unit)</description> <command interpreter="python"> mothur_wrapper.py --cmd='hcluster' --result='^mothur.\S+\.logfile$:'$logfile,'^\S+\.[fna]n\.sabund$:'$sabund,'^\S+\.[fna]n\.rabund$:'$rabund,'^\S+\.[fna]n\.list$:'$otulist --outputdir='$logfile.extra_files_path' #if $matrix.format == "column": --column=$matrix.dist --name=$matrix.name #elif $matrix.format == "phylip": --phylip=$matrix.dist #if $matrix.name.__str__ != "None" and len($matrix.name.__str__) > 0: --name=$matrix.name #end if #end if #if len($method.__str__) > 0: --method=$method #end if #if float($cutoff.__str__) > 0.0: --cutoff=$cutoff #end if #if len($precision.__str__) > 0: --precision=$precision #end if $hard $sorted $showabund </command> <inputs> <conditional name="matrix"> <param name="format" type="select" label="Select a Distance Matrix Format" help=""> <option value="column">Pairwise Column Matrix</option> <option value="phylip">Phylip Distance Matrix</option> </param> <when value="column"> <param name="dist" type="data" format="pair.dist" label="column - Distance Matrix"/> <param name="name" type="data" format="names" label="name - Names"/> </when> <when value="phylip"> <param name="dist" type="data" format="lower.dist,square.dist" label="phylip - Distance Matrix"/> <param name="name" type="data" format="names" optional="true" label="name - Names"/> </when> </conditional> <!-- ? conditional - to hide complexity --> <param name="cutoff" type="float" value="0.0" label="cutoff - Distance Cutoff threshold - ignored if not > 0" help="Ignore pairwise distances larger than this, a common value would be 0.10"/> <param name="hard" type="boolean" checked="false" truevalue="--hard=true" falsevalue="" label="hard - Use hard cutoff instead of rounding" help=""/> <param name="precision" type="select" optional="true" label="precision - Precision for rounding distance values" help="Set higher precision for longer genome scale sequence lengths"> <option value="10">.1</option> <option value="100" selected="true">.01</option> <option value="1000">.001</option> <option value="10000">.0001</option> <option value="100000">.00001</option> <option value="1000000">.000001</option> </param> <param name="method" type="select" label="method - Select a Clustering Method" help=""> <option value="average" selected="true">Average neighbor</option> <option value="nearest">Nearest neighbor</option> <option value="furthest">Furthest neighbor</option> <option value="weighted">Weighted</option> </param> <param name="sorted" type="boolean" checked="false" truevalue="--sorted=true" falsevalue="" label="sorted - The input matrix is already sorted" help=""/> <param name="showabund" type="boolean" checked="true" truevalue="" falsevalue="--showabund=false" label="showabund - Verbose ouput" help=""/> </inputs> <outputs> <data format="html" name="logfile" label="${tool.name} on ${on_string}: logfile" /> <data format="rabund" name="rabund" label="${tool.name} on ${on_string}: rabund (Rank Abundance)"/> <data format="sabund" name="sabund" label="${tool.name} on ${on_string}: sabund (Species Abundance)"/> <data format="list" name="otulist" label="${tool.name} on ${on_string}: list (OTU List)"/> </outputs> <requirements> <requirement type="package" version="1.24.1">mothur</requirement> </requirements> <tests> </tests> <help> **Mothur Overview** Mothur_, initiated by Dr. Patrick Schloss and his software development team in the Department of Microbiology and Immunology at The University of Michigan, provides bioinformatics for the microbial ecology community. .. _Mothur: http://www.mothur.org/wiki/Main_Page **Command Documenation** The hcluster_ command assign sequences to OTUs (Operational Taxonomy Unit). The assignment is based on a phylip-formatted_distance_matrix_ or a column-formatted_distance_matrix_ and name_ file. It generates a list_, a sabund_ (Species Abundance), and a rabund_ (Relative Abundance) file. .. _phylip-formatted_distance_matrix: http://www.mothur.org/wiki/Phylip-formatted_distance_matrix .. _column-formatted_distance_matrix: http://www.mothur.org/wiki/Column-formatted_distance_matrix .. _name: http://www.mothur.org/wiki/Name_file .. _list: http://www.mothur.org/wiki/List_file .. _rabund: http://www.mothur.org/wiki/Rabund_file .. _sabund: http://www.mothur.org/wiki/Sabund_file .. _hcluster: http://www.mothur.org/wiki/Hcluster </help> </tool>