10
|
1 <tool id="proteomics_search_msgfplus_1" name="MSGF+ MSMS Search" version="1.0.3">
|
|
2 <description>Run an MSGF+ Search</description>
|
|
3 <requirements>
|
|
4 <requirement type="package" version="1.3">protk</requirement>
|
|
5 <requirement type="package" version="20140210">msgfplus</requirement>
|
|
6 <requirement type="package" version="3_0_4388">proteowizard</requirement>
|
|
7 </requirements>
|
|
8 <command>
|
|
9 msgfplus_search.rb
|
|
10 #if $database.source_select=="built_in":
|
|
11 --galaxy -d $database.dbkey
|
|
12 #else
|
|
13 --galaxy -d $database.fasta_file
|
|
14 #end if
|
|
15
|
|
16 --var-mods='
|
|
17 $variable_mods
|
|
18 #for $custom_variable_mod in $custom_variable_mods:
|
|
19 ,${custom_variable_mod.custom_mod}
|
|
20 #end for
|
|
21 '
|
|
22
|
|
23 --fix-mods='
|
|
24 $fixed_mods
|
|
25 #for $custom_fix_mod in $custom_fix_mods:
|
|
26 ,${custom_fix_mod.custom_mod}
|
|
27 #end for
|
|
28 '
|
|
29
|
|
30 $input_file
|
|
31 -o $output
|
|
32 -r
|
|
33 --enzyme=$enzyme
|
|
34 --precursor-ion-tol-units=$precursor_tolu
|
|
35 -v $missed_cleavages
|
|
36 $cleavage_semi
|
|
37 -p $precursor_ion_tol
|
|
38 --instrument=$instrument
|
|
39 --isotope-error-range=$isotope_error_range
|
|
40 --fragment-method=$fragment_method
|
|
41 --protocol=$protocol
|
|
42 --min-pep-len=$min_pep_len
|
|
43 --max-pep-len=$max_pep_len
|
|
44 --max-pep-charge=$max_pep_charge
|
|
45 --min-pep-charge=$min_pep_charge
|
|
46 --num-reported-matches=$num_reported_matches
|
|
47 --java-mem=$java_mem
|
12
|
48 #if $pepxml_output_use:
|
|
49 --pepxml
|
13
|
50 #end if
|
10
|
51 </command>
|
|
52
|
|
53 <inputs>
|
|
54 <conditional name="database">
|
|
55 <param name="source_select" type="select" label="Database source">
|
|
56 <option value="built_in">Built-In</option>
|
|
57 <option value="input_ref" selected="true">Your Upload File</option>
|
|
58 </param>
|
|
59 <when value="built_in">
|
|
60 <param name="dbkey" type="select" format="text" >
|
|
61 <label>Database</label>
|
|
62 <options from_file="pepxml_databases.loc">
|
|
63 <column name="name" index="0" />
|
|
64 <column name="value" index="2" />
|
|
65 </options>
|
|
66 </param>
|
|
67 </when>
|
|
68 <when value="input_ref">
|
|
69 <param name="fasta_file" type="data" format="fasta" label="Uploaded FASTA file" />
|
|
70 </when>
|
|
71 </conditional>
|
13
|
72 <param name="input_file" type="data" format="mzml,mgf" multiple="false" label="MSMS File" help="An mzML file with MS/MS data"/>
|
10
|
73 <param name="variable_mods" format="text" type="select" multiple="true" label="Variable Modifications" help="Multiple Selection Allowed">
|
|
74 <options from_file="msgfplus_mods.loc">
|
|
75 <column name="name" index="0" />
|
|
76 <column name="value" index="2" />
|
|
77 </options>
|
|
78 </param>
|
|
79 <repeat name="custom_variable_mods" title="Custom Variable Modifications"
|
|
80 help="See https://bix-lab.ucsd.edu/pages/viewpage.action?pageId=13533355 for details on how to create these">
|
|
81 <param name="custom_mod" type="text" />
|
|
82 </repeat>
|
|
83 <param name="fixed_mods" format="text" type="select" multiple="true" label="Fixed Modifications" help="Multiple Selection Allowed">
|
|
84 <options from_file="msgfplus_mods.loc">
|
|
85 <column name="name" index="0" />
|
|
86 <column name="value" index="2" />
|
|
87 </options>
|
|
88 </param>
|
|
89 <repeat name="custom_fix_mods" title="Custom Fixed Modifications" help="See https://bix-lab.ucsd.edu/pages/viewpage.action?pageId=13533355 for details on how to create these">
|
|
90 <param name="custom_mod" type="text">
|
|
91 </param>
|
|
92 </repeat>
|
|
93 <param name="missed_cleavages" type="select" format="text" help="Allow peptides to contain up to this many missed enzyme cleavage sites">
|
|
94 <label>Missed Cleavages Allowed</label>
|
|
95 <option value="0">0</option>
|
|
96 <option value="1">1</option>
|
|
97 <option value="2">2</option>
|
|
98 </param>
|
|
99
|
11
|
100 <param name="cleavage_semi" type="boolean" label="Allow semi-cleaved peptides" help="This can increase search time dramatically" truevalue="--cleavage-semi" falsevalue="" />
|
10
|
101
|
|
102 <param name="enzyme" type="select" format="text">
|
|
103 <label>Enzyme</label>
|
|
104 <option value="0">unspecific cleavage</option>
|
12
|
105 <option value="1" selected="true">Trypsin</option>
|
10
|
106 <option value="2">Chymotrypsin</option>
|
|
107 <option value="3">Lys-C</option>
|
|
108 <option value="4">Lys-N</option>
|
|
109 <option value="5">glutamyl endopeptidase</option>
|
|
110 <option value="6">Arg-C</option>
|
|
111 <option value="7">Asp-N</option>
|
|
112 <option value="8">alphaLP</option>
|
|
113 <option value="9">no cleavage</option>
|
|
114 </param>
|
|
115
|
|
116 <param name="instrument" type="select" format="text">
|
|
117 <label>Instrument Type</label>
|
|
118 <option value="2">TOF</option>
|
|
119 <option value="0">Low-res LCQ/LTQ</option>
|
|
120 <option value="1">High-res LTQ</option>
|
|
121 </param>
|
|
122
|
|
123 <param name="fragment_method" type="select" format="text">
|
|
124 <label>Fragmentation Method</label>
|
|
125 <option value="0">Respect Input File</option>
|
|
126 <option value="1">CID</option>
|
|
127 <option value="2">ETD</option>
|
|
128 <option value="3">HCD</option>
|
|
129 <option value="4">Merge spectra from same precursor</option>
|
|
130 </param>
|
|
131
|
|
132 <param name="protocol" type="select" format="text">
|
|
133 <label>Protocol</label>
|
|
134 <option value="0">NoProtocol</option>
|
|
135 <option value="1">Phosphorylation</option>
|
|
136 <option value="2">iTRAQ</option>
|
|
137 <option value="3">iTRAQPhospho</option>
|
|
138 </param>
|
|
139
|
|
140 <param name="precursor_ion_tol" help="Precursor Ion Tolerance (Da or ppm)" type="float" value="100" min="0" max="10000" label="Precursor ion tolerance"/>
|
|
141 <param name="precursor_tolu" type="select" format="text">
|
|
142 <label>Precursor Ion Tolerance Units</label>
|
|
143 <option value="ppm">ppm</option>
|
|
144 <option value="Da">Da</option>
|
|
145 </param>
|
|
146
|
|
147 <param name="isotope_error_range" help="Takes into account of the error introduced by chooosing a non-monoisotopic peak for fragmentation." type="text" size="80" value="0,1" label="Isotope Error Range"/>
|
|
148 <param name="min_pep_len" help="" type="integer" value="6" label="Minimum Peptide Length"/>
|
|
149 <param name="max_pep_len" help="" type="integer" value="40" label="Maximum Peptide Length"/>
|
|
150 <param name="min_pep_charge" help="" type="integer" value="2" label="Minimum Peptide Charge"/>
|
|
151 <param name="max_pep_charge" help="" type="integer" value="3" label="Maximum Peptide Charge"/>
|
|
152 <param name="num_reported_matches" help="Number of matches per spectrum to be reported" type="integer" value="1" label="Num reported matches"/>
|
|
153 <param name="java_mem" help="Increase this value if you get out of memory errors" type="text" size="80" value="3500M" label="Java Memory Limit"/>
|
|
154 <param name="pepxml_output_use" type="boolean" label="Convert results to pepXML" help="" truevalue="true" falsevalue="false" />
|
|
155 </inputs>
|
|
156 <outputs>
|
|
157 <data format="mzid" name="output" metadata_source="input_file" label="MSGF+_vs_${database.dbkey if $database.has_key('dbkey') else $database.fasta_file.display_name}.${input_file.display_name}.${input_file.display_name}">
|
|
158 <change_format>
|
|
159 <when input="pepxml_output_use" value="true" format="raw_pepxml" metadata_source="input_file"
|
|
160 label="MSGF+_vs_${database.dbkey if $database.has_key('dbkey') else $database.fasta_file.display_name}.${input_file.display_name}.${input_file.display_name}"/>
|
|
161 </change_format>
|
|
162 </data>
|
|
163 </outputs>
|
|
164 <tests>
|
|
165 <test>
|
|
166 <param name="source_select" value="input_ref"/>
|
|
167 <param name="fasta_file" value="bsa.fasta"/>
|
|
168 <param name="input_file" value="bsa.mzML"/>
|
|
169 <output name="output" file="bsa.mzid" compare="sim_size" delta="600" />
|
|
170 </test>
|
|
171 </tests>
|
|
172 <help>
|
|
173
|
|
174 **What it does**
|
|
175
|
|
176 Runs an MS/MS database search using the MSGFPlus search engine. Output is in the form of a pepXML file containing identified peptides along with their raw search scores.
|
|
177
|
|
178 ----
|
|
179
|
|
180 **References**
|
|
181
|
|
182 Please see http://proteomics.ucsd.edu/Software/MSGFPlus.html for details of the MSGFPlus search engine and references describing its algorithm
|
|
183
|
|
184 </help>
|
|
185 </tool>
|