annotate masscomb_dbsearch_converter.xml @ 8:153e9eb5f2ff

new option in file splitter; small fix in xtandem form
author pieter.lukasse@wur.nl
date Fri, 31 Jan 2014 12:06:57 +0100
parents d6001e8d7441
children c317e0f939df
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
1 <tool name="DB search converter" id="masscomb_dbsearch_converter" version="1.0.1">
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
2 <description> Convert search results to MzIdentML (aka mzid) format</description>
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
3 <!--
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
4 For remote debugging start you listener on port 8000 and use the following as command interpreter:
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
5 java -jar -Xdebug -Xrunjdwp:transport=dt_socket,address=D0100564.wurnet.nl:8000
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
6 //////////////////////////
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
7 -->
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
8 <command interpreter="java -jar">
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
9 MassComb.jar
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
10 -action DBSEARCHCONVERT
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
11 -fileGrouping $fileType.type
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
12 -searchResultsFormat $fileType.inputFormatType.inputFormat
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
13 #if $fileType.inputFormatType.inputFormat == "xtandem"
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
14 -isMs2SpectrumIdStartingAtZero $fileType.inputFormatType.isMs2SpectrumIdStartingAtZero
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
15 #end if
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
16 -inputFile $fileType.inputFormatType.inputFile
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
17 -outputFile $outputFile
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
18 </command>
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
19 <inputs>
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
20 <conditional name="fileType">
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
21 <param name="type" type="select" label="select file grouping type">
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
22 <option value="single" selected="true">single-File</option>
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
23 <option value="fileSet">fileSet</option>
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
24 </param>
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
25 <when value="single">
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
26 <conditional name="inputFormatType">
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
27 <param name="inputFormat" type="select" label="inputFormat">
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
28 <option value="xtandem">X!Tandem</option>
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
29 <option value="omssa">OMSSA</option>
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
30 </param>
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
31 <when value="xtandem">
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
32 <param name="inputFile" type="data" format="bioml,xml" label="MS/MS search results" help="Note: the spectra index values in the resulting file will only be reliable for when X!Tandem has executed on MzML data"/>
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
33 <param name="isMs2SpectrumIdStartingAtZero" type="select" label="Spectrum numbering starting at zero in original spectra file" help="Some formats, like mzML, start their spectrum numbering from 0, other formats start from 1. ">
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
34 <option value="true" selected="true">Yes, starting at 0</option>
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
35 <option value="false">No, starting at 1</option>
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
36 </param>
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
37 </when>
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
38 <when value="omssa">
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
39 <param name="inputFile" type="data" format="omx" label="MS/MS search results"/>
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
40 </when>
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
41 </conditional>
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
42 </when>
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
43 <when value="fileSet">
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
44 <conditional name="inputFormatType">
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
45 <param name="inputFormat" type="select" label="inputFormat">
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
46 <option value="xtandem">X!Tandem</option>
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
47 <option value="omssa">OMSSA</option>
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
48 </param>
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
49 <when value="xtandem">
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
50 <param name="inputFile" type="data" format="prims.fileset.zip" label="MS/MS search results" />
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
51 <param name="isMs2SpectrumIdStartingAtZero" type="select" label="Spectrum numbering starting at zero in original spectra file" help="Some formats, like mzML, start their spectrum numbering from 0, other formats start from 1. ">
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
52 <option value="true" selected="true">Yes, starting at 0</option>
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
53 <option value="false">No, starting at 1</option>
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
54 </param>
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
55 </when>
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
56 <when value="omssa">
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
57 <param name="inputFile" type="data" format="prims.fileset.zip" label="MS/MS search results"/>
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
58 </when>
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
59 </conditional>
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
60 </when>
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
61 </conditional>
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
62 </inputs>
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
63 <outputs>
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
64 <data name="outputFile" format="mzid" label="${tool.name} (to MzIdentML) on ${on_string} ">
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
65 <change_format>
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
66 <when input="fileType.type" value="fileSet" format="prims.fileset.zip" label="${tool.name} (to MzIdentML) on ${on_string} "/>
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
67 </change_format>
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
68 </data>
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
69 </outputs>
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
70 <tests>
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
71 </tests>
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
72 <help>
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
73
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
74 .. class:: infomark
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
75
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
76 This tool translates X!Tandem and OMSSA results to mzIdentML format.
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
77 It uses the library at http://code.google.com/p/mzidentml-parsers/
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
78 -----
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
79
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
80
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
81 </help>
d6001e8d7441 Push to main toolshed
pieter.lukasse@wur.nl
parents:
diff changeset
82 </tool>