comparison isocor.xml @ 0:96f7617b4848 draft

planemo upload
author gmat
date Mon, 27 May 2019 03:33:36 -0400
parents
children fa183805db31
comparison
equal deleted inserted replaced
-1:000000000000 0:96f7617b4848
1 <tool id="isocor" name="Isotope Correction for mass spectrometry labeling experiments" version="0.1.2">
2 <requirements>
3 <requirement type="package" version="2.1.3">isocor</requirement>
4 </requirements>
5 <command detect_errors="exit_code"><![CDATA[
6 isocorcli -t "$tracer" -M "$input1" -D "$input2" -I "$input3"
7 #if $tracer_purity:
8 -p $tracer_purity
9 #end if
10 #if $resolution:
11 -r $resolution
12 #end if
13 #if $mz:
14 -m $mz
15 #end if
16 #if $resolution_formula_code:
17 -f $resolution_formula_code
18 #end if
19 #if $correct_na_tracer:
20 -n
21 #end if
22 #if $verbose_log:
23 -v
24 #end if
25 "$input4" > "$output1" 2> "$output2"
26 ]]></command>
27 <inputs>
28 <param type="text" name="tracer" argument="-t" label="the isotopic tracer (e.g. '13C')" />
29 <param type="data" name="input1" argument="-M" label="metabolites db" format="tabular" />
30 <param type="data" name="input2" argument="-D" label="derivatives db" format="tabular" />
31 <param type="data" name="input3" argument="-I" label="isotopes db" format="csv" />
32 <param type="integer" optional="true" argument="-r" name="resolution" label="HR only: resolution of the mass spectrometer (e.g. 1e4)" />
33 <param type="integer" optional="true" argument="-m" name="mz" label="HR only: mz at which resolution is given (e.g. '400')" />
34 <param type="boolean" optional="true" argument="-n" name="correct_na_tracer" label="flag to correct tracer natural abundance" />
35 <param type="boolean" optional="true" argument="-v" name="verbose_log" label="flag to enable verbose logs" />
36 <param type="text" optional="true" argument="-p" name="tracer_purity" label="purity vector of the tracer" />
37
38 <param name="resolution_formula_code" optional="true" argument="-f" type="select" label="HR only: spectrometer formula code">
39 <option value="orbitrap">Orbitrap</option>
40 <option value="ft-icr">ft-icr</option>
41 <option value="constant">Constant</option>
42 <option value="datafile">Datafile</option>
43 </param>
44
45 <param type="data" name="input4" label="measurements Data file" format="tabular" />
46 </inputs>
47 <outputs>
48 <data name="output1" label="corrected measurements data file" format="csv" />
49 <data name="output2" label="processing log file" format="txt" />
50 </outputs>
51 <tests>
52 <test>
53 <param name="tracer" value="13C"/>
54 <param name="input1" value="Metabolites.dat"/>
55 <param name="input2" value="Derivatives.dat"/>
56 <param name="input3" value="Isotopes.dat"/>
57 <param name="input4" value="Data_example.tsv"/>
58 <output name="output1">
59 <assert_contents>
60 <has_n_columns n="9" />
61 </assert_contents>
62 </output>
63 <output name="output2">
64 <assert_contents>
65 <has_text text="- root - INFO - errors: 0" />
66 </assert_contents>
67 </output>
68 </test>
69 </tests>
70 <help><![CDATA[
71 .. class:: warningmark
72
73 We strongly encourage you to read the `Tutorials <https://isocor.readthedocs.io/en/latest/tutorials.html#tutorials>`_ before using IsoCor.
74
75 ----
76
77 usage:
78 isocorcli [-h] [-M M] [-D D] [-I I] -t TRACER [-r RESOLUTION] [-m MZ_OF_RESOLUTION] [-f {orbitrap,ft-icr,constant,datafile}] [-p TRACER_PURITY] [-n] [-v] inputdata
79
80 correction of MS data for naturally occurring isotopes
81
82 positional arguments:
83 inputdata measurements file to process
84
85 optional arguments:
86 -h, --help show this help message and exit
87 -M M path to metabolites database
88 -D D path to derivatives database
89 -I I path to isotopes database
90 -t TRACER, --tracer TRACER the isotopic tracer (e.g. "13C")
91
92 -r RESOLUTION, --resolution RESOLUTION HR only: resolution of the mass spectrometer (e.g. 1e4)
93
94 -m MZ_OF_RESOLUTION, --mz_of_resolution MZ_OF_RESOLUTION HR only: mz at which resolution is given (e.g. "400")
95
96 -f FORMULA_ORIGIN, --resolution_formula_code FORMULA_ORIGIN
97 HR only: spectrometer formula code
98
99 -p TRACER_PURITY, --tracer_purity TRACER_PURITY purity vector of the tracer
100 -n, --correct_NA_tracer flag to correct tracer natural abundance
101 -v, --verbose flag to enable verbose logs
102 ]]></help>
103 <citations>
104 <citation type="bibtex">
105 @article{10.1093/bioinformatics/btz209,
106 author = {Delépine, Baudoin and Létisse, Fabien and Millard, Pierre and Bellvert, Floriant and Guionnet, Matthieu and Heuillet, Maud},
107 title = "{IsoCor: isotope correction for high-resolution MS labeling experiments}",
108 year = {2019},
109 month = {03},
110 abstract = "{Mass spectrometry (MS) is widely used for isotopic studies of metabolism and other (bio)chemical processes. Quantitative applications in systems and synthetic biology require to correct the raw MS data for the contribution of naturally occurring isotopes. Several tools are available to correct low-resolution MS data, and recent developments made substantial improvements by introducing resolution-dependent correction methods, hence opening the way to the correction of high-resolution MS (HRMS) data. Nevertheless, current HRMS correction methods partly fail to determine which isotopic species are resolved from the tracer isotopologues and should thus be corrected. We present an updated version of our isotope correction software (IsoCor) with a novel correction algorithm which ensures to accurately exploit any chemical species with any isotopic tracer, at any MS resolution. IsoCor v2 also includes a novel graphical user interface for intuitive use by end-users and a command-line interface to streamline integration into existing pipelines.IsoCor v2 is implemented in Python 3 and was tested on Windows, Unix and MacOS platforms. The source code and the documentation are freely distributed under GPL3 license at https://github.com/MetaSys-LISBP/IsoCor/ and https://isocor.readthedocs.io/.Supplementary data are available at Bioinformatics online.}",
111 doi = {10.1093/bioinformatics/btz209},
112 url = {https://doi.org/10.1093/bioinformatics/btz209},
113 eprint = {http://oup.prod.sis.lan/bioinformatics/advance-article-pdf/doi/10.1093/bioinformatics/btz209/28212636/btz209.pdf},
114 }</citation>
115 </citations>
116 </tool>