annotate tandem.xml @ 0:a929e27eb203 draft

Uploaded
author iracooke
date Thu, 21 Jun 2012 22:30:48 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
1 <tool id="proteomics_search_tandem_1" name="X!Tandem MSMS Search" version="1.0.0">
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
2 <requirements><requirement type="package">protk</requirement></requirements>
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
3 <description>Run an X!Tandem Search</description>
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
4
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
5 <command>
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
6 #if $database.source_select=="built_in":
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
7 tandem_search.rb -d $database.dbkey
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
8 #else #tandem_search.rb -d $database.fasta_file
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
9 #end if
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
10
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
11 --var-mods='
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
12 $variable_mods
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
13 #for $custom_variable_mod in $custom_variable_mods:
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
14 ,${custom_variable_mod.custom_mod}
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
15 #end for
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
16 '
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
17
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
18 --fix-mods='
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
19 $fixed_mods
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
20 #for $custom_fix_mod in $custom_fix_mods:
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
21 ,${custom_fix_mod.custom_mod}
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
22 #end for
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
23 '
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
24
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
25 $input_file -o $output -r --enzyme=$enzyme --precursor-ion-tol-units=$precursor_tolu -v $missed_cleavages -f $fragment_ion_tol -p $precursor_ion_tol $allow_multi_isotope_search --keep-params-files
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
26
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
27
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
28
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
29 </command>
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
30
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
31 <inputs>
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
32 <conditional name="database">
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
33 <param name="source_select" type="select" label="Database source">
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
34 <option value="built_in">Built-In</option>
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
35 <option value="input_ref">Your Upload File</option>
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
36 </param>
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
37 <when value="built_in">
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
38 <param name="dbkey" type="select" format="text" >
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
39 <label>Database</label>
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
40 <options from_file="pepxml_databases.loc">
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
41 <column name="name" index="0" />
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
42 <column name="value" index="2" />
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
43 </options>
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
44 </param>
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
45 </when>
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
46 <when value="input_ref">
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
47 <param name="fasta_file" type="data" format="fasta" label="Uploaded FASTA file" />
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
48 </when>
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
49 </conditional>
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
50
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
51 <param name="input_file" type="data" format="mzml" multiple="false" label="MSMS File" help="An mzML file with MS/MS data"/>
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
52
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
53
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
54 <param name="variable_mods" format="text" type="select" multiple="true" label="Variable Modifications" help="Hold the appropriate key while
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
55 clicking to select multiple items">
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
56 <options from_file="tandem_mods.loc">
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
57 <column name="name" index="0" />
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
58 <column name="value" index="2" />
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
59 </options>
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
60 </param>
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
61
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
62 <repeat name="custom_variable_mods" title="Custom Variable Modifications" help="You can specify a modification when present in a motif. For instance, 0.998@N!{P}[ST] is a deamidation modification on N only if it is present in an N[any but P][S or T] motif (N-glycosite).">
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
63 <param name="custom_mod" type="text">
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
64 </param>
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
65 </repeat>
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
66
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
67
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
68 <param name="fixed_mods" format="text" type="select" multiple="true" label="Fixed Modifications" help="Hold the appropriate key while
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
69 clicking to select multiple items">
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
70 <options from_file="tandem_mods.loc">
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
71 <column name="name" index="0" />
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
72 <column name="value" index="2" />
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
73 </options>
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
74 </param>
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
75
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
76 <repeat name="custom_fix_mods" title="Custom Fixed Modifications" help="You can specify a modification when present in a motif. For instance, 0.998@N!{P}[ST] is a deamidation modification on N only if it is present in an N[any but P][S or T] motif (N-glycosite).">
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
77 <param name="custom_mod" type="text">
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
78 </param>
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
79 </repeat>
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
80
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
81
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
82
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
83 <param name="missed_cleavages" type="select" format="text" help="Allow peptides to contain up to this many missed enzyme cleavage sites">
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
84 <label>Missed Cleavages Allowed</label>
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
85 <option value="0">0</option>
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
86 <option value="1">1</option>
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
87 <option value="2">2</option>
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
88 </param>
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
89
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
90 <param name="enzyme" type="select" format="text">
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
91 <label>Enzyme</label>
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
92 <option value="Trypsin">Trypsin</option>
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
93 </param>
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
94
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
95 <param name="fragment_ion_tol" help="Fragment Ion Tolerance in Daltons" type="float" value="0.65" min="0" max="10000" label="Fragment ion tolerance"/>
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
96
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
97 <param name="precursor_ion_tol" help="Precursor Ion Tolerance (Da or ppm)" type="float" value="100" min="0" max="10000" label="Precursor ion tolerance"/>
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
98 <param name="precursor_tolu" type="select" format="text">
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
99 <label>Precursor Ion Tolerance Units</label>
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
100 <option value="ppm">ppm</option>
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
101 <option value="Da">Da</option>
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
102 </param>
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
103
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
104 <param name="allow_multi_isotope_search" type="boolean" label="Allow multi-isotope search" help="This allows peptide candidates in windows around -1 Da and -2 Da from the acquired mass to be considered. Only applicable when the minus/plus window above is set to less than 0.5 Da. Good for accurate-mass instruments for which the reported precursor mass is not corrected to the monoisotopic mass." truevalue="" falsevalue="--strict-monoisotopic-mass"/>
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
105
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
106 </inputs>
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
107
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
108
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
109 <outputs>
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
110 <data format="raw_pepxml" name="output" metadata_source="input_file" label="X!Tandem_vs_${database.dbkey if $database.has_key('dbkey') else $database.fasta_file.display_name}.${input_file.display_name}.${input_file.display_name}.pepXML"/>
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
111 </outputs>
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
112
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
113
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
114 <help>
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
115 Run an X!Tandem Search
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
116 </help>
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
117
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
118 </tool>