annotate msms_extractor.xml @ 0:4bef80b09854 draft default tip

"planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
author galaxyp
date Tue, 29 Oct 2019 11:09:46 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
1 <tool id="msms_extractor" name="msms_extractor" version="1.0.0">
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
2 <description>Extract MS/MS scans from the mzML file(s) based on PSM report</description>
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
3 <requirements>
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
4 <requirement type="package" version="3_0_9992">proteowizard</requirement>
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
5 <requirement type="package" version="3.7.3">python</requirement>
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
6 <requirement type="package" version="4.1.2">pyteomics</requirement>
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
7 <requirement type="package" version="0.25.2">pandas</requirement>
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
8 </requirements>
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
9 <command detect_errors="aggressive"><![CDATA[python '$__tool_directory__/msms_extractor.py' '$spectrumfile' '$psmreportfile' '$output' ${spectrumfile.name.rsplit('.',1)[0]} '$removeretain.doremoveretain' '$removeretain.num_random_scans']]></command>
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
10 <inputs>
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
11 <param name="spectrumfile" type="data" format="mzml" label="Input mzML File"/>
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
12 <param name="psmreportfile" type="data" format="tabular" label="Input PSM Report File"/>
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
13
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
14 <conditional name="removeretain">
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
15 <param name="doremoveretain" type="select" display="radio" label="Retain or Remove the MS/MS scans that were identified in PSM report">
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
16 <option value="remove" selected="True">Remove the scans reported in the PSM Report File</option>
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
17 <option value="retain">Retain the scans reported in the PSM Report File </option>
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
18 </param>
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
19
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
20 <when value="remove">
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
21 <param name="num_random_scans" type="hidden" value="0" />
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
22 </when>
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
23 <when value="retain">
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
24 <param name="num_random_scans" type="integer" label="Add N random scans in addition to those in the list" value="0" optional="true" />
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
25 </when>
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
26 </conditional>
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
27
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
28 </inputs>
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
29
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
30 <outputs>
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
31 <data format="mzml" name="output" label="${spectrumfile.name.rsplit('.',1)[0]}.mzml" />
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
32 </outputs>
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
33
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
34 <tests>
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
35 <test>
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
36 <param name="spectrumfile" value="Mo_Tai_iTRAQ_f1.mzml"/>
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
37 <param name="psmreportfile" value="test_psmreport.tabular"/>
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
38 <conditional name="removeretain">
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
39 <param name="doremoveretain" value="retain"/>
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
40 <param name="num_random_scans" value="5"/>
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
41 </conditional>
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
42 <output name="output">
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
43 <assert_contents>
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
44 <has_text text="Mo_Tai_iTRAQ_f1" />
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
45 </assert_contents>
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
46 </output>
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
47 </test>
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
48 </tests>
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
49
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
50 <help>
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
51 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.
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
52
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
53 ----
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
54
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
55 REMOVE option:
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
56
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
57 Creates a new mzml file with all the unidentified scans (removes those that are in the PSM report).
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
58
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
59
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
60 RETAIN option:
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
61
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
62 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.
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
63
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
64 ----
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
65
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
66 Please Note: This tool currently works only with PeptideShaker generated PSM report file.
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
67
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
68
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
69 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. and Mallick, P. A cross-platform toolkit for mass spectrometry and proteomics. Nature Biotechnology 30, 918-920 (2012).
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
70
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
71 </help>
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
72 <citations>
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
73 <citation type="bibtex">
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
74 @misc{A cross-platform toolkit for mass spectrometry and proteomics,
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
75 author={Matt Chambers et al.},
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
76 year={2012},
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
77 title={ProteoWizard}
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
78 }
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
79 </citation>
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
80 </citations>
4bef80b09854 "planemo upload commit 498440b547e1feaa6a81764b55ac8208626d70a8"
galaxyp
parents:
diff changeset
81 </tool>