view mothur/tools/mothur/unifrac.unweighted.xml @ 12:370b3fc4e7d3

Mothur galaxy tool updates for Mothur version 1.21.0, fix help section warnings
author Jim Johnson <jj@umn.edu>
date Tue, 09 Aug 2011 11:39:27 -0500
parents e990ac8a0f58
children 4f797d3eee3a
line wrap: on
line source

<tool id="mothur_unifrac_unweighted" name="unifrac.unweighted" version="1.19.0">
 <description>Describes whether two or more communities have the same structure</description>
 <command interpreter="python">
  mothur_wrapper.py 
  --cmd='unifrac.unweighted'
  --result='^mothur.\S+\.logfile$:'$logfile,'^\S+\.uwsummary$:'$summary,'^\S+\.unweighted\.(column\.|phylip\.)?dist$:'$dist,'^\S+\.unweighted$:'$unweighted
  --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
  $random
  #if $distance.__str__ != "false":
   --distance=$distance
  #end if
  $root
  --processors=2
 </command>
 <inputs>
  <!-- list,group  or shared -->
  <param name="tree" type="data" format="tre" label="tree - Tree"/>
  <param name="group" type="data" format="groups" label="group - Group file for the tree"/>
  <param name="groups" type="select" label="groups - Select groups for pairwise comparisons" multiple="true">
   <help></help>
   <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 - Names file for the tree"/>
  <param name="iters" type="integer" value="1000" label="iters - Number of iterations to try (default 1000)"/>
  <param name="random" type="boolean" truevalue="--random=true" falsevalue="" checked="false" label="random - Compare your trees with randomly generated trees" />
  <param name="distance" type="select" label="distance - Create a distance matrix for your history">
   <option value="false">None</option>
   <option value="lt">Phylip Lower Triangle Matrix</option>
   <option value="square">Phylip Square Matrix</option>
   <option value="column">Pairwise Distance Matrix</option>
  </param>
  <param name="root" type="boolean" truevalue="--root=true" falsevalue="" checked="false" label="root - the entire root in your calculations" />
 </inputs>
 <outputs>
  <data format="html" name="logfile" label="${tool.name} on ${on_string}: logfile" />
  <data format="tabular" name="summary" label="${tool.name} on ${on_string}: summary">
  </data>
  <data format="tabular" name="unweighted" label="${tool.name} on ${on_string}: unweighted">
   <filter>(random == True)</filter>
  </data>
  <data format="lower.dist" name="dist" label="${tool.name} on ${on_string}: dist">
   <filter>distance != 'false'</filter>
   <change_format>
    <when input="distance" value="square" format="square.dist" />
    <when input="distance" value="column" format="pair.dist" />
   </change_format>
  </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 unifrac.unweighted_ command the unweighted UniFrac algorithm. The unifrac.weighted command implements the weighted version of the command. Both of these methods are available through the UniFrac website. The UniFrac methods are generic tests that describes whether two or more communities have the same structure. The significance of the test statistic can only indicate the probability that the communities have the same structure by chance. The value does not indicate a level of similarity.

.. _unifrac.unweighted: http://www.mothur.org/wiki/Unifrac.unweighted


 </help>
</tool>