annotate blast_tool.xml @ 4:0145fdbdcf90 draft default tip

Uploaded
author nedias
date Wed, 12 Oct 2016 18:16:53 -0400
parents 14894a8de3a7
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
14894a8de3a7 Uploaded
nedias
parents:
diff changeset
1 <tool id="blast_tool" name="BLAST caller for ORF" version="0.1.0">
14894a8de3a7 Uploaded
nedias
parents:
diff changeset
2 <description>from given fasta polypeptide sequence</description>
14894a8de3a7 Uploaded
nedias
parents:
diff changeset
3 <requirements>
14894a8de3a7 Uploaded
nedias
parents:
diff changeset
4 <requirement type="package" version="1.64">biopython</requirement>
14894a8de3a7 Uploaded
nedias
parents:
diff changeset
5 <requirement type="python-module">Bio</requirement>
14894a8de3a7 Uploaded
nedias
parents:
diff changeset
6 </requirements>
14894a8de3a7 Uploaded
nedias
parents:
diff changeset
7 <stdio>
14894a8de3a7 Uploaded
nedias
parents:
diff changeset
8 <!-- Anything other than zero is an error -->
14894a8de3a7 Uploaded
nedias
parents:
diff changeset
9 <exit_code range="1:" />
14894a8de3a7 Uploaded
nedias
parents:
diff changeset
10 <exit_code range=":-1" />
14894a8de3a7 Uploaded
nedias
parents:
diff changeset
11 </stdio>
14894a8de3a7 Uploaded
nedias
parents:
diff changeset
12 <version_command interpreter="python">blast_entry.py --version</version_command>
14894a8de3a7 Uploaded
nedias
parents:
diff changeset
13 <command interpreter="python">
14894a8de3a7 Uploaded
nedias
parents:
diff changeset
14 blast_entry.py -i "$input_file" -o "$output_xml" -f "$ext" -p "$program" -d "database"
14894a8de3a7 Uploaded
nedias
parents:
diff changeset
15 </command>
14894a8de3a7 Uploaded
nedias
parents:
diff changeset
16 <inputs>
14894a8de3a7 Uploaded
nedias
parents:
diff changeset
17 <param name="input_file" type="data" label="Input File" format="fasta,fastq,sam,bam" help="FASTA, FASTQ, or SFF format." />
14894a8de3a7 Uploaded
nedias
parents:
diff changeset
18 <param name="ext" type="select" value="fasta" label="Input file type">
14894a8de3a7 Uploaded
nedias
parents:
diff changeset
19 <option value="fasta">Fasta</option>
14894a8de3a7 Uploaded
nedias
parents:
diff changeset
20 <option value="fastq">Fastq</option>
14894a8de3a7 Uploaded
nedias
parents:
diff changeset
21 <option value="sam">Sam</option>
14894a8de3a7 Uploaded
nedias
parents:
diff changeset
22 <option value="bam">Bam</option>
14894a8de3a7 Uploaded
nedias
parents:
diff changeset
23 </param>
14894a8de3a7 Uploaded
nedias
parents:
diff changeset
24 <param name="program" type="select" value="blastp" label="BLAST program">
14894a8de3a7 Uploaded
nedias
parents:
diff changeset
25 <option value="blastn">BLASTN</option>
14894a8de3a7 Uploaded
nedias
parents:
diff changeset
26 <option value="blastp">BLASTP</option>
14894a8de3a7 Uploaded
nedias
parents:
diff changeset
27 <option value="blastx">BLASTX</option>
14894a8de3a7 Uploaded
nedias
parents:
diff changeset
28 <option value="tblastn">TBLASTN</option>
14894a8de3a7 Uploaded
nedias
parents:
diff changeset
29 <option value="tblastx">TBLASTX</option>
14894a8de3a7 Uploaded
nedias
parents:
diff changeset
30 </param>
14894a8de3a7 Uploaded
nedias
parents:
diff changeset
31 <param name="database" type="select" value="nr" label="BLAST database">
14894a8de3a7 Uploaded
nedias
parents:
diff changeset
32 <option value="nr">Nucleotide collection</option>
14894a8de3a7 Uploaded
nedias
parents:
diff changeset
33 </param>
14894a8de3a7 Uploaded
nedias
parents:
diff changeset
34 </inputs>
14894a8de3a7 Uploaded
nedias
parents:
diff changeset
35 <outputs>
14894a8de3a7 Uploaded
nedias
parents:
diff changeset
36 <data name="output_xml" format="XML" label="$input_file.name BLAST result">
14894a8de3a7 Uploaded
nedias
parents:
diff changeset
37 </data>
14894a8de3a7 Uploaded
nedias
parents:
diff changeset
38 </outputs>
14894a8de3a7 Uploaded
nedias
parents:
diff changeset
39 </tool>