Mercurial > repos > jasper > dna_protein_transle
diff translate.xml @ 0:a55eb751d2d8 draft
Uploaded
author | jasper |
---|---|
date | Tue, 09 May 2017 13:09:07 -0400 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/translate.xml Tue May 09 13:09:07 2017 -0400 @@ -0,0 +1,31 @@ +<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>