Mercurial > repos > rnateam > bctools
view remove_tail.xml @ 55:4bedd35bcdff draft
Move deps from macros to individual tools
author | rnateam |
---|---|
date | Fri, 12 Feb 2016 08:37:33 -0500 |
parents | 0b9aab6aaebf |
children | b0d5cd8e4c6b |
line wrap: on
line source
<tool id="remove_tail.py" name="Remove 3'-end nts" version="0.1.0"> <description>from FASTQ</description> <xml name="requirements"> <requirements> <requirement type="package" version="1.66">biopython</requirement> </requirements> </xml> <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>