view mothur/tools/mothur/get.otulist.xml @ 32:ec8df51e841a

Fixes courtesy of Peter Briggs: metagenomics.py: - Groups class: Fix for when second column not present - Axes class: make 'sniff' method more sensitive to try and restrict arbitrary tabular data uploads being sniffed as this type mothur_wrapper.py: - update cmd_dict['chimera.perseus'], to use correct inputs - add --beta option (needed for chimera.perseus tool) - add function for converting input floats from scientific notation (e.g. 1e-6, which mothur can't handle) to decimal format (e.g. 0.00001, which it can) chimera.perseus.xml: - add output data item for the "accnos" file (not previous captured in the history) trim.flows.xml: - cosmetic change: base name for additional output data items is now "trim.flows", rather than "logfile" (clarifies history items) shhh.flows.xml: - cosmetic change: update default value specified in help for mindiff to be consistent with that given in the mothur documentation
author Jim Johnson <jj@umn.edu>
date Wed, 04 Sep 2013 10:51:34 -0500
parents 49058b1f8d3f
children 95d75b35e4d2
line wrap: on
line source

<tool id="mothur_get_otulist" name="Get.otulist" force_history_refresh="True" version="1.19.0">
 <description>Get otus for each distance in a otu list</description>
 <command interpreter="python">
  mothur_wrapper.py 
  ## output {group_file_name}.pick.{label}.groups   {list_file_name}.pick.{label}.list 
  #import re, os.path
  --cmd='get.otulist'
  --result='^mothur.\S+\.logfile$:'$logfile
  --outputdir='$logfile.extra_files_path'
  #if $as_datasets.__str__ == "yes":
   --datasetid='$logfile.id' --new_file_path='$__new_file_path__'
   --new_datasets='^\S+?\.((unique|[0-9.]*)\.otu)$:tabular'
  #end if
  --list=$list_in
  #if $label.__str__ != "None" and len($label.__str__) > 0:
   --label=$label
  #end if
  #if $sort.__str__ != "None" and len($sort.__str__) > 0:
   --sort=$sort
  #end if
 </command>
 <inputs>
  <param name="list_in" type="data" format="list" label="list - OTU List"/>
  <param name="label" type="select" multiple="true" label="label - select OTU distance labels" help="By default, uses all if none are selected.">
   <options>
    <filter type="data_meta" ref="list_in" key="labels" />
   </options>
  </param>
  <param name="sort" type="select" label="sort - select the output format">
    <help>If otu is selected the output will be otu number followed by the list of names in that otu. 
          If name is selected the output will be a sequence name followed by its otu number.</help>
    <option value="otu" selected="true">otu</option>
    <option value="name">name</option>
  </param>
  <param name="as_datasets" type="boolean" truevalue="yes" falsevalue="no" checked="true" label="Create a new history dataset for each label list"/>
 </inputs>
 <outputs>
  <data format="html" name="logfile" label="${tool.name} on ${on_string}: logfile" />
 </outputs>
 <requirements>
  <requirement type="package" version="1.27">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 get.otulist_ command parses a list file and creates an .otu file for each distance containing 2 columns. The first column is the OTU number the second column is a list of sequences in that OTU.

.. _get.otulist: http://www.mothur.org/wiki/Get.otulist


 </help>
</tool>