view remove_tail.xml @ 58:bbbae1ee87e0 draft default tip

fix for flexbar with small data issue
author rnateam
date Tue, 16 Feb 2016 10:08:58 -0500
parents b0d5cd8e4c6b
children
line wrap: on
line source

<tool id="remove_tail.py" name="Remove 3'-end nts" version="0.1.0">
  <description>from FASTQ</description>
  <requirements>
      <requirement type="package" version="1.66">biopython</requirement>
  </requirements>
  <macros>
    <import>macros.xml</import>
  </macros>
  <expand macro="stdio" />
  <version_command>python $__tool_directory__/remove_tail.py --version</version_command>
  <command interpreter="python"><![CDATA[remove_tail.py
#if $positional_1 and $positional_1 is not None:
$positional_1
#end if

#if $positional_2 and $positional_2 is not None:
$positional_2
#end if

> $default]]></command>
  <inputs>
    <param area="false" label="Fastq file." name="positional_1" type="data" format="fastq"/>
    <param label="Remove this many nts." name="positional_2" type="integer" value="0"/>
  </inputs>
  <outputs>
    <data format="fastq" hidden="false" name="default"/>
  </outputs>
  <tests>
    <test>
      <param name="positional_1" value="readswithtail.fastq"/>
      <param name="positional_2" value="7"/>
      <output name="default" file="readswithtailremoved.fastq"/>
    </test>
  </tests>
  <help><![CDATA[
Remove a certain number of nucleotides from the 3'-tails of sequences in fastq format.

Author: Daniel Maticzka
Copyright: 2015
License: Apache
Email: maticzkd@informatik.uni-freiburg.de
Status: Testing
]]></help>
  <expand macro="citations" />
</tool>