annotate ms_data_converter.xml @ 1:a36e9f847308 default tip

Fixes for running on Windows via pulsar
author Jim Johnson <jj@umn.edu>
date Wed, 11 Mar 2015 16:47:12 -0500
parents dfafbfd7983d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
1 <tool id="ms_data_converter" name="MS Data Converter" version="1.3.0">
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
2 <!-- BEGIN_VERSION_DEFAULT -->
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
3 <description>for WIFF format using AB SCIEX MS Data Converter</description>
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
4 <!-- END_VERSION_DEFAULT -->
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
5 <!--
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
6 <requirements>
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
7 <requirement type="package" version="1.3beta">ab_sciex_ms_data_converter</requirement>
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
8 </requirements>
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
9 -->
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
10 <command interpreter="python">
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
11 #import re
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
12 #import os.path
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
13 #set $ext = $input.ext
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
14 ms_data_converter.py
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
15 #set basename = 'absciex'
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
16 #if hasattr($input, 'display_name')
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
17 #set basename = $re.sub('\W','_',$input.display_name)
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
18 #end if
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
19 --input="${input.extra_files_path}/wiff"
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
20 --input_name="${basename}.wiff"
1
a36e9f847308 Fixes for running on Windows via pulsar
Jim Johnson <jj@umn.edu>
parents: 0
diff changeset
21 #### The os.path.exist did not work on Windows
a36e9f847308 Fixes for running on Windows via pulsar
Jim Johnson <jj@umn.edu>
parents: 0
diff changeset
22 ## #if $os.path.exists($os.path.join($input.extra_files_path,'wiff_scan')):
0
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
23 --implicit="${input.extra_files_path}/wiff_scan"
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
24 --input="${input.extra_files_path}/wiff_scan"
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
25 --input_name="${basename}.wiff.scan"
1
a36e9f847308 Fixes for running on Windows via pulsar
Jim Johnson <jj@umn.edu>
parents: 0
diff changeset
26 ## #end if
a36e9f847308 Fixes for running on Windows via pulsar
Jim Johnson <jj@umn.edu>
parents: 0
diff changeset
27 #### The os.path.exist did not work on Windows
a36e9f847308 Fixes for running on Windows via pulsar
Jim Johnson <jj@umn.edu>
parents: 0
diff changeset
28 ## #if $os.path.exists($os.path.join($input.extra_files_path,'wiff_mtd')):
0
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
29 --implicit="${input.extra_files_path}/wiff_mtd"
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
30 --input="${input.extra_files_path}/wiff_mtd"
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
31 --input_name="${basename}.wiff.mtd"
1
a36e9f847308 Fixes for running on Windows via pulsar
Jim Johnson <jj@umn.edu>
parents: 0
diff changeset
32 ## #end if
0
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
33 --output=${output}
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
34 ## BEGIN_VERSION_DEFAULT
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
35 --fromextension=$ext
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
36 --content_type=$content_type
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
37 ## END_VERSION_DEFAULT
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
38 --toextension=${result.output_format}
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
39 #if $result.output_format == "mzML"
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
40 --zlib=${result.zlib}
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
41 --binaryencoding=${result.precision}
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
42 --index=${result.index}
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
43 #end if
1
a36e9f847308 Fixes for running on Windows via pulsar
Jim Johnson <jj@umn.edu>
parents: 0
diff changeset
44 --debug
0
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
45 </command>
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
46
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
47 <inputs>
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
48
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
49 <!-- BEGIN_VERSION_DEFAULT -->
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
50 <param format="wiff" name="input" type="data" label="Input wiff"/>
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
51 <!-- END_VERSION_DEFAULT -->
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
52 <conditional name="result">
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
53 <param name="output_format" type="select" label="Output Format">
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
54 <option value="mzML">mzML</option>
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
55 <option value="mgf">mgf</option>
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
56 </param>
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
57 <when value="mzML">
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
58 <param type="boolean" name="index" truevalue="true" falsevalue="false" checked="true" label="Index the mzML output"/>
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
59 <param type="boolean" name="zlib" truevalue="true" falsevalue="false" checked="true" label="Binary zlib array compression"/>
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
60 <param type="select" name="precision" label="Precision">
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
61 <option value="32">32</option>
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
62 <option value="64" selected="true">64</option>
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
63 </param>
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
64 </when>
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
65 <when value="mgf"/>
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
66 </conditional>
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
67 <param name="content_type" type="select" label="Output Content Type">
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
68 <option value="profile">profile</option>
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
69 <option value="centroid">centroid</option>
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
70 <option value="proteinpilot">proteinpilot</option>
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
71 </param>
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
72 </inputs>
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
73 <outputs>
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
74 <data format="mzml" name="output">
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
75 <change_format>
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
76 <when input="output_format" value="mgf" format="mgf" />
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
77 </change_format>
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
78 </data>
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
79 </outputs>
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
80 <help>
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
81 **What it does**
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
82
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
83 AB SCIEX MS Data Converter to convert mass spectral data from any AB SCIEX instrument into open data formats. Data can be converted into two different formats - mzML or mgf. You can also control what kind of information is written. You can choose to get an exact translation of what the instrument recorded or choose to convert to a processed version, reducing the data down to peak lists.
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
84
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
85 http://www.absciex.com/Documents/Downloads/Software/ABSCIEX-MS%20Data-Converter-User-Guide.pdf
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
86
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
87 ------
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
88
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
89 **Citation**
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
90
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
91 If you use this tool in Galaxy, please cite Chilton J, et al. https://github.com/galaxyproteomics/
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
92
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
93 </help>
dfafbfd7983d Uploaded
galaxyp
parents:
diff changeset
94 </tool>