view mothur/tools/mothur/shhh.flows.xml @ 35:95d75b35e4d2

Updated tools to use Mothur 1.33. Added some misc. fixes and updates (blast repository, tool fixes)
author certain cat
date Fri, 31 Oct 2014 15:09:32 -0400
parents ec8df51e841a
children
line wrap: on
line source

<tool id="mothur_shhh_flows" name="Shhh.flows" version="1.27.0" force_history_refresh="True">
 <description>Denoise flowgrams (PyroNoise algorithm)</description>
 <command interpreter="python">
  mothur_wrapper.py 
  #import re, os.path
  --cmd='shhh.flows'
  --result='^mothur.\S+\.logfile$:'$logfile,'^\S+\.shhh\.fasta$:'$shhh_fasta,'^\S+\.shhh\.qual$:'$shhh_qual,'^\S+\.shhh\.names$:'$shhh_names,'^\S+\.shhh\.groups$:'$shhh_groups,'^\S+\.shhh\.counts$:'$shhh_counts
  --outputdir='$logfile.extra_files_path'
  --flow=$flow
  --lookup=$prob.lookup
  #if $maxiter.__str__ != '':
   --maxiter=$maxiter 
  #end if
  #if $mindelta.__str__ != '':
   --mindelta=$mindelta 
  #end if
  #if $cutoff.__str__ != '':
   --cutoff=$cutoff 
  #end if
  #if $sigma.__str__ != '':
   --sigma=$sigma 
  #end if
  #if $order.__str__.strip() != '':
   --order=$order 
  #end if
  #if $large.__str__ != '':
   --large=$large 
  #end if
  --processors=8
 </command>
 <inputs>
  <param name="flow" type="data" format="sff.flow" label="flow - flowgram data" 
         help="Use sffinfo to generate flow data from an sff file and usually trimmed by trim.flows"/>
  <conditional name="prob">
   <param name="source" type="select" label="Select Taxonomy from" help="">
    <option value="ref">Cached Reference</option>
    <option value="hist">History</option>
   </param>
   <when value="ref">
    <param name="lookup" type="select" format="tabular" label="lookup - intensity value per homopolymer length"
     help="table of the probability of observing an intensity value for a given homopolymer length">
     <options from_data_table="mothur_lookup">
     </options>
    </param>
   </when>
   <when value="hist">
    <param name="lookup" type="data" format="tabular" label="lookup - intensity value per homopolymer length"
           help="from http://www.mothur.org/wiki/Lookup_files"/>
   </when>
  </conditional>

  <param name="maxiter" type="integer" value="1000" optional="true" label="maxiter - maximum iterations to run (default 1000)" help="if the delta value does not first drop below the mindelta value. ">
      <validator type="in_range" message="Number of differences can't be negative" min="0"/>
  </param>

  <param name="mindelta" type="float" value="" optional="true" label="mindelta - threshold for determining how much change in the flowgram correction is allowed" 
         help="default .000001 (10^-6)">
   <validator type="in_range" message="mindelta between 0. and .1" min="0.0" max="0.1"/>
  </param>

  <param name="cutoff" type="float" value="" optional="true" label="cutoff - seed the expectation-maximizaton step" 
         help="default .01 (usually doesn't need to be changed)">
   <validator type="in_range" message="cutoff between 0. and 1." min="0.0" max="1.0"/>
  </param>

  <param name="sigma" type="float" value="" optional="true" label="sigma - the dispersion of the data in the expectation-maximization step of the algorithm" 
         help="default .06 (usually doesn't need to be changed)">
   <validator type="in_range" message="sigma between 0. and 1." min="0.0" max="1.0"/>
  </param>

  <param name="order" type="text" value="A" label="order - flow order for nucleotides in the sequencer"
         help="default is A, was TACG. Also accepts B or I"/>

  <param name="large" type="integer" value="10000" optional="true" label="large - split your flow file and process the pieces separately (default 10000)" help="">
      <validator type="in_range" message="large value must be positive" min="1"/>
  </param>
 </inputs>
 <outputs>
  <data format="html" name="logfile" label="${tool.name} on ${on_string}: logfile" />
  <data format="fasta" name="shhh_fasta" label="${tool.name} on ${on_string}: shhh.fasta"/>
  <data format="qual454" name="shhh_qual" label="${tool.name} on ${on_string}: shhh.qual"/>
  <data format="names" name="shhh_names" label="${tool.name} on ${on_string}: shhh.names"/>
  <data format="groups" name="shhh_groups" label="${tool.name} on ${on_string}: shhh.groups"/>
  <data format="tabular" name="shhh_counts" label="${tool.name} on ${on_string}: shhh.counts"/>
 </outputs>
 <requirements>
  <requirement type="package" version="1.33">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 shhh.flows_ command is Pat Schloss's translation of Chris Quince's PyroNoise algorithm [1] from C to C++ with the incorporation of mothur's bells and whistles. Based on processing of test datasets provided by Quince, shhh.flows gives the same/similar output to AmpliconNoise. shhh.flows uses a expectation-maximization algorithm to correct flowgrams to identify the idealized form of each flowgram and translate that flowgram to a DNA sequence. Our testing has shown that when Titanium data are trimmed to 450 flows using trim.flows, shhh.flows provides the highest quality data for any other method available. In contrast, when we use the min/max number of flows suggested by Quince of 360/720, the error rate is not that great. This much improved error rate does come at a computational cost. Whereas the features in trim.seqs take on the order of minutes, shhh.flows can take on the order of hours.  You will also need a lookup file that tells shhh.flows the probability of observing an intensity value for a given homopolymer length. You can get mothur-compatible files at: http://www.mothur.org/wiki/Lookup_files 

.. _shhh.flows: http://www.mothur.org/wiki/Shhh.flows


 </help>
</tool>