annotate searchgui.xml @ 21:189820586caf draft

Uploaded
author iracooke
date Sun, 14 Dec 2014 22:59:29 -0500
parents
children d426811fce2d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
21
189820586caf Uploaded
iracooke
parents:
diff changeset
1 <tool id="peptide_shaker" name="Peptide Shaker" version="1.23.0">
189820586caf Uploaded
iracooke
parents:
diff changeset
2 <description>
189820586caf Uploaded
iracooke
parents:
diff changeset
3 Perform protein identification using various search engines (using SearchGUI) and combine results with PeptideShaker.
189820586caf Uploaded
iracooke
parents:
diff changeset
4 </description>
189820586caf Uploaded
iracooke
parents:
diff changeset
5 <macros>
189820586caf Uploaded
iracooke
parents:
diff changeset
6 <import>macros.xml</import>
189820586caf Uploaded
iracooke
parents:
diff changeset
7 </macros>
189820586caf Uploaded
iracooke
parents:
diff changeset
8 <expand macro="requirements" />
189820586caf Uploaded
iracooke
parents:
diff changeset
9 <expand macro="stdio" />
189820586caf Uploaded
iracooke
parents:
diff changeset
10 <command>
189820586caf Uploaded
iracooke
parents:
diff changeset
11 <![CDATA[
189820586caf Uploaded
iracooke
parents:
diff changeset
12 #from datetime import datetime
189820586caf Uploaded
iracooke
parents:
diff changeset
13 #set $exp_str = "Galaxy_Experiment_%s" % datetime.now().strftime("%Y%m%d%H%M%s")
189820586caf Uploaded
iracooke
parents:
diff changeset
14 #set $samp_str = "Sample_%s" % datetime.now().strftime("%Y%m%d%H%M%s")
189820586caf Uploaded
iracooke
parents:
diff changeset
15 #set $temp_stderr = 'macs2_stderr'
189820586caf Uploaded
iracooke
parents:
diff changeset
16
189820586caf Uploaded
iracooke
parents:
diff changeset
17 mkdir output;
189820586caf Uploaded
iracooke
parents:
diff changeset
18 mkdir output_reports;
189820586caf Uploaded
iracooke
parents:
diff changeset
19 cwd=`pwd`;
189820586caf Uploaded
iracooke
parents:
diff changeset
20 #for $mgf in $peak_lists:
189820586caf Uploaded
iracooke
parents:
diff changeset
21 #set $input_name = $mgf.display_name.replace(".mgf", "") + ".mgf"
189820586caf Uploaded
iracooke
parents:
diff changeset
22 ln -s '${mgf}' '${input_name}';
189820586caf Uploaded
iracooke
parents:
diff changeset
23 #end for
189820586caf Uploaded
iracooke
parents:
diff changeset
24 ##ln -s "${input_database}" input_database.fasta;
189820586caf Uploaded
iracooke
parents:
diff changeset
25 cp "${input_database}" input_database.fasta;
189820586caf Uploaded
iracooke
parents:
diff changeset
26
189820586caf Uploaded
iracooke
parents:
diff changeset
27 ###########################################
189820586caf Uploaded
iracooke
parents:
diff changeset
28 #### Creating decoy database ####
189820586caf Uploaded
iracooke
parents:
diff changeset
29 ###########################################
189820586caf Uploaded
iracooke
parents:
diff changeset
30 #if $create_decoy:
189820586caf Uploaded
iracooke
parents:
diff changeset
31 echo "Creating decoy database.";
189820586caf Uploaded
iracooke
parents:
diff changeset
32 java -cp \$SEARCHGUI_JAR_PATH eu.isas.searchgui.cmd.FastaCLI -in input_database.fasta -decoy;
189820586caf Uploaded
iracooke
parents:
diff changeset
33 rm input_database.fasta;
189820586caf Uploaded
iracooke
parents:
diff changeset
34 cp input_database_concatenated_target_decoy.fasta input_database.fasta;
189820586caf Uploaded
iracooke
parents:
diff changeset
35 ##ln -sf input_database_concatenated_target_decoy.fasta input_database.fasta;
189820586caf Uploaded
iracooke
parents:
diff changeset
36 #end if
189820586caf Uploaded
iracooke
parents:
diff changeset
37
189820586caf Uploaded
iracooke
parents:
diff changeset
38 #####################################################
189820586caf Uploaded
iracooke
parents:
diff changeset
39 ## generate IdentificationParameters for SearchGUI ##
189820586caf Uploaded
iracooke
parents:
diff changeset
40 #####################################################
189820586caf Uploaded
iracooke
parents:
diff changeset
41
189820586caf Uploaded
iracooke
parents:
diff changeset
42 (java -cp \$SEARCHGUI_JAR_PATH eu.isas.searchgui.cmd.IdentificationParametersCLI
189820586caf Uploaded
iracooke
parents:
diff changeset
43 -out SEARCHGUI_IdentificationParameters.parameters
189820586caf Uploaded
iracooke
parents:
diff changeset
44
189820586caf Uploaded
iracooke
parents:
diff changeset
45 @GENERAL_PARAMETERS@
189820586caf Uploaded
iracooke
parents:
diff changeset
46
189820586caf Uploaded
iracooke
parents:
diff changeset
47 -db input_database.fasta
189820586caf Uploaded
iracooke
parents:
diff changeset
48
189820586caf Uploaded
iracooke
parents:
diff changeset
49 #if $advanced.advanced_type_selector == "advanced":
189820586caf Uploaded
iracooke
parents:
diff changeset
50
189820586caf Uploaded
iracooke
parents:
diff changeset
51 #if $advanced.xtandem.xtandem_selector == "yes"
189820586caf Uploaded
iracooke
parents:
diff changeset
52
189820586caf Uploaded
iracooke
parents:
diff changeset
53 -xtandem_npeaks ${advanced.xtandem.xtandem_npeaks}
189820586caf Uploaded
iracooke
parents:
diff changeset
54 -xtandem_min_peaks ${advanced.xtandem.xtandem_min_peaks}
189820586caf Uploaded
iracooke
parents:
diff changeset
55 -xtandem_min_frag_mz ${advanced.xtandem.xtandem_min_frag_mz}
189820586caf Uploaded
iracooke
parents:
diff changeset
56 -xtandem_min_prec_mass ${advanced.xtandem.xtandem_min_prec_mass}
189820586caf Uploaded
iracooke
parents:
diff changeset
57 -xtandem_noise_suppr ${advanced.xtandem.xtandem_noise_suppr}
189820586caf Uploaded
iracooke
parents:
diff changeset
58
189820586caf Uploaded
iracooke
parents:
diff changeset
59 #if $advanced.xtandem.xtandem_refine.xtandem_refine_selector == "yes"
189820586caf Uploaded
iracooke
parents:
diff changeset
60 -xtandem_refine 1
189820586caf Uploaded
iracooke
parents:
diff changeset
61 -xtandem_refine_unc ${advanced.xtandem.xtandem_refine.xtandem_refine_unc}
189820586caf Uploaded
iracooke
parents:
diff changeset
62 -xtandem_refine_semi ${advanced.xtandem.xtandem_refine.xtandem_refine_semi}
189820586caf Uploaded
iracooke
parents:
diff changeset
63 -xtandem_refine_p_mut ${advanced.xtandem.xtandem_refine.xtandem_refine_p_mut}
189820586caf Uploaded
iracooke
parents:
diff changeset
64 -xtandem_refine_snaps ${advanced.xtandem.xtandem_refine.xtandem_refine_snaps}
189820586caf Uploaded
iracooke
parents:
diff changeset
65 -xtandem_refine_spec_synt ${advanced.xtandem.xtandem_refine.xtandem_refine_spec_synt}
189820586caf Uploaded
iracooke
parents:
diff changeset
66 #end if
189820586caf Uploaded
iracooke
parents:
diff changeset
67 #end if
189820586caf Uploaded
iracooke
parents:
diff changeset
68
189820586caf Uploaded
iracooke
parents:
diff changeset
69 #if $advanced.omssa.omssa_selector == "yes"
189820586caf Uploaded
iracooke
parents:
diff changeset
70 -omssa_hitlist_length ${advanced.omssa.hitlist_length}
189820586caf Uploaded
iracooke
parents:
diff changeset
71 -omssa_remove_prec ${advanced.omssa.remove_precursor}
189820586caf Uploaded
iracooke
parents:
diff changeset
72 -omssa_scale_prec ${advanced.omssa.scale_precursor}
189820586caf Uploaded
iracooke
parents:
diff changeset
73 -omssa_estimate_charge ${advanced.omssa.estimate_charge}
189820586caf Uploaded
iracooke
parents:
diff changeset
74 #end if
189820586caf Uploaded
iracooke
parents:
diff changeset
75
189820586caf Uploaded
iracooke
parents:
diff changeset
76 #if $advanced.msgf.msgf_selector == "yes"
189820586caf Uploaded
iracooke
parents:
diff changeset
77 -msgf_decoy ${advanced.msgf.msgf_decoy}
189820586caf Uploaded
iracooke
parents:
diff changeset
78 -msgf_min_pep_length ${advanced.msgf.msgf_min_pep_length}
189820586caf Uploaded
iracooke
parents:
diff changeset
79 -msgf_max_pep_length ${advanced.msgf.msgf_max_pep_length}
189820586caf Uploaded
iracooke
parents:
diff changeset
80 -msgf_termini ${advanced.msgf.msgf_termini}
189820586caf Uploaded
iracooke
parents:
diff changeset
81 -msgf_num_ptms ${advanced.msgf.msgf_num_ptms}
189820586caf Uploaded
iracooke
parents:
diff changeset
82 #end if
189820586caf Uploaded
iracooke
parents:
diff changeset
83
189820586caf Uploaded
iracooke
parents:
diff changeset
84 ##if $advanced.ms_amanda.ms_amanda_selector == "yes"
189820586caf Uploaded
iracooke
parents:
diff changeset
85 ##end if
189820586caf Uploaded
iracooke
parents:
diff changeset
86
189820586caf Uploaded
iracooke
parents:
diff changeset
87 #end if
189820586caf Uploaded
iracooke
parents:
diff changeset
88
189820586caf Uploaded
iracooke
parents:
diff changeset
89 2> $temp_stderr)
189820586caf Uploaded
iracooke
parents:
diff changeset
90 &&
189820586caf Uploaded
iracooke
parents:
diff changeset
91
189820586caf Uploaded
iracooke
parents:
diff changeset
92 ################
189820586caf Uploaded
iracooke
parents:
diff changeset
93 ## Search CLI ##
189820586caf Uploaded
iracooke
parents:
diff changeset
94 ################
189820586caf Uploaded
iracooke
parents:
diff changeset
95 (java -Djava.awt.headless=true -cp \$SEARCHGUI_JAR_PATH eu.isas.searchgui.cmd.SearchCLI
189820586caf Uploaded
iracooke
parents:
diff changeset
96 -temp_folder `pwd`
189820586caf Uploaded
iracooke
parents:
diff changeset
97 -spectrum_files \$cwd
189820586caf Uploaded
iracooke
parents:
diff changeset
98 -output_folder \$cwd/output
189820586caf Uploaded
iracooke
parents:
diff changeset
99 -id_params SEARCHGUI_IdentificationParameters.parameters
189820586caf Uploaded
iracooke
parents:
diff changeset
100
189820586caf Uploaded
iracooke
parents:
diff changeset
101 -threads "\${GALAXY_SLOTS:-12}"
189820586caf Uploaded
iracooke
parents:
diff changeset
102 -correct_titles "${correct_titles}"
189820586caf Uploaded
iracooke
parents:
diff changeset
103 $missing_titles
189820586caf Uploaded
iracooke
parents:
diff changeset
104 -mgf_splitting "${mgf_splitting}"
189820586caf Uploaded
iracooke
parents:
diff changeset
105 -mgf_spectrum_count "${mgf_spectrum_count}"
189820586caf Uploaded
iracooke
parents:
diff changeset
106
189820586caf Uploaded
iracooke
parents:
diff changeset
107 ## Turn of the protein tree generation as it can produce errors if the search is finished before the tree is created
189820586caf Uploaded
iracooke
parents:
diff changeset
108 ## the tree is generated afterwards in PeptideShaker
189820586caf Uploaded
iracooke
parents:
diff changeset
109 -protein_index 0
189820586caf Uploaded
iracooke
parents:
diff changeset
110
189820586caf Uploaded
iracooke
parents:
diff changeset
111 ##-makeblastdb_folder \$BLAST_ROOT_DIR
189820586caf Uploaded
iracooke
parents:
diff changeset
112
189820586caf Uploaded
iracooke
parents:
diff changeset
113 #if $advanced.advanced_type_selector == "advanced":
189820586caf Uploaded
iracooke
parents:
diff changeset
114
189820586caf Uploaded
iracooke
parents:
diff changeset
115 #if $advanced.xtandem.xtandem_selector == "yes"
189820586caf Uploaded
iracooke
parents:
diff changeset
116 -xtandem 1
189820586caf Uploaded
iracooke
parents:
diff changeset
117 #else
189820586caf Uploaded
iracooke
parents:
diff changeset
118 -xtandem 0
189820586caf Uploaded
iracooke
parents:
diff changeset
119 #end if
189820586caf Uploaded
iracooke
parents:
diff changeset
120
189820586caf Uploaded
iracooke
parents:
diff changeset
121 #if $advanced.omssa.omssa_selector == "yes"
189820586caf Uploaded
iracooke
parents:
diff changeset
122 -omssa 1
189820586caf Uploaded
iracooke
parents:
diff changeset
123 #else
189820586caf Uploaded
iracooke
parents:
diff changeset
124 -omssa 0
189820586caf Uploaded
iracooke
parents:
diff changeset
125 #end if
189820586caf Uploaded
iracooke
parents:
diff changeset
126
189820586caf Uploaded
iracooke
parents:
diff changeset
127 #if $advanced.msgf.msgf_selector == "yes"
189820586caf Uploaded
iracooke
parents:
diff changeset
128 -msgf 1
189820586caf Uploaded
iracooke
parents:
diff changeset
129 #else
189820586caf Uploaded
iracooke
parents:
diff changeset
130 -msgf 0
189820586caf Uploaded
iracooke
parents:
diff changeset
131 #end if
189820586caf Uploaded
iracooke
parents:
diff changeset
132
189820586caf Uploaded
iracooke
parents:
diff changeset
133 #if $advanced.ms_amanda.ms_amanda_selector == "yes"
189820586caf Uploaded
iracooke
parents:
diff changeset
134 -ms_amanda 1
189820586caf Uploaded
iracooke
parents:
diff changeset
135 #else
189820586caf Uploaded
iracooke
parents:
diff changeset
136 -ms_amanda 0
189820586caf Uploaded
iracooke
parents:
diff changeset
137 #end if
189820586caf Uploaded
iracooke
parents:
diff changeset
138
189820586caf Uploaded
iracooke
parents:
diff changeset
139 #if $advanced.myrimatch.myrimatch_selector == "yes"
189820586caf Uploaded
iracooke
parents:
diff changeset
140 -myrimatch 1
189820586caf Uploaded
iracooke
parents:
diff changeset
141 #else
189820586caf Uploaded
iracooke
parents:
diff changeset
142 -myrimatch 0
189820586caf Uploaded
iracooke
parents:
diff changeset
143 #end if
189820586caf Uploaded
iracooke
parents:
diff changeset
144
189820586caf Uploaded
iracooke
parents:
diff changeset
145 #if $advanced.comet.comet_selector == "yes"
189820586caf Uploaded
iracooke
parents:
diff changeset
146 -comet 1
189820586caf Uploaded
iracooke
parents:
diff changeset
147 #else
189820586caf Uploaded
iracooke
parents:
diff changeset
148 -comet 0
189820586caf Uploaded
iracooke
parents:
diff changeset
149 #end if
189820586caf Uploaded
iracooke
parents:
diff changeset
150
189820586caf Uploaded
iracooke
parents:
diff changeset
151 #else
189820586caf Uploaded
iracooke
parents:
diff changeset
152 -ms_amanda 0
189820586caf Uploaded
iracooke
parents:
diff changeset
153 #end if
189820586caf Uploaded
iracooke
parents:
diff changeset
154
189820586caf Uploaded
iracooke
parents:
diff changeset
155 ## single zip file
189820586caf Uploaded
iracooke
parents:
diff changeset
156 -output_option 0
189820586caf Uploaded
iracooke
parents:
diff changeset
157
189820586caf Uploaded
iracooke
parents:
diff changeset
158 2>> $temp_stderr)
189820586caf Uploaded
iracooke
parents:
diff changeset
159
189820586caf Uploaded
iracooke
parents:
diff changeset
160 &&
189820586caf Uploaded
iracooke
parents:
diff changeset
161
189820586caf Uploaded
iracooke
parents:
diff changeset
162 exit_code_for_galaxy=\$?;
189820586caf Uploaded
iracooke
parents:
diff changeset
163 cat $temp_stderr 2&gt;&amp;1;
189820586caf Uploaded
iracooke
parents:
diff changeset
164 (exit \$exit_code_for_galaxy)
189820586caf Uploaded
iracooke
parents:
diff changeset
165 ]]>
189820586caf Uploaded
iracooke
parents:
diff changeset
166 </command>
189820586caf Uploaded
iracooke
parents:
diff changeset
167 <inputs>
189820586caf Uploaded
iracooke
parents:
diff changeset
168 <param format="fasta" name="input_database" type="data" label="Protein Database"
189820586caf Uploaded
iracooke
parents:
diff changeset
169 help="Select FASTA database from history"/>
189820586caf Uploaded
iracooke
parents:
diff changeset
170
189820586caf Uploaded
iracooke
parents:
diff changeset
171 <param name="create_decoy" type="boolean" truevalue="True" falsevalue="False" checked="true"
189820586caf Uploaded
iracooke
parents:
diff changeset
172 label="Create a concatenated target/decoy database before running PeptideShaker"
189820586caf Uploaded
iracooke
parents:
diff changeset
173 help="Selecting this option will help PeptideShaker calculate FDR values" />
189820586caf Uploaded
iracooke
parents:
diff changeset
174
189820586caf Uploaded
iracooke
parents:
diff changeset
175 <param format="mgf" name="peak_lists" type="data" multiple="true" label="Input Peak Lists (mgf)"
189820586caf Uploaded
iracooke
parents:
diff changeset
176 help="Select appropriate MGF dataset(s) from history" />
189820586caf Uploaded
iracooke
parents:
diff changeset
177
189820586caf Uploaded
iracooke
parents:
diff changeset
178 <expand macro="general_options"/>
189820586caf Uploaded
iracooke
parents:
diff changeset
179
189820586caf Uploaded
iracooke
parents:
diff changeset
180 <param name="correct_titles" type="select" label="How should PeptideShaker deal with duplicate spectra?"
189820586caf Uploaded
iracooke
parents:
diff changeset
181 help="Unless you suspect some input files to be genuine duplicates then rename spectra is the safest option">
189820586caf Uploaded
iracooke
parents:
diff changeset
182 <option value="0">no correction</option>
189820586caf Uploaded
iracooke
parents:
diff changeset
183 <option value="1" selected="True">rename spectra</option>
189820586caf Uploaded
iracooke
parents:
diff changeset
184 <option value="2">delete spectra</option>
189820586caf Uploaded
iracooke
parents:
diff changeset
185 </param>
189820586caf Uploaded
iracooke
parents:
diff changeset
186
189820586caf Uploaded
iracooke
parents:
diff changeset
187 <param name="missing_titles" type="boolean" checked="false" truevalue="-missing_titles 1" falsevalue="-missing_titles 0"
189820586caf Uploaded
iracooke
parents:
diff changeset
188 label="Add missing spectrum titles" help="(-missing_titles)"/>
189820586caf Uploaded
iracooke
parents:
diff changeset
189
189820586caf Uploaded
iracooke
parents:
diff changeset
190 <param name="mgf_splitting" type="integer" value="1000" label="The maximum mgf file size in MB before splitting the mgf"
189820586caf Uploaded
iracooke
parents:
diff changeset
191 help="Choose a smaller value if you are running on a machine with limited memory"/>
189820586caf Uploaded
iracooke
parents:
diff changeset
192
189820586caf Uploaded
iracooke
parents:
diff changeset
193 <param name="mgf_spectrum_count" type="integer" value="25000" label="The maximum number of spectra per mgf file when splitting"
189820586caf Uploaded
iracooke
parents:
diff changeset
194 help="Choose a smaller value if you are running on a machine with limited memory"/>
189820586caf Uploaded
iracooke
parents:
diff changeset
195
189820586caf Uploaded
iracooke
parents:
diff changeset
196 <conditional name="advanced">
189820586caf Uploaded
iracooke
parents:
diff changeset
197 <param name="advanced_type_selector" type="select" label="Basic or Advanced Search options">
189820586caf Uploaded
iracooke
parents:
diff changeset
198 <option value="basic" selected="True">Basic</option>
189820586caf Uploaded
iracooke
parents:
diff changeset
199 <option value="advanced">Advanced</option>
189820586caf Uploaded
iracooke
parents:
diff changeset
200 </param>
189820586caf Uploaded
iracooke
parents:
diff changeset
201 <when value="basic" />
189820586caf Uploaded
iracooke
parents:
diff changeset
202 <when value="advanced">
189820586caf Uploaded
iracooke
parents:
diff changeset
203 <conditional name="xtandem">
189820586caf Uploaded
iracooke
parents:
diff changeset
204 <param name="xtandem_selector" type="select" label="Run X!Tandem search">
189820586caf Uploaded
iracooke
parents:
diff changeset
205 <option value="yes" selected="True">Search with X!Tandem</option>
189820586caf Uploaded
iracooke
parents:
diff changeset
206 <option value="no">No X!Tandem search</option>
189820586caf Uploaded
iracooke
parents:
diff changeset
207 </param>
189820586caf Uploaded
iracooke
parents:
diff changeset
208 <when value="no" />
189820586caf Uploaded
iracooke
parents:
diff changeset
209 <when value="yes">
189820586caf Uploaded
iracooke
parents:
diff changeset
210 <param name="xtandem_npeaks" label="X!Tandem: Total Peaks" type="integer" value="50" help="Maximum number of peaks to be used from a spectrum"/>
189820586caf Uploaded
iracooke
parents:
diff changeset
211 <param name="xtandem_min_peaks" type="integer" value="15"
189820586caf Uploaded
iracooke
parents:
diff changeset
212 label="X!Tandem: Min Peaks" help="Minimum number of peaks required for a spectrum to be considered"/>
189820586caf Uploaded
iracooke
parents:
diff changeset
213 <param name="xtandem_min_frag_mz" type="integer" value="200"
189820586caf Uploaded
iracooke
parents:
diff changeset
214 label="X!Tandem: Min Frag m/z" help="Fragment mass peaks with m/z less than this value will be discarded"/>
189820586caf Uploaded
iracooke
parents:
diff changeset
215 <param name="xtandem_min_prec_mass" label="X!Tandem: Min Precursor Mass" type="integer" value="200" help="Minimum mass of 1+ mass of parent ion to be considered"/>
189820586caf Uploaded
iracooke
parents:
diff changeset
216 <param name="xtandem_noise_suppr" label="X!Tandem: Noise Suppression" type="boolean" checked="true" truevalue="1" falsevalue="0" help="Use noise suppression"/>
189820586caf Uploaded
iracooke
parents:
diff changeset
217
189820586caf Uploaded
iracooke
parents:
diff changeset
218 <conditional name="xtandem_refine"><!-- -xtandem_refine -->
189820586caf Uploaded
iracooke
parents:
diff changeset
219 <param name="xtandem_refine_selector" type="select" label="X!Tandem peptide model refinement">
189820586caf Uploaded
iracooke
parents:
diff changeset
220 <option value="no" selected="True">Don't refine</option>
189820586caf Uploaded
iracooke
parents:
diff changeset
221 <option value="yes" >Use refinement</option>
189820586caf Uploaded
iracooke
parents:
diff changeset
222 </param>
189820586caf Uploaded
iracooke
parents:
diff changeset
223 <when value="no"/>
189820586caf Uploaded
iracooke
parents:
diff changeset
224 <when value="yes">
189820586caf Uploaded
iracooke
parents:
diff changeset
225 <param name="xtandem_refine_unc" type="boolean" truevalue="1" falsevalue="0"
189820586caf Uploaded
iracooke
parents:
diff changeset
226 label="X!Tandem: Unanticipated cleavage, refinement" help="Allow for unanticipated cleavage during refinement"/>
189820586caf Uploaded
iracooke
parents:
diff changeset
227 <param name="xtandem_refine_semi" type="boolean" truevalue="1" falsevalue="0"
189820586caf Uploaded
iracooke
parents:
diff changeset
228 label="X!Tandem: Cleavage semi, refinement" help="Search for semi-tryptic peptides during refinement"/>
189820586caf Uploaded
iracooke
parents:
diff changeset
229 <param name="xtandem_refine_p_mut" type="boolean" truevalue="1" falsevalue="0"
189820586caf Uploaded
iracooke
parents:
diff changeset
230 label="X!Tandem: Point mutations, refinement" help="Allow for point mutations during refinement"/>
189820586caf Uploaded
iracooke
parents:
diff changeset
231 <param name="xtandem_refine_snaps" type="boolean" truevalue="1" falsevalue="0"
189820586caf Uploaded
iracooke
parents:
diff changeset
232 label="X!Tandem: snAPs, refinement" help="Search for known single amino acid polymorphisms during refinement"/>
189820586caf Uploaded
iracooke
parents:
diff changeset
233 <param name="xtandem_refine_spec_synt" type="boolean" truevalue="1" falsevalue="0"
189820586caf Uploaded
iracooke
parents:
diff changeset
234 label="X!Tandem: Spectrum synthesis, refinement" help="Use spectrum synthesis scoring"/>
189820586caf Uploaded
iracooke
parents:
diff changeset
235 </when>
189820586caf Uploaded
iracooke
parents:
diff changeset
236 </conditional>
189820586caf Uploaded
iracooke
parents:
diff changeset
237 </when>
189820586caf Uploaded
iracooke
parents:
diff changeset
238 </conditional>
189820586caf Uploaded
iracooke
parents:
diff changeset
239
189820586caf Uploaded
iracooke
parents:
diff changeset
240 <conditional name="omssa">
189820586caf Uploaded
iracooke
parents:
diff changeset
241 <param name="omssa_selector" type="select" label="Run OMSSA search">
189820586caf Uploaded
iracooke
parents:
diff changeset
242 <option value="yes" selected="True">Search with OMSSA</option>
189820586caf Uploaded
iracooke
parents:
diff changeset
243 <option value="no">No OMSSA search</option>
189820586caf Uploaded
iracooke
parents:
diff changeset
244 </param>
189820586caf Uploaded
iracooke
parents:
diff changeset
245 <when value="no" />
189820586caf Uploaded
iracooke
parents:
diff changeset
246 <when value="yes">
189820586caf Uploaded
iracooke
parents:
diff changeset
247 <param name="hitlist_length" label="OMSSA: Hit List Length" type="integer" value="25" />
189820586caf Uploaded
iracooke
parents:
diff changeset
248 <param name="remove_precursor" label="OMSSA: Remove Precurosr" type="boolean" truevalue="1" falsevalue="0" checked="true"/>
189820586caf Uploaded
iracooke
parents:
diff changeset
249 <param name="scale_precursor" label="OMSSA: Scale Precursor Mass" type="boolean" truevalue="1" falsevalue="0" checked="false"/>
189820586caf Uploaded
iracooke
parents:
diff changeset
250 <param name="estimate_charge" label="OMSSA: Estimate Charge" type="boolean" truevalue="1" falsevalue="0" checked="true" />
189820586caf Uploaded
iracooke
parents:
diff changeset
251 </when>
189820586caf Uploaded
iracooke
parents:
diff changeset
252 </conditional>
189820586caf Uploaded
iracooke
parents:
diff changeset
253
189820586caf Uploaded
iracooke
parents:
diff changeset
254 <conditional name="msgf">
189820586caf Uploaded
iracooke
parents:
diff changeset
255 <param name="msgf_selector" type="select" label="Run MSGF search">
189820586caf Uploaded
iracooke
parents:
diff changeset
256 <option value="yes" selected="True">Search with MSGF</option>
189820586caf Uploaded
iracooke
parents:
diff changeset
257 <option value="no">No MSGF search</option>
189820586caf Uploaded
iracooke
parents:
diff changeset
258 </param>
189820586caf Uploaded
iracooke
parents:
diff changeset
259 <when value="no" />
189820586caf Uploaded
iracooke
parents:
diff changeset
260 <when value="yes">
189820586caf Uploaded
iracooke
parents:
diff changeset
261 <param name="msgf_decoy" type="boolean" truevalue="1" falsevalue="0"
189820586caf Uploaded
iracooke
parents:
diff changeset
262 label="Search Decoys" help="If yes then a decoy database will be generated and searched. Assumed input database contains no decoys"/>
189820586caf Uploaded
iracooke
parents:
diff changeset
263 <param name="msgf_min_pep_length" type="integer" value="6"
189820586caf Uploaded
iracooke
parents:
diff changeset
264 label="Minimum Peptide Length" help="Minimum length for a peptide to be considered"/>
189820586caf Uploaded
iracooke
parents:
diff changeset
265 <param name="msgf_max_pep_length" type="integer" value="30"
189820586caf Uploaded
iracooke
parents:
diff changeset
266 label="Maximum Peptide Length" help="Maximum length for a peptide to be considered"/>
189820586caf Uploaded
iracooke
parents:
diff changeset
267 <param name="msgf_termini" type="select" format="text"
189820586caf Uploaded
iracooke
parents:
diff changeset
268 label="Number of tolerable termini" help="Searches will take much longer if selecting a value other than 2">
189820586caf Uploaded
iracooke
parents:
diff changeset
269 <option value="0">0 (ie non-specific cleavage)</option>
189820586caf Uploaded
iracooke
parents:
diff changeset
270 <option value="1">1 (ie semi-tryptic cleavage)</option>
189820586caf Uploaded
iracooke
parents:
diff changeset
271 <option value="2" selected="true">2 (ie fully-tryptic cleavage)</option>
189820586caf Uploaded
iracooke
parents:
diff changeset
272 </param>
189820586caf Uploaded
iracooke
parents:
diff changeset
273 <param name="msgf_num_ptms" label="Max PTMs per peptide" type="integer" value="2"/>
189820586caf Uploaded
iracooke
parents:
diff changeset
274 </when>
189820586caf Uploaded
iracooke
parents:
diff changeset
275 </conditional>
189820586caf Uploaded
iracooke
parents:
diff changeset
276
189820586caf Uploaded
iracooke
parents:
diff changeset
277 <conditional name="ms_amanda">
189820586caf Uploaded
iracooke
parents:
diff changeset
278 <param name="ms_amanda_selector" type="select" label="Run MS Amanda search">
189820586caf Uploaded
iracooke
parents:
diff changeset
279 <option value="yes">Search with MS Amanda</option>
189820586caf Uploaded
iracooke
parents:
diff changeset
280 <option value="no" selected="True">No MS Amanda search</option>
189820586caf Uploaded
iracooke
parents:
diff changeset
281 </param>
189820586caf Uploaded
iracooke
parents:
diff changeset
282 <when value="no" />
189820586caf Uploaded
iracooke
parents:
diff changeset
283 <when value="yes">
189820586caf Uploaded
iracooke
parents:
diff changeset
284 </when>
189820586caf Uploaded
iracooke
parents:
diff changeset
285 </conditional>
189820586caf Uploaded
iracooke
parents:
diff changeset
286
189820586caf Uploaded
iracooke
parents:
diff changeset
287 <conditional name="myrimatch">
189820586caf Uploaded
iracooke
parents:
diff changeset
288 <param name="myrimatch_selector" type="select" label="Run MyriMatch search">
189820586caf Uploaded
iracooke
parents:
diff changeset
289 <option value="yes">Search with MyriMatch</option>
189820586caf Uploaded
iracooke
parents:
diff changeset
290 <option value="no" selected="True">No MyriMatch search</option>
189820586caf Uploaded
iracooke
parents:
diff changeset
291 </param>
189820586caf Uploaded
iracooke
parents:
diff changeset
292 <when value="no" />
189820586caf Uploaded
iracooke
parents:
diff changeset
293 <when value="yes">
189820586caf Uploaded
iracooke
parents:
diff changeset
294 </when>
189820586caf Uploaded
iracooke
parents:
diff changeset
295 </conditional>
189820586caf Uploaded
iracooke
parents:
diff changeset
296
189820586caf Uploaded
iracooke
parents:
diff changeset
297 <conditional name="comet">
189820586caf Uploaded
iracooke
parents:
diff changeset
298 <param name="comet_selector" type="select" label="Run Comet search">
189820586caf Uploaded
iracooke
parents:
diff changeset
299 <option value="yes">Search with Comet</option>
189820586caf Uploaded
iracooke
parents:
diff changeset
300 <option value="no" selected="True">No Comet search</option>
189820586caf Uploaded
iracooke
parents:
diff changeset
301 </param>
189820586caf Uploaded
iracooke
parents:
diff changeset
302 <when value="no" />
189820586caf Uploaded
iracooke
parents:
diff changeset
303 <when value="yes">
189820586caf Uploaded
iracooke
parents:
diff changeset
304 </when>
189820586caf Uploaded
iracooke
parents:
diff changeset
305 </conditional>
189820586caf Uploaded
iracooke
parents:
diff changeset
306
189820586caf Uploaded
iracooke
parents:
diff changeset
307 </when>
189820586caf Uploaded
iracooke
parents:
diff changeset
308 </conditional>
189820586caf Uploaded
iracooke
parents:
diff changeset
309
189820586caf Uploaded
iracooke
parents:
diff changeset
310 </inputs>
189820586caf Uploaded
iracooke
parents:
diff changeset
311 <outputs>
189820586caf Uploaded
iracooke
parents:
diff changeset
312 <data format="bgzip" name="searchgui_results" from_work_dir="searchgui_out.zip" label="${tool.name} on ${on_string}" />
189820586caf Uploaded
iracooke
parents:
diff changeset
313 </outputs>
189820586caf Uploaded
iracooke
parents:
diff changeset
314 <tests>
189820586caf Uploaded
iracooke
parents:
diff changeset
315 <test>
189820586caf Uploaded
iracooke
parents:
diff changeset
316 <param name="input_database" value="tinydb.fasta"/>
189820586caf Uploaded
iracooke
parents:
diff changeset
317 <param name="peak_lists" value="tinyspectra.mgf"/>
189820586caf Uploaded
iracooke
parents:
diff changeset
318 <param name="precursor_ion_tol" value="100"/>
189820586caf Uploaded
iracooke
parents:
diff changeset
319 <param name="fixed_modifications" value="carbamidomethyl c"/>
189820586caf Uploaded
iracooke
parents:
diff changeset
320 <param name="variable_modifications" value="oxidation of m"/>
189820586caf Uploaded
iracooke
parents:
diff changeset
321 <param name="min_charge" value="1"/>
189820586caf Uploaded
iracooke
parents:
diff changeset
322 <param name="max_charge" value="3"/>
189820586caf Uploaded
iracooke
parents:
diff changeset
323 <param name="advanced_type_selector" value="advanced"/>
189820586caf Uploaded
iracooke
parents:
diff changeset
324 <!--param name="xtandem_selector" value="no"/>-->
189820586caf Uploaded
iracooke
parents:
diff changeset
325 <param name="xtandem_selector" value="yes"/>
189820586caf Uploaded
iracooke
parents:
diff changeset
326 <param name="xtandem_selector.xtandem_refine_selector" value="yes"/>
189820586caf Uploaded
iracooke
parents:
diff changeset
327
189820586caf Uploaded
iracooke
parents:
diff changeset
328 <param name="omssa_selector" value="no"/>
189820586caf Uploaded
iracooke
parents:
diff changeset
329 <param name="msgf_selector" value="yes"/>
189820586caf Uploaded
iracooke
parents:
diff changeset
330 <param name="ms_amanda_selector" value="no"/>
189820586caf Uploaded
iracooke
parents:
diff changeset
331
189820586caf Uploaded
iracooke
parents:
diff changeset
332 <output name="output" file="tinyoutput.cps" compare="sim_size" delta="600" />
189820586caf Uploaded
iracooke
parents:
diff changeset
333 </test>
189820586caf Uploaded
iracooke
parents:
diff changeset
334 </tests>
189820586caf Uploaded
iracooke
parents:
diff changeset
335 <help>
189820586caf Uploaded
iracooke
parents:
diff changeset
336 **What it does**
189820586caf Uploaded
iracooke
parents:
diff changeset
337
189820586caf Uploaded
iracooke
parents:
diff changeset
338 Runs multiple search engines (X! Tandem, OMSSA and MS-GF+) on any number of MGF peak lists using the SearchGUI.
189820586caf Uploaded
iracooke
parents:
diff changeset
339
189820586caf Uploaded
iracooke
parents:
diff changeset
340
189820586caf Uploaded
iracooke
parents:
diff changeset
341 </help>
189820586caf Uploaded
iracooke
parents:
diff changeset
342 <expand macro="citations" />
189820586caf Uploaded
iracooke
parents:
diff changeset
343 </tool>