annotate assign_taxonomy.xml @ 0:e5c3175506b7 default tip

Initial tool configs for qiime, most need work.
author Jim Johnson <jj@umn.edu>
date Sun, 17 Jul 2011 10:30:11 -0500
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
1 <tool id="assign_taxonomy" name="assign_taxonomy" version="1.2.0">
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
2 <description>Assign taxonomy to each sequence</description>
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
3 <requirements>
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
4 <requirement type="binary">assign_taxonomy.py</requirement>
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
5 </requirements>
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
6 <command interpreter="python">
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
7 qiime_wrapper.py
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
8 --galaxy_tmpdir='$__new_file_path__'
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
9 assign_taxonomy.py
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
10 --input_fasta_fp=$input_fasta_fp
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
11 --assignment_method=$assign.assignment_method
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
12 #if $assign.assignment_method = 'rdp'
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
13 #if $assign.reference_seqs_fp != None
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
14 --reference_seqs_fp=$assign.reference_seqs_fp
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
15 #end if
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
16 #if $assign.training_data_properties_fp != None
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
17 --training_data_properties_fp=$assign.training_data_properties_fp
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
18 #end if
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
19 #if $assign.id_to_taxonomy_fp != None
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
20 --id_to_taxonomy_fp=$assign.id_to_taxonomy_fp
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
21 #end if
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
22 --confidence=$confidence
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
23 #elif $assign.assignment_method = 'blast'
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
24 #if $assign.blast_ref.source = 'blast_db'
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
25 --blast_db=$assign.blast_ref.blast_db
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
26 #elif $assign.blast_ref.source = 'reference_seqs'
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
27 --
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
28 #end if
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
29 --e_value=$assign.e_value
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
30 --id_to_taxonomy_fp=$assign.id_to_taxonomy_fp
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
31 #end if
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
32 --output_dir=$__new_file_path__
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
33 </command>
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
34 <inputs>
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
35 <param name="input_fasta_fp" type="data" format="fasta" label="input_fasta_fp"
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
36 help="path to the input fasta file [REQUIRED]"/>
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
37 <conditional name="assign">
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
38 <param name="assignment_method" type="select" label="assignment_method"
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
39 help="Taxon assignment method [default:rdp]">
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
40 <option value="rdp" selected="true">rdp</option>
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
41 <option value="blast">blast</option>
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
42 </param>
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
43 <when value="rdp">
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
44 <param name="confidence" type="float" value="0.8" label="confidence"
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
45 help="Minimum confidence to record an assignment, only used for rdp method [default: 0.8]"/>
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
46 <param name="id_to_taxonomy_fp" type="data" format="rdp.taxonomy" optional="true" label="id_to_taxonomy_fp"
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
47 help="Path to tab-delimited file mapping sequences to assigned taxonomy. Each assigned taxonomy is provided as a semicolon-separated list. For assignment with rdp, each assigned taxonomy must be exactly 6 levels deep. "/>
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
48 <param name="reference_seqs_fp" type="data" format="txt" optional="true" label="reference_seqs_fp"
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
49 help="Reference sequences. For assignment with rdp, they are used as training sequences for the classifier."/>
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
50 <param name="training_data_properties_fp" type="data" format="txt" optional="true" label="training_data_properties_fp"
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
51 help="Path to '.properties' file in pre-compiled training data for the RDP Classifier. This option is overridden by the -t and -r options. [default: ('NO', 'DEFAULT')]"/>
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
52 </when> <!-- rdp -->
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
53 <when value="blast">
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
54 <conditional name="blast_ref">
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
55 <param name="source" type="select" label="blast database source">
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
56 <option value="blast_db">blast database</option>
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
57 <option value="reference_seqs">reference sequence fasta</option>
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
58 </param>
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
59 <when value="blast_db">
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
60 <!-- chnage this to a select with built in blast targets -->
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
61 <param name="blast_db" type="select" label="blast_db - Nucleotide BLAST database">
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
62 <!-- The BLAST loc file has three columns:
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
63 column 0 is an identifier (not used here, see legacy megablast wrapper),
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
64 column 1 is the caption (show this to the user),
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
65 column 2 is the database path (given to BLAST) -->
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
66 <options from_file="blastdb.loc">
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
67 <column name="name" index="1"/>
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
68 <column name="value" index="2"/>
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
69 </options>
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
70 </param>
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
71 </when> <!-- blast_db -->
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
72 <when value="reference_seqs">
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
73 <param name="reference_seqs_fp" type="data" format="txt" label="reference_seqs_fp"
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
74 help="Reference sequences used to generate a blast database. "/>
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
75 </when> <!-- reference_seqs -->
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
76 </conditional> <!-- blast_ref -->
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
77 <param name="e_value" type="float" value="0.001" label="e_value"
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
78 help="Maximum e-value to record an assignment, only used for blast method [default: 0.001]"/>
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
79 <param name="id_to_taxonomy_fp" type="data" format="seq.taxonomy" label="id_to_taxonomy_fp"
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
80 help="Path to tab-delimited file mapping sequences to assigned taxonomy. Each assigned taxonomy is provided as a semicolon-separated list. "/>
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
81 </when> <!-- blast -->
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
82 </conditional> <!-- assign -->
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
83 </inputs>
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
84 <outputs>
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
85 <data format="seq.taxonomy" name="taxonomy_out" label="${tool.name} on ${on_string}: taxonomy"/>
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
86 </outputs>
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
87 <tests>
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
88 </tests>
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
89 <help>
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
90
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
91 </help>
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
92 </tool>
e5c3175506b7 Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
93