view mothur/tools/mothur/rarefaction.single.xml @ 0:591e72edabed

Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
author jjohnson
date Tue, 07 Jun 2011 16:54:12 -0400
parents
children c7923b34dea4
line wrap: on
line source

<tool id="mothur_rarefaction_single" name="Rarefaction.single" version="1.15.0" force_history_refresh="True">
 <description>Generate intra-sample rarefaction curves for OTUs</description>
 <command interpreter="python">
  mothur_wrapper.py 
  --cmd='rarefaction.single'
  --result='^mothur.\S+\.logfile$:'$logfile
  --outputdir='$logfile.extra_files_path'
  --datasetid='$logfile.id' --new_file_path='$__new_file_path__'
  --new_datasets='^\S+?\.(((\S+)\.)?rarefaction)$:tabular'
  --READ_cmd='read.otu'
  --READ_list=$otu
  #if $otu_group.__str__ != "None" and len($otu_group.__str__) > 0:
   --READ_group='$otu_group'
  #end if
  #if $label.__str__ != "None" and len($label.__str__) > 0:
   --label='$label'
  #end if
  #if $calc.__str__ != "None" and len($calc.__str__) > 0:
    --calc='$calc'
  #end if
  #if int($abund.__str__) > 0:
   --abund=$abund
  #end if
  #if int($iters.__str__) > 0:
   --iters=$iters
  #end if
 </command>
  #if float($freq.__str__) > 0:
   --freq=$freq
  #end if
 <inputs>
  <param name="otu" type="data" format="list,shared" label="read.otu(list=) - OTU List"/>
  <param name="otu_group" type="data" format="groups" optional="true" label="read.otu(lis =) - Group file for the OTU List"/>
  <param name="label" type="select" label="label - OTU Labels" multiple="true">
   <options from_dataset="otu">
    <column name="name" index="0"/>
    <column name="value" index="0"/>
   </options>
  </param>
  <param name="calc" type="select" label="calc - Calculators (Uses defaults if none selected)" multiple="true">
   <options from_file="mothur_calulators.loc">
     <column name="mult2" index="2"/>
     <column name="name" index="0"/>
     <column name="value" index="0"/>
     <filter type="static_value" name="mult2" column="2" value="sing" />
   </options>
  </param>
  <param name="abund" type="integer" value="10" label="abund - ACE Estimator threshold for abundant versus rare OTUs"/>
  <param name="iters" type="integer" value="0" label="iters - Number of randomizations"/>
  <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"/>
 </inputs>
 <outputs>
  <data format="html" name="logfile" label="${tool.name} on ${on_string}: logfile" />
 </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 rarefaction.single_ command generates intra-sample rarefaction curves using a re-sampling without replacement approach. Rarefaction curves provide a way of comparing the richness observed in different samples.

.. _rarefaction.single: http://www.mothur.org/wiki/Rarefaction.single

 </help>
</tool>