view mothur/tools/mothur/cluster.fragments.xml @ 2:e990ac8a0f58

Migrated tool version 1.19.0 from old tool shed archive to new tool shed repository
author jjohnson
date Tue, 07 Jun 2011 17:39:06 -0400
parents fcc0778f6987
children 5265aa9067e0
line wrap: on
line source

<tool id="mothur_cluster_fragments" name="Cluster.fragments" version="1.19.0">
 <description> Group sequences that are part of a larger sequence</description>
 <command interpreter="python">
  mothur_wrapper.py 
  --cmd='cluster.fragments'
  --result='^mothur.\S+\.logfile$:'$logfile,'^\S+\.fragclust\.\w+$:'$out_fasta,'^\S+\.names$:'$out_names
  --outputdir='$logfile.extra_files_path'
  --fasta=$fasta
  --name=$names
  #if int($diffs.__str__) > 0:
   --diffs=$diffs
  #end if
  #if 100 >= int($percent.__str__) > 0:
   --percent=$percent
  #end if
 </command>
 <inputs>
  <param name="fasta" type="data" format="fasta" label="fasta - Sequences to filter"/>
  <param name="names" type="data" format="names" optional="true" label="name - Sequences Name reference"/>
  <param name="diffs" type="integer" value="0" label="diffs - Number of mismatched bases to allow between sequences in a group (default 0)"/>
  <param name="percent" type="integer" value="0" label="percent - percentage of differences allowed ( between 1 and 100, default 0)" 
    help="The percent parameter allows you to set percentage of differences allowed, default=0. percent=2 means if the number of difference is less than or equal to two percent of the length of the fragment, then cluster. You may use diffs and percent at the same time to say something like: If the number or differences is greater than 1 or more than 2% of the fragment length, don't merge.">
   <validator type="in_range" message="percentage differences allowed  must be between 0 and 100" min="0" max="100"/>
  </param>
 </inputs>
 <outputs>
  <data format="html" name="logfile" label="${tool.name} on ${on_string}: logfile" />
  <data format="fasta" name="out_fasta" label="${tool.name} on ${on_string}: fasta" />
  <data format="names" name="out_names" label="${tool.name} on ${on_string}: names" />
 </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 cluster.fragments_ command groups sequences that are part of a larger sequence.

.. _cluster.fragments: http://www.mothur.org/wiki/Cluster.fragments


 </help>
</tool>