view mothur/tools/mothur/phylo.diversity.xml @ 2:e990ac8a0f58

Migrated tool version 1.19.0 from old tool shed archive to new tool shed repository
author jjohnson
date Tue, 07 Jun 2011 17:39:06 -0400
parents fcc0778f6987
children 7bfe1f843858
line wrap: on
line source

<tool id="mothur_phylo_diversity" name="Phylo.diversity" version="1.19.0">
 <description>Alpha Diversity calculates unique branch length</description>
 <command interpreter="python">
  mothur_wrapper.py 
  --cmd='phylo.diversity'
  --result='^mothur.\S+\.logfile$:'$logfile,'^\S+\.phylodiv\.summary$:'$summary_out,'^\S+\.phylodiv$:'$collectors_out,'^\S+\.rarefaction$:'$rarefaction_out
  --outputdir='$logfile.extra_files_path'
  --tree=$tree
  #if $group.__str__ != "None" and len($group.__str__) > 0:
   --group='$group'
  #end if
  #if $groups.__str__ != "None" and len($groups.__str__) > 0:
   --groups='$groups'
  #end if
  #if $name.__str__ != "None" and len($name.__str__) > 0:
   --name='$name'
  #end if
  #if int($iters.__str__) > 0:
   --iters=$iters
  #end if
  #if float($freq.__str__) > 0:
   --freq=$freq
  #end if
  $scale
  $collect
  $rarefy
  #if len($rarefy.__str__) > 0 or len($collect.__str__) > 0:
   $summary
  #end if
  --processors=2
 </command>
 <inputs>
  <!-- list,group  or shared -->
  <param name="tree" type="data" format="tre" label="tree - Phylogenetic Tree"/>
  <param name="group" type="data" format="groups" label="group - Group file for the tree"/>
  <param name="groups" type="select" label="groups - Groups to display" multiple="true">
   <options from_dataset="group">
    <column name="name" index="1"/>
    <column name="value" index="1"/>
    <filter type="unique_value" name="unq_grp" column="1" />
   </options>
  </param>
  <param name="name" type="data" format="names" optional="true" label="name - Sequences Name reference file for the tree"/>
  <param name="iters" type="integer" value="1000" label="iters - Number of iterations to try (default 1000)"/>
  <param name="freq" type="float" value="0.0" label="freq - Reporting frequency" 
         help="if between 0 and 1 the fraction of sequences to sample, if greater than one - report every n iterations"/>

  <param name="scale" type="boolean" truevalue="--scale=true" falsevalue="" checked="false" label="scale - Scale output to the number of sequences sampled" />
  <param name="rarefy" type="boolean" truevalue="--rarefy=true" falsevalue="" checked="false" label="rarefy - Calculate the rarefaction data" />
  <param name="summary" type="boolean" truevalue="" falsevalue="--summary=false" checked="true" label="summary - Generate a summary file" />
  <param name="collect" type="boolean" truevalue="--collect=true" falsevalue="" checked="false" label="collect - Create a collectors curve" />
 </inputs>
 <outputs>
  <data format="html" name="logfile" label="${tool.name} on ${on_string}: logfile" />
  <data format="tabular" name="summary_out" label="${tool.name} on ${on_string}: summary">
   <filter>summary == True</filter>
  </data>
  <data format="tabular" name="rarefaction_out" label="${tool.name} on ${on_string}: rarefaction">
   <filter>rarefy == True</filter>
  </data>
  <data format="tabular" name="collectors_out" label="${tool.name} on ${on_string}: collectors">
   <filter>collect == True</filter>
  </data>
  <!-- random uses input prompts, not sure how to model that
  <data format="tabular" name="random" label="${tool.name} on ${on_string}: random">
  </data>
  -->
 </outputs>
 <requirements>
  <requirement type="binary">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 phylo.diversity_ command calculates alpha diversity as the total of the unique branch length. 

.. _phylo.diversity: http://www.mothur.org/wiki/Phylo.diversity


 </help>
</tool>