view mothur/tools/mothur/anosim.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_anosim" name="Anosim" version="1.19.0">
 <description>Non-parametric multivariate analysis of changes in community structure</description>
 <command interpreter="python">
  mothur_wrapper.py 
  --cmd='anosim'
  --result='^mothur.\S+\.logfile$:'$logfile,'^\S+\.anosim$:'$anosim
  --outputdir='$logfile.extra_files_path'
  --phylip=$dist
  --design=$design
  #if int($iters.__str__) > 0:
   --iters=$iters
  #end if
  #if float($alpha.__str__) > 0.0:
   --alpha=$alpha
  #end if
 </command>
 <inputs>
  <param name="dist" type="data" format="lower.dist,square.dist" label="phylip - Distance Matrix"/>
  <param name="design" type="data" format="tabular" label="design - assign groups to new grouping"
         help="design has 2 columns: group(col 1) and grouping(col 2) (separated by a TAB character)"/>
  <param name="alpha" type="float" optional="true" value="0.05" label="alpha - acceptable stopping precision (default 0.05)"/>
  <param name="iters" type="integer" value="1000" label="iters - Number of random configuration to try (default 1000)"/>
 </inputs>
 <outputs>
  <data format="html" name="logfile" label="${tool.name} on ${on_string}: logfile" />
  <data format="tabular" name="anosim" label="${tool.name} on ${on_string}: anosim"/>
 </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 anosim_ command uses a phylip_distance_matrix_ and a design file to calculate the non-parametric multivariate analysis of changes in community structure.

A design file partitions a list of names into groups.  It is a tab-delimited file with 2 columns: name and group, e.g. :
        ======= =======
        duck    bird
        cow     mammal
        pig     mammal
        goose   bird
        cobra   reptile
        ======= =======

The Make_Design tool can construct a design file from a Mothur dataset that contains group names.


.. _phylip_distance_matrix: http://www.mothur.org/wiki/Phylip-formatted_distance_matrix
.. _anosim: http://www.mothur.org/wiki/Anosim


 </help>
</tool>