Mercurial > repos > galaxyp > ms_data_converter
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 |
rev | line source |
---|---|
0 | 1 <tool id="ms_data_converter" name="MS Data Converter" version="1.3.0"> |
2 <!-- BEGIN_VERSION_DEFAULT --> | |
3 <description>for WIFF format using AB SCIEX MS Data Converter</description> | |
4 <!-- END_VERSION_DEFAULT --> | |
5 <!-- | |
6 <requirements> | |
7 <requirement type="package" version="1.3beta">ab_sciex_ms_data_converter</requirement> | |
8 </requirements> | |
9 --> | |
10 <command interpreter="python"> | |
11 #import re | |
12 #import os.path | |
13 #set $ext = $input.ext | |
14 ms_data_converter.py | |
15 #set basename = 'absciex' | |
16 #if hasattr($input, 'display_name') | |
17 #set basename = $re.sub('\W','_',$input.display_name) | |
18 #end if | |
19 --input="${input.extra_files_path}/wiff" | |
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 | 23 --implicit="${input.extra_files_path}/wiff_scan" |
24 --input="${input.extra_files_path}/wiff_scan" | |
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 | 29 --implicit="${input.extra_files_path}/wiff_mtd" |
30 --input="${input.extra_files_path}/wiff_mtd" | |
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 | 33 --output=${output} |
34 ## BEGIN_VERSION_DEFAULT | |
35 --fromextension=$ext | |
36 --content_type=$content_type | |
37 ## END_VERSION_DEFAULT | |
38 --toextension=${result.output_format} | |
39 #if $result.output_format == "mzML" | |
40 --zlib=${result.zlib} | |
41 --binaryencoding=${result.precision} | |
42 --index=${result.index} | |
43 #end if | |
1
a36e9f847308
Fixes for running on Windows via pulsar
Jim Johnson <jj@umn.edu>
parents:
0
diff
changeset
|
44 --debug |
0 | 45 </command> |
46 | |
47 <inputs> | |
48 | |
49 <!-- BEGIN_VERSION_DEFAULT --> | |
50 <param format="wiff" name="input" type="data" label="Input wiff"/> | |
51 <!-- END_VERSION_DEFAULT --> | |
52 <conditional name="result"> | |
53 <param name="output_format" type="select" label="Output Format"> | |
54 <option value="mzML">mzML</option> | |
55 <option value="mgf">mgf</option> | |
56 </param> | |
57 <when value="mzML"> | |
58 <param type="boolean" name="index" truevalue="true" falsevalue="false" checked="true" label="Index the mzML output"/> | |
59 <param type="boolean" name="zlib" truevalue="true" falsevalue="false" checked="true" label="Binary zlib array compression"/> | |
60 <param type="select" name="precision" label="Precision"> | |
61 <option value="32">32</option> | |
62 <option value="64" selected="true">64</option> | |
63 </param> | |
64 </when> | |
65 <when value="mgf"/> | |
66 </conditional> | |
67 <param name="content_type" type="select" label="Output Content Type"> | |
68 <option value="profile">profile</option> | |
69 <option value="centroid">centroid</option> | |
70 <option value="proteinpilot">proteinpilot</option> | |
71 </param> | |
72 </inputs> | |
73 <outputs> | |
74 <data format="mzml" name="output"> | |
75 <change_format> | |
76 <when input="output_format" value="mgf" format="mgf" /> | |
77 </change_format> | |
78 </data> | |
79 </outputs> | |
80 <help> | |
81 **What it does** | |
82 | |
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. | |
84 | |
85 http://www.absciex.com/Documents/Downloads/Software/ABSCIEX-MS%20Data-Converter-User-Guide.pdf | |
86 | |
87 ------ | |
88 | |
89 **Citation** | |
90 | |
91 If you use this tool in Galaxy, please cite Chilton J, et al. https://github.com/galaxyproteomics/ | |
92 | |
93 </help> | |
94 </tool> |