annotate msconvert_subset.xml @ 4:001e77708ec9

Uploaded
author galaxyp
date Fri, 12 Jul 2013 12:45:51 -0400
parents 861e3f0c2bb6
children 08bb52273ae1
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
861e3f0c2bb6 Uploaded
galaxyp
parents: 0
diff changeset
1 <tool id="msconvert_subset" name="Subset Peak List" version="0.2.0">
0
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
2 <description>against list of scan numbers or indices.</description>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
3 <command interpreter="python">
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
4 msconvert_wrapper.py
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
5 --input=${input}
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
6 --output=${output}
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
7 --fromextension=${input.ext}
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
8 --toextension=${output_type}
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
9 #if $settings.settingsType == "full"
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
10 --binaryencoding=${settings.binary_encoding}
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
11 --mzencoding=${settings.mz_encoding}
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
12 --intensityencoding=${settings.intensity_encoding}
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
13 --zlib=${settings.zlib}
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
14 #end if
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
15 --filter_table="$filter.filterList"
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
16 #if $filter.filterType == "scan_number"
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
17 --filter_table_type="number"
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
18 #else
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
19 --filter_table_type="index"
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
20 #end if
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
21 </command>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
22
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
23 <inputs>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
24 <conditional name="type">
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
25 <param name="input_type" type="select" label="Input Type">
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
26 <option value="mzml">mzML</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
27 <option value="mzxml">mzXML</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
28 <option value="mgf">mgf</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
29 <option value="ms2">ms2</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
30 </param>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
31 <when value="mzml">
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
32 <param format="mzml" name="input" type="data" label="Input mzML"/>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
33 </when>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
34 <when value="mzxml">
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
35 <param format="mzxml" name="input" type="data" label="Input mzXML"/>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
36 </when>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
37 <when value="mgf">
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
38 <param format="mgf" name="input" type="data" label="Input mgf"/>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
39 </when>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
40 <when value="ms2">
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
41 <param format="ms2" name="input" type="data" label="Input ms2"/>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
42 </when>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
43 </conditional>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
44 <param name="output_type" type="select" label="Output Type">
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
45 <option value="mzML">mzML (indexed)</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
46 <option value="unindexed_mzML">mzML (unindexed)</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
47 <option value="mzXML">mzXML (indexed)</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
48 <option value="unindexed_mzXML">mzXML (unindexed)</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
49 <option value="mgf">mgf</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
50 <option value="ms2">ms2</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
51 </param>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
52 <conditional name="filter">
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
53 <param name="filterType" type="select" label="Filter by" help="">
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
54 <option value="scan_number" selected="true">Scan Number</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
55 <option value="scan_index">Scan Index</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
56 </param>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
57 <when value="scan_number">
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
58 <param format="text" name="filterList" type="data" label="Scan Numbers"/>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
59 </when>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
60 <when value="scan_index">
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
61 <param format="text" name="filterList" type="data" label="Scan Indices"/>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
62 </when>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
63 </conditional>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
64 <conditional name="settings">
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
65 <param name="settingsType" type="select" label="Advanced msconvert Settings" help="">
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
66 <option value="default">Use Defaults</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
67 <option value="full">Full Parameter List</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
68 </param>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
69 <when value="default" />
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
70 <when value="full">
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
71 <param type="select" name="binary_encoding" label="Binary Encoding Precision">
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
72 <option value="64" selected="true">64</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
73 <option value="32">32</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
74 </param>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
75 <param type="select" name="mz_encoding" label="m/z Encoding Precision">
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
76 <option value="64" selected="true">64</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
77 <option value="32">32</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
78 </param>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
79 <param type="select" name="intensity_encoding" label="Intensity Encoding Precision" value="32">
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
80 <option value="64">64</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
81 <option value="32" selected="true">32</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
82 </param>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
83 <param type="boolean" name="zlib" label="Use zlib">
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
84 </param>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
85 </when>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
86 </conditional>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
87 </inputs>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
88 <outputs>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
89 <data format="mzml" name="output">
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
90 <change_format>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
91 <when input="output_type" value="mzXML" format="mzxml" />
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
92 <when input="output_type" value="unindexed_mzXML" format="mzxml" />
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
93 <when input="output_type" value="ms2" format="ms2" />
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
94 <when input="output_type" value="mgf" format="mgf" />
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
95 </change_format>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
96 </data>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
97 </outputs>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
98
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
99 <requirements>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
100 <requirement type="package">proteowizard</requirement>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
101 </requirements>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
102
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
103 <help>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
104 </help>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
105 </tool>