comparison ms_data_converter.xml @ 0:dfafbfd7983d

Uploaded
author galaxyp
date Wed, 11 Mar 2015 11:36:26 -0400
parents
children a36e9f847308
comparison
equal deleted inserted replaced
-1:000000000000 0:dfafbfd7983d
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"
21 #if $os.path.exists($os.path.join($input.extra_files_path,'wiff_scan')):
22 --implicit="${input.extra_files_path}/wiff_scan"
23 --input="${input.extra_files_path}/wiff_scan"
24 --input_name="${basename}.wiff.scan"
25 #end if
26 #if $os.path.exists($os.path.join($input.extra_files_path,'wiff_mtd')):
27 --implicit="${input.extra_files_path}/wiff_mtd"
28 --input="${input.extra_files_path}/wiff_mtd"
29 --input_name="${basename}.wiff.mtd"
30 #end if
31 --output=${output}
32 ## BEGIN_VERSION_DEFAULT
33 --fromextension=$ext
34 --content_type=$content_type
35 ## END_VERSION_DEFAULT
36 --toextension=${result.output_format}
37 #if $result.output_format == "mzML"
38 --zlib=${result.zlib}
39 --binaryencoding=${result.precision}
40 --index=${result.index}
41 #end if
42 </command>
43
44 <inputs>
45
46 <!-- BEGIN_VERSION_DEFAULT -->
47 <param format="wiff" name="input" type="data" label="Input wiff"/>
48 <!-- END_VERSION_DEFAULT -->
49 <conditional name="result">
50 <param name="output_format" type="select" label="Output Format">
51 <option value="mzML">mzML</option>
52 <option value="mgf">mgf</option>
53 </param>
54 <when value="mzML">
55 <param type="boolean" name="index" truevalue="true" falsevalue="false" checked="true" label="Index the mzML output"/>
56 <param type="boolean" name="zlib" truevalue="true" falsevalue="false" checked="true" label="Binary zlib array compression"/>
57 <param type="select" name="precision" label="Precision">
58 <option value="32">32</option>
59 <option value="64" selected="true">64</option>
60 </param>
61 </when>
62 <when value="mgf"/>
63 </conditional>
64 <param name="content_type" type="select" label="Output Content Type">
65 <option value="profile">profile</option>
66 <option value="centroid">centroid</option>
67 <option value="proteinpilot">proteinpilot</option>
68 </param>
69 </inputs>
70 <outputs>
71 <data format="mzml" name="output">
72 <change_format>
73 <when input="output_format" value="mgf" format="mgf" />
74 </change_format>
75 </data>
76 </outputs>
77 <help>
78 **What it does**
79
80 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.
81
82 http://www.absciex.com/Documents/Downloads/Software/ABSCIEX-MS%20Data-Converter-User-Guide.pdf
83
84 ------
85
86 **Citation**
87
88 If you use this tool in Galaxy, please cite Chilton J, et al. https://github.com/galaxyproteomics/
89
90 </help>
91 </tool>