Mercurial > repos > jasper > dna_protein_transle
view translate.xml @ 0:a55eb751d2d8 draft
Uploaded
author | jasper |
---|---|
date | Tue, 09 May 2017 13:09:07 -0400 |
parents | |
children |
line wrap: on
line source
<tool id="dna_protein_transle" name="Translate DNA to protein" version="1.0"> <description>Translate nucleic acid to protein </description> <requirements> <requirement type="package" version="1.69">biopython</requirement> <requirement type="python-module">Bio</requirement> </requirements> <command interpreter="python" > translate.py -i $dna -o $output -r $read_frame </command> <inputs> <param name="dna" type="data" format="fasta" label="DNA fasta file" help="DNA fasta file" /> <param name="read_frame" type="select" label="Choose a read frame"> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="-1">-1</option> <option value="-2">-2</option> <option value="-3">-3</option> </param> </inputs> <outputs> <data name="output" type="data" format="fasta"/> </outputs> <tests> <test> <param name="dna" file="demo_nucs.fasta" /> <param name="read_frame" type="select" value="1" /> <output name="output" file="demo_protein.fasta" /> </test> </tests> </tool>