comparison msgfplus.xml @ 3:b4ccaf21855d draft

planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msgfplus commit 498437250b9fa438abd6865b7e9ba71298599ee7
author galaxyp
date Thu, 12 Jan 2017 15:25:02 -0500
parents 058a2ab1d462
children 58f9cf0de6d4
comparison
equal deleted inserted replaced
2:058a2ab1d462 3:b4ccaf21855d
2 <description> 2 <description>
3 Identifies peptides in tandem mass spectra using the MS-GF+ search engine. 3 Identifies peptides in tandem mass spectra using the MS-GF+ search engine.
4 </description> 4 </description>
5 <requirements> 5 <requirements>
6 <requirement type="package" version="2016.10.26">msgf_plus</requirement> 6 <requirement type="package" version="2016.10.26">msgf_plus</requirement>
7 <environment_variable name="LC_ALL" action="set_to">C</environment_variable>
8 </requirements> 7 </requirements>
9 <stdio> 8 <stdio>
10 <exit_code range="1:" level="fatal" description="Job Failed" /> 9 <exit_code range="1:" level="fatal" description="Job Failed" />
11 <regex match="java.*Exception" level="fatal" description="Java Exception"/> 10 <regex match="java.*Exception" level="fatal" description="Java Exception"/>
12 <regex match="Could not create the Java virtual machine" level="fatal" description="JVM Error"/> 11 <regex match="Could not create the Java virtual machine" level="fatal" description="JVM Error"/>
54 -maxLength $advanced.maxLength 53 -maxLength $advanced.maxLength
55 -minCharge $advanced.minCharge 54 -minCharge $advanced.minCharge
56 -maxCharge $advanced.maxCharge 55 -maxCharge $advanced.maxCharge
57 -n $advanced.n 56 -n $advanced.n
58 -addFeatures $advanced.addFeatures 57 -addFeatures $advanced.addFeatures
58 #if $tsvcheck
59 &&
60 msgf_plus
61 edu.ucsd.msjava.ui.MzIDToTsv
62 -i '$output_name'
63 -o output.tsv
64 #end if
59 && 65 &&
60 mv '$output_name' output 66 mv '$output_name' output
61 ]]> 67 ]]>
62 </command> 68 </command>
63 <inputs> 69 <inputs>
73 <when value="fractions"> 79 <when value="fractions">
74 <param name="db_spectra" type="data_collection" collection_type="paired" 80 <param name="db_spectra" type="data_collection" collection_type="paired"
75 label="Collection: Pairs of FASTA database (forward) and spectra (reverse)"/> 81 label="Collection: Pairs of FASTA database (forward) and spectra (reverse)"/>
76 </when> 82 </when>
77 </conditional> 83 </conditional>
84 <param name="tsvcheck" type="boolean" label="Output TSV as well?" />
78 <param argument="-tda" type="boolean" truevalue="1" falsevalue="0" checked="true" label="Search with on-the-fly decoy database?" help="MSGF+ uses XXX_ as an accession prefix to indicate a decoy hit" /> 85 <param argument="-tda" type="boolean" truevalue="1" falsevalue="0" checked="true" label="Search with on-the-fly decoy database?" help="MSGF+ uses XXX_ as an accession prefix to indicate a decoy hit" />
79 <param argument="-t" type="float" value="10" label="Precursor mass tolerance" help="Error tolerance for matching peptide mass to precursor ion mass"/> 86 <param argument="-t" type="float" value="10" label="Precursor mass tolerance" help="Error tolerance for matching peptide mass to precursor ion mass"/>
80 <param name="precursor_ion_tol_units" type="select" label="Precursor mass tolerance units" help="Daltons are common for low-res instruments, ppm for high-res instruments"> 87 <param name="precursor_ion_tol_units" type="select" label="Precursor mass tolerance units" help="Daltons are common for low-res instruments, ppm for high-res instruments">
81 <option value="ppm" selected="true">Parts per million (ppm)</option> 88 <option value="ppm" selected="true">Parts per million (ppm)</option>
82 <option value="Da">Daltons</option> 89 <option value="Da">Daltons</option>
215 <param name="isotope_high" label="Upper isotope error range" type="integer" value="1" /> 222 <param name="isotope_high" label="Upper isotope error range" type="integer" value="1" />
216 </section> 223 </section>
217 </inputs> 224 </inputs>
218 <outputs> 225 <outputs>
219 <data name="output" format="mzid" from_work_dir="output" /> 226 <data name="output" format="mzid" from_work_dir="output" />
227 <data name="tsvoutput" format="tabular" from_work_dir="output.tsv" >
228 <filter>tsvcheck</filter>
229 </data>
220 </outputs> 230 </outputs>
221 <tests> 231 <tests>
222 <test> 232 <test>
223 <param name="msgf_input.intype_selector" value="single" /> 233 <param name="msgf_input|intype_selector" value="single" />
224 <param name="msgf_input.s" value="input/201208-378803.mzML" /> 234 <param name="msgf_input|s" value="input/201208-378803.mzML" ftype="mzml" />
225 <param name="msgf_input.d" value="input/cow.protein.PRG2012-subset.fasta" /> 235 <param name="msgf_input|d" value="input/cow.protein.PRG2012-subset.fasta" ftype="fasta" />
226 <param name="tda" value="1" /> 236 <param name="tda" value="1" />
227 <param name="ntt" value="1" /> 237 <param name="ntt" value="1" />
228 <param name="t" value="50" /> 238 <param name="t" value="50" />
229 <param name="precursor_ion_tol_units" value="ppm" /> 239 <param name="precursor_ion_tol_units" value="ppm" />
230 <param name="common_fixed_modifications" value="" /> 240 <param name="common_fixed_modifications" value="" />
231 <param name="common_variable_modifications" value="" /> 241 <param name="common_variable_modifications" value="" />
232 <output name="output" file="201208-378803-msgf_20161026-50ppm-semitryptic-no_mods.mzid" compare="sim_size" delta="20" /> 242 <output name="output" file="201208-378803-msgf_20161026-50ppm-semitryptic-no_mods.mzid" compare="sim_size" delta="20" />
233 </test> 243 </test>
234 <test> 244 <test>
235 <param name="msgf_input.intype_selector" value="fractions" /> 245 <param name="msgf_input|intype_selector" value="single" />
236 <param name="msgf_input.db_spectra.forward" value="input/201208-378803.mzML" /> 246 <param name="msgf_input|s" value="input/201208-378803.mzML" />
237 <param name="msgf_input.db_spectra.reverse" value="input/cow.protein.PRG2012-subset.fasta" /> 247 <param name="msgf_input|d" value="input/cow.protein.PRG2012-subset.fasta" />
248 <param name="tsvcheck" value="true" />
249 <param name="tda" value="1" />
250 <param name="ntt" value="1" />
251 <param name="t" value="50" />
252 <param name="precursor_ion_tol_units" value="ppm" />
253 <param name="common_fixed_modifications" value="" />
254 <param name="common_variable_modifications" value="" />
255 <output name="output" file="201208-378803-msgf_20161026-50ppm-semitryptic-no_mods.mzid" compare="sim_size" delta="20" />
256 <output name="tsvoutput" file="201208-378803-msgf_20161026-50ppm-semitryptic-no_mods.tsv" compare="sim_size" delta="20" />
257 </test>
258 <test>
259 <param name="msgf_input|intype_selector" value="fractions" />
260 <param name="msgf_input|db_spectra">
261 <collection type="paired">
262 <element name="forward" value="input/201208-378803.mzML" />
263 <element name="reverse" value="input/cow.protein.PRG2012-subset.fasta" />
264 </collection>
265 </param>
238 <param name="tda" value="1" /> 266 <param name="tda" value="1" />
239 <param name="ntt" value="1" /> 267 <param name="ntt" value="1" />
240 <param name="t" value="50" /> 268 <param name="t" value="50" />
241 <param name="precursor_ion_tol_units" value="ppm" /> 269 <param name="precursor_ion_tol_units" value="ppm" />
242 <param name="common_fixed_modifications" value="" /> 270 <param name="common_fixed_modifications" value="" />
243 <param name="common_variable_modifications" value="" /> 271 <param name="common_variable_modifications" value="" />
244 <output name="output" file="201208-378803-msgf-50ppm-semitryptic-no_mods.mzid" lines_diff="6" /> 272 <output name="output" file="201208-378803-msgf_20161026-50ppm-semitryptic-no_mods.mzid" compare="sim_size" delta="20" />
245 </test> 273 </test>
246 <test> 274 <test>
247 <param name="msgf_input.intype_selector" value="single" /> 275 <param name="msgf_input|intype_selector" value="single" />
248 <param name="msgf_input.s" value="input/201208-378803.mzML" /> 276 <param name="msgf_input|s" value="input/201208-378803.mzML" />
249 <param name="msgf_input.d" value="input/cow.protein.PRG2012-subset.fasta" /> 277 <param name="msgf_input|d" value="input/cow.protein.PRG2012-subset.fasta" />
250 <param name="tda" value="1" /> 278 <param name="tda" value="1" />
251 <param name="t" value="0.02" /> 279 <param name="t" value="0.02" />
252 <param name="precursor_ion_tol_units" value="Da" /> 280 <param name="precursor_ion_tol_units" value="Da" />
253 <param name="isotope_low" value="-1" /> 281 <param name="isotope_low" value="-1" />
254 <param name="isotope_high" value="0" /> 282 <param name="isotope_high" value="0" />