annotate MSMS_Extractor.xml @ 9:b0284072f3eb draft default tip

planemo upload
author pravs
date Thu, 10 Aug 2017 16:40:17 -0400
parents 5a1ec6c352e3
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
093015b1b904 planemo upload
pravs
parents:
diff changeset
1
8
5a1ec6c352e3 planemo upload
pravs
parents: 7
diff changeset
2 <tool id="MSMS_Extractor" name="MSMS_Extractor" version="1.2.0">
2
aa944e3a353c planemo upload
pravs
parents: 1
diff changeset
3 <description>Extract scans based on PSM report from the mzML file(s).</description>
0
093015b1b904 planemo upload
pravs
parents:
diff changeset
4 <requirements>
7
8741bc3644d4 planemo upload
pravs
parents: 6
diff changeset
5 <requirement type="package" version="3_0_9992">proteowizard</requirement>
0
093015b1b904 planemo upload
pravs
parents:
diff changeset
6 <requirement type="package" version="3.4">pyteomics</requirement>
093015b1b904 planemo upload
pravs
parents:
diff changeset
7 </requirements>
2
aa944e3a353c planemo upload
pravs
parents: 1
diff changeset
8 <command interpreter="python"><![CDATA[MSMS_Extractor.py $spectrumfile $psmreportfile $output ${spectrumfile.name.rsplit('.',1)[0]} $removeretain.doremoveretain $removeretain.num_random_scans]]></command>
0
093015b1b904 planemo upload
pravs
parents:
diff changeset
9 <inputs>
093015b1b904 planemo upload
pravs
parents:
diff changeset
10 <param name="spectrumfile" type="data" format="mzml">
093015b1b904 planemo upload
pravs
parents:
diff changeset
11 <label>Input mzML File</label>
093015b1b904 planemo upload
pravs
parents:
diff changeset
12 </param>
093015b1b904 planemo upload
pravs
parents:
diff changeset
13 <param name="psmreportfile" type="data" format="tabular">
093015b1b904 planemo upload
pravs
parents:
diff changeset
14 <label>Input PSM Report File</label>
093015b1b904 planemo upload
pravs
parents:
diff changeset
15 </param>
2
aa944e3a353c planemo upload
pravs
parents: 1
diff changeset
16
aa944e3a353c planemo upload
pravs
parents: 1
diff changeset
17 <conditional name="removeretain">
8
5a1ec6c352e3 planemo upload
pravs
parents: 7
diff changeset
18 <param name="doremoveretain" type="select" display="radio" label="Retain or Remove the MS/MS scans that were identified in PSM report">
5a1ec6c352e3 planemo upload
pravs
parents: 7
diff changeset
19 <option value="remove" selected="True">Remove the scans reported in the PSM Report File</option>
5a1ec6c352e3 planemo upload
pravs
parents: 7
diff changeset
20 <option value="retain">Retain the scans reported in the PSM Report File </option>
5a1ec6c352e3 planemo upload
pravs
parents: 7
diff changeset
21 </param>
5a1ec6c352e3 planemo upload
pravs
parents: 7
diff changeset
22
2
aa944e3a353c planemo upload
pravs
parents: 1
diff changeset
23 <when value="remove">
aa944e3a353c planemo upload
pravs
parents: 1
diff changeset
24 <param name="num_random_scans" type="hidden" value="0" />
aa944e3a353c planemo upload
pravs
parents: 1
diff changeset
25 </when>
aa944e3a353c planemo upload
pravs
parents: 1
diff changeset
26 <when value="retain">
aa944e3a353c planemo upload
pravs
parents: 1
diff changeset
27 <param name="num_random_scans" type="integer" label="Add N random scans in addition to those in the list" value="0" optional="false" />
aa944e3a353c planemo upload
pravs
parents: 1
diff changeset
28 </when>
aa944e3a353c planemo upload
pravs
parents: 1
diff changeset
29 </conditional>
aa944e3a353c planemo upload
pravs
parents: 1
diff changeset
30
0
093015b1b904 planemo upload
pravs
parents:
diff changeset
31 </inputs>
093015b1b904 planemo upload
pravs
parents:
diff changeset
32
093015b1b904 planemo upload
pravs
parents:
diff changeset
33 <outputs>
093015b1b904 planemo upload
pravs
parents:
diff changeset
34 <data format="mzml" name="output" label="${spectrumfile.name.rsplit('.',1)[0]}.mzml" />
093015b1b904 planemo upload
pravs
parents:
diff changeset
35 </outputs>
093015b1b904 planemo upload
pravs
parents:
diff changeset
36
093015b1b904 planemo upload
pravs
parents:
diff changeset
37
093015b1b904 planemo upload
pravs
parents:
diff changeset
38 <help>
2
aa944e3a353c planemo upload
pravs
parents: 1
diff changeset
39 MSMS_Extractor reads scan numbers from the PSM report (scan numbers with identified PSM) and gives option to create a new mzml file, either with those scans or without those scans.
aa944e3a353c planemo upload
pravs
parents: 1
diff changeset
40
4
59654a11787e planemo upload
pravs
parents: 3
diff changeset
41 ----
59654a11787e planemo upload
pravs
parents: 3
diff changeset
42
59654a11787e planemo upload
pravs
parents: 3
diff changeset
43 REMOVE option:
59654a11787e planemo upload
pravs
parents: 3
diff changeset
44
2
aa944e3a353c planemo upload
pravs
parents: 1
diff changeset
45 Creates a new mzml file with all the unidentified scans (removes those that are in the PSM report).
aa944e3a353c planemo upload
pravs
parents: 1
diff changeset
46
4
59654a11787e planemo upload
pravs
parents: 3
diff changeset
47
59654a11787e planemo upload
pravs
parents: 3
diff changeset
48 RETAIN option:
59654a11787e planemo upload
pravs
parents: 3
diff changeset
49
2
aa944e3a353c planemo upload
pravs
parents: 1
diff changeset
50 Creates a new mzml file with only those scans that is present in the PSM report. In addition to this, it also has an option to add N number of randomly selected scans to the output mzml file.
aa944e3a353c planemo upload
pravs
parents: 1
diff changeset
51
4
59654a11787e planemo upload
pravs
parents: 3
diff changeset
52 ----
2
aa944e3a353c planemo upload
pravs
parents: 1
diff changeset
53
aa944e3a353c planemo upload
pravs
parents: 1
diff changeset
54 Please Note: This tool currently works only with PeptideShaker generated PSM report file.
aa944e3a353c planemo upload
pravs
parents: 1
diff changeset
55
9
b0284072f3eb planemo upload
pravs
parents: 8
diff changeset
56
b0284072f3eb planemo upload
pravs
parents: 8
diff changeset
57 This tool uses msconvert from ProteoWizard: Chambers, M.C., MacLean, B., Burke, R., Amode, D., Ruderman, D.L., Neumann, S., Gatto, L., Fischer, B., Pratt, B., Egertson, J., Hoff, K., Kessner, D., Tasman, N., Shulman, N., Frewen, B., Baker, T.A., Brusniak, M.-Y., Paulse, C., Creasy, D., Flashner, L., Kani, K., Moulding, C., Seymour, S.L., Nuwaysir, L.M., Lefebvre, B., Kuhlmann, F., Roark, J., Rainer, P., Detlev, S., Hemenway, T., Huhmer, A., Langridge, J., Connolly, B., Chadick, T., Holly, K., Eckels, J., Deutsch, E.W., Moritz, R.L., Katz, J.E., Agus, D.B., MacCoss, M., Tabb, D.L. & Mallick, P. A cross-platform toolkit for mass spectrometry and proteomics. Nature Biotechnology 30, 918-920 (2012).
b0284072f3eb planemo upload
pravs
parents: 8
diff changeset
58
0
093015b1b904 planemo upload
pravs
parents:
diff changeset
59 </help>
093015b1b904 planemo upload
pravs
parents:
diff changeset
60 </tool>