0
|
1
|
2
|
2 <tool id="MSMS_Extractor" name="MSMS_Extractor" version="1.1.0">
|
|
3 <description>Extract scans based on PSM report from the mzML file(s).</description>
|
0
|
4 <requirements>
|
|
5 <requirement type="package" version="3.0.9016">proteowizard</requirement>
|
|
6 <requirement type="package" version="3.4">pyteomics</requirement>
|
|
7 </requirements>
|
2
|
8 <command interpreter="python"><![CDATA[MSMS_Extractor.py $spectrumfile $psmreportfile $output ${spectrumfile.name.rsplit('.',1)[0]} $removeretain.doremoveretain $removeretain.num_random_scans]]></command>
|
0
|
9 <inputs>
|
|
10 <param name="spectrumfile" type="data" format="mzml">
|
|
11 <label>Input mzML File</label>
|
|
12 </param>
|
|
13 <param name="psmreportfile" type="data" format="tabular">
|
|
14 <label>Input PSM Report File</label>
|
|
15 </param>
|
2
|
16
|
|
17 <conditional name="removeretain">
|
3
|
18 <param name="doremoveretain" type="boolean" truevalue="retain" falsevalue="remove" label="Retain or Remove the given Scans" help="Retain=Yes; Remove=No (default)" />
|
2
|
19 <when value="remove">
|
|
20 <param name="num_random_scans" type="hidden" value="0" />
|
|
21 </when>
|
|
22 <when value="retain">
|
|
23 <param name="num_random_scans" type="integer" label="Add N random scans in addition to those in the list" value="0" optional="false" />
|
|
24 </when>
|
|
25 </conditional>
|
|
26
|
0
|
27 </inputs>
|
|
28
|
|
29 <outputs>
|
|
30 <data format="mzml" name="output" label="${spectrumfile.name.rsplit('.',1)[0]}.mzml" />
|
|
31 </outputs>
|
|
32
|
|
33
|
|
34 <help>
|
2
|
35 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.
|
|
36
|
|
37 Remove option:
|
|
38 Creates a new mzml file with all the unidentified scans (removes those that are in the PSM report).
|
|
39
|
|
40 Retain option:
|
|
41 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.
|
|
42
|
|
43
|
|
44 Please Note: This tool currently works only with PeptideShaker generated PSM report file.
|
|
45
|
0
|
46 </help>
|
|
47 </tool>
|