view emboss_splitter.xml @ 12:ace31bbde4c0 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/emboss_5 commit 9d484642914b581ce35f254466b849d3c4c2c06c
author iuc
date Thu, 23 Feb 2017 09:43:32 -0500
parents 0e2484b6829b
children 27c43fb015f0
line wrap: on
line source

<tool id="EMBOSS: splitter92" name="splitter" version="5.0.0.1">
  <description>Split a sequence into (overlapping) smaller sequences</description>
  <macros>
    <import>macros.xml</import>
  </macros>
  <expand macro="requirements" />
  <code file="emboss_format_corrector.py" />
  <command>splitter -sequence '$input1' -outseq '$out_file1' -size $size -overlap $overlap -addoverlap $addoverlap -osformat2 $out_format1 -auto</command>
  <inputs>
    <param name="input1" type="data" format="fasta" label="Sequences" />
    <param name="size" type="integer" value="10000" label="Size to split at" />
    <param name="overlap" type="integer" value="0" label="Overlap between split sequences" />
    <param name="addoverlap" type="select" label="Add overlap to size">
      <option value="no">No</option>
      <option value="yes">Yes</option>
    </param>
    <param name="out_format1" type="select" label="Output sequence file format">
      <option value="fasta">FASTA (m)</option>
      <option value="acedb">ACeDB (m)</option>
      <option value="asn1">ASN.1 (m)</option>
      <option value="clustal">Clustal (m)</option>
      <option value="codata">CODATA (m)</option>
      <option value="embl">EMBL (m)</option>
      <option value="fitch">Fitch (m)</option>
      <option value="gcg">Wisconsin Package GCG 9.x and 10.x (s)</option>
      <option value="genbank">GENBANK (m)</option>
      <option value="gff">GFF (m)</option>
      <option value="hennig86">Hennig86 (m)</option>
      <option value="ig">Intelligenetics (m)</option>
      <option value="jackknifer">Jackknifer (m)</option>
      <option value="jackknifernon">Jackknifernon (m)</option>
      <option value="mega">Mega (m)</option>
      <option value="meganon">Meganon (m)</option>
      <option value="msf">Wisconsin Package GCG's MSF (m)</option>
      <option value="pir">NBRF (PIR) (m)</option>
      <option value="ncbi">NCBI style FASTA (m)</option>
      <option value="nexus">Nexus/PAUP (m)</option>
      <option value="nexusnon">Nexusnon/PAUPnon (m)</option>
      <option value="phylip">PHYLIP interleaved (m)</option>
      <option value="phylipnon">PHYLIP non-interleaved (m)</option>
      <option value="selex">SELEX (m)</option>
      <option value="staden">Staden (s)</option>
      <option value="strider">DNA strider (m)</option>
      <option value="swiss">SwisProt entry (m)</option>
      <option value="text">Plain sequence (s)</option>
      <option value="treecon">Treecon (m)</option>
    </param>
  </inputs>
  <outputs>
    <data name="out_file1" format="fasta" />
  </outputs>
  <tests>
    <test>
      <param name="input1" value="2.fasta"/>
      <param name="size" value="10000"/>
      <param name="overlap" value="0"/>
      <param name="addoverlap" value="no"/>
      <param name="out_format1" value="fasta"/>
      <output name="out_file1" file="emboss_splitter_out.fasta"/>
    </test>
  </tests>
  <help>
.. class:: warningmark

The input dataset needs to be sequences.

-----

    You can view the original documentation here_.

    .. _here: http://galaxy-iuc.github.io/emboss-5.0-docs/splitter.html
  </help>
  <expand macro="citations" />
</tool>