annotate isocor.xml @ 0:96f7617b4848 draft

planemo upload
author gmat
date Mon, 27 May 2019 03:33:36 -0400
parents
children fa183805db31
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
96f7617b4848 planemo upload
gmat
parents:
diff changeset
1 <tool id="isocor" name="Isotope Correction for mass spectrometry labeling experiments" version="0.1.2">
96f7617b4848 planemo upload
gmat
parents:
diff changeset
2 <requirements>
96f7617b4848 planemo upload
gmat
parents:
diff changeset
3 <requirement type="package" version="2.1.3">isocor</requirement>
96f7617b4848 planemo upload
gmat
parents:
diff changeset
4 </requirements>
96f7617b4848 planemo upload
gmat
parents:
diff changeset
5 <command detect_errors="exit_code"><![CDATA[
96f7617b4848 planemo upload
gmat
parents:
diff changeset
6 isocorcli -t "$tracer" -M "$input1" -D "$input2" -I "$input3"
96f7617b4848 planemo upload
gmat
parents:
diff changeset
7 #if $tracer_purity:
96f7617b4848 planemo upload
gmat
parents:
diff changeset
8 -p $tracer_purity
96f7617b4848 planemo upload
gmat
parents:
diff changeset
9 #end if
96f7617b4848 planemo upload
gmat
parents:
diff changeset
10 #if $resolution:
96f7617b4848 planemo upload
gmat
parents:
diff changeset
11 -r $resolution
96f7617b4848 planemo upload
gmat
parents:
diff changeset
12 #end if
96f7617b4848 planemo upload
gmat
parents:
diff changeset
13 #if $mz:
96f7617b4848 planemo upload
gmat
parents:
diff changeset
14 -m $mz
96f7617b4848 planemo upload
gmat
parents:
diff changeset
15 #end if
96f7617b4848 planemo upload
gmat
parents:
diff changeset
16 #if $resolution_formula_code:
96f7617b4848 planemo upload
gmat
parents:
diff changeset
17 -f $resolution_formula_code
96f7617b4848 planemo upload
gmat
parents:
diff changeset
18 #end if
96f7617b4848 planemo upload
gmat
parents:
diff changeset
19 #if $correct_na_tracer:
96f7617b4848 planemo upload
gmat
parents:
diff changeset
20 -n
96f7617b4848 planemo upload
gmat
parents:
diff changeset
21 #end if
96f7617b4848 planemo upload
gmat
parents:
diff changeset
22 #if $verbose_log:
96f7617b4848 planemo upload
gmat
parents:
diff changeset
23 -v
96f7617b4848 planemo upload
gmat
parents:
diff changeset
24 #end if
96f7617b4848 planemo upload
gmat
parents:
diff changeset
25 "$input4" > "$output1" 2> "$output2"
96f7617b4848 planemo upload
gmat
parents:
diff changeset
26 ]]></command>
96f7617b4848 planemo upload
gmat
parents:
diff changeset
27 <inputs>
96f7617b4848 planemo upload
gmat
parents:
diff changeset
28 <param type="text" name="tracer" argument="-t" label="the isotopic tracer (e.g. '13C')" />
96f7617b4848 planemo upload
gmat
parents:
diff changeset
29 <param type="data" name="input1" argument="-M" label="metabolites db" format="tabular" />
96f7617b4848 planemo upload
gmat
parents:
diff changeset
30 <param type="data" name="input2" argument="-D" label="derivatives db" format="tabular" />
96f7617b4848 planemo upload
gmat
parents:
diff changeset
31 <param type="data" name="input3" argument="-I" label="isotopes db" format="csv" />
96f7617b4848 planemo upload
gmat
parents:
diff changeset
32 <param type="integer" optional="true" argument="-r" name="resolution" label="HR only: resolution of the mass spectrometer (e.g. 1e4)" />
96f7617b4848 planemo upload
gmat
parents:
diff changeset
33 <param type="integer" optional="true" argument="-m" name="mz" label="HR only: mz at which resolution is given (e.g. '400')" />
96f7617b4848 planemo upload
gmat
parents:
diff changeset
34 <param type="boolean" optional="true" argument="-n" name="correct_na_tracer" label="flag to correct tracer natural abundance" />
96f7617b4848 planemo upload
gmat
parents:
diff changeset
35 <param type="boolean" optional="true" argument="-v" name="verbose_log" label="flag to enable verbose logs" />
96f7617b4848 planemo upload
gmat
parents:
diff changeset
36 <param type="text" optional="true" argument="-p" name="tracer_purity" label="purity vector of the tracer" />
96f7617b4848 planemo upload
gmat
parents:
diff changeset
37
96f7617b4848 planemo upload
gmat
parents:
diff changeset
38 <param name="resolution_formula_code" optional="true" argument="-f" type="select" label="HR only: spectrometer formula code">
96f7617b4848 planemo upload
gmat
parents:
diff changeset
39 <option value="orbitrap">Orbitrap</option>
96f7617b4848 planemo upload
gmat
parents:
diff changeset
40 <option value="ft-icr">ft-icr</option>
96f7617b4848 planemo upload
gmat
parents:
diff changeset
41 <option value="constant">Constant</option>
96f7617b4848 planemo upload
gmat
parents:
diff changeset
42 <option value="datafile">Datafile</option>
96f7617b4848 planemo upload
gmat
parents:
diff changeset
43 </param>
96f7617b4848 planemo upload
gmat
parents:
diff changeset
44
96f7617b4848 planemo upload
gmat
parents:
diff changeset
45 <param type="data" name="input4" label="measurements Data file" format="tabular" />
96f7617b4848 planemo upload
gmat
parents:
diff changeset
46 </inputs>
96f7617b4848 planemo upload
gmat
parents:
diff changeset
47 <outputs>
96f7617b4848 planemo upload
gmat
parents:
diff changeset
48 <data name="output1" label="corrected measurements data file" format="csv" />
96f7617b4848 planemo upload
gmat
parents:
diff changeset
49 <data name="output2" label="processing log file" format="txt" />
96f7617b4848 planemo upload
gmat
parents:
diff changeset
50 </outputs>
96f7617b4848 planemo upload
gmat
parents:
diff changeset
51 <tests>
96f7617b4848 planemo upload
gmat
parents:
diff changeset
52 <test>
96f7617b4848 planemo upload
gmat
parents:
diff changeset
53 <param name="tracer" value="13C"/>
96f7617b4848 planemo upload
gmat
parents:
diff changeset
54 <param name="input1" value="Metabolites.dat"/>
96f7617b4848 planemo upload
gmat
parents:
diff changeset
55 <param name="input2" value="Derivatives.dat"/>
96f7617b4848 planemo upload
gmat
parents:
diff changeset
56 <param name="input3" value="Isotopes.dat"/>
96f7617b4848 planemo upload
gmat
parents:
diff changeset
57 <param name="input4" value="Data_example.tsv"/>
96f7617b4848 planemo upload
gmat
parents:
diff changeset
58 <output name="output1">
96f7617b4848 planemo upload
gmat
parents:
diff changeset
59 <assert_contents>
96f7617b4848 planemo upload
gmat
parents:
diff changeset
60 <has_n_columns n="9" />
96f7617b4848 planemo upload
gmat
parents:
diff changeset
61 </assert_contents>
96f7617b4848 planemo upload
gmat
parents:
diff changeset
62 </output>
96f7617b4848 planemo upload
gmat
parents:
diff changeset
63 <output name="output2">
96f7617b4848 planemo upload
gmat
parents:
diff changeset
64 <assert_contents>
96f7617b4848 planemo upload
gmat
parents:
diff changeset
65 <has_text text="- root - INFO - errors: 0" />
96f7617b4848 planemo upload
gmat
parents:
diff changeset
66 </assert_contents>
96f7617b4848 planemo upload
gmat
parents:
diff changeset
67 </output>
96f7617b4848 planemo upload
gmat
parents:
diff changeset
68 </test>
96f7617b4848 planemo upload
gmat
parents:
diff changeset
69 </tests>
96f7617b4848 planemo upload
gmat
parents:
diff changeset
70 <help><![CDATA[
96f7617b4848 planemo upload
gmat
parents:
diff changeset
71 .. class:: warningmark
96f7617b4848 planemo upload
gmat
parents:
diff changeset
72
96f7617b4848 planemo upload
gmat
parents:
diff changeset
73 We strongly encourage you to read the `Tutorials <https://isocor.readthedocs.io/en/latest/tutorials.html#tutorials>`_ before using IsoCor.
96f7617b4848 planemo upload
gmat
parents:
diff changeset
74
96f7617b4848 planemo upload
gmat
parents:
diff changeset
75 ----
96f7617b4848 planemo upload
gmat
parents:
diff changeset
76
96f7617b4848 planemo upload
gmat
parents:
diff changeset
77 usage:
96f7617b4848 planemo upload
gmat
parents:
diff changeset
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
96f7617b4848 planemo upload
gmat
parents:
diff changeset
79
96f7617b4848 planemo upload
gmat
parents:
diff changeset
80 correction of MS data for naturally occurring isotopes
96f7617b4848 planemo upload
gmat
parents:
diff changeset
81
96f7617b4848 planemo upload
gmat
parents:
diff changeset
82 positional arguments:
96f7617b4848 planemo upload
gmat
parents:
diff changeset
83 inputdata measurements file to process
96f7617b4848 planemo upload
gmat
parents:
diff changeset
84
96f7617b4848 planemo upload
gmat
parents:
diff changeset
85 optional arguments:
96f7617b4848 planemo upload
gmat
parents:
diff changeset
86 -h, --help show this help message and exit
96f7617b4848 planemo upload
gmat
parents:
diff changeset
87 -M M path to metabolites database
96f7617b4848 planemo upload
gmat
parents:
diff changeset
88 -D D path to derivatives database
96f7617b4848 planemo upload
gmat
parents:
diff changeset
89 -I I path to isotopes database
96f7617b4848 planemo upload
gmat
parents:
diff changeset
90 -t TRACER, --tracer TRACER the isotopic tracer (e.g. "13C")
96f7617b4848 planemo upload
gmat
parents:
diff changeset
91
96f7617b4848 planemo upload
gmat
parents:
diff changeset
92 -r RESOLUTION, --resolution RESOLUTION HR only: resolution of the mass spectrometer (e.g. 1e4)
96f7617b4848 planemo upload
gmat
parents:
diff changeset
93
96f7617b4848 planemo upload
gmat
parents:
diff changeset
94 -m MZ_OF_RESOLUTION, --mz_of_resolution MZ_OF_RESOLUTION HR only: mz at which resolution is given (e.g. "400")
96f7617b4848 planemo upload
gmat
parents:
diff changeset
95
96f7617b4848 planemo upload
gmat
parents:
diff changeset
96 -f FORMULA_ORIGIN, --resolution_formula_code FORMULA_ORIGIN
96f7617b4848 planemo upload
gmat
parents:
diff changeset
97 HR only: spectrometer formula code
96f7617b4848 planemo upload
gmat
parents:
diff changeset
98
96f7617b4848 planemo upload
gmat
parents:
diff changeset
99 -p TRACER_PURITY, --tracer_purity TRACER_PURITY purity vector of the tracer
96f7617b4848 planemo upload
gmat
parents:
diff changeset
100 -n, --correct_NA_tracer flag to correct tracer natural abundance
96f7617b4848 planemo upload
gmat
parents:
diff changeset
101 -v, --verbose flag to enable verbose logs
96f7617b4848 planemo upload
gmat
parents:
diff changeset
102 ]]></help>
96f7617b4848 planemo upload
gmat
parents:
diff changeset
103 <citations>
96f7617b4848 planemo upload
gmat
parents:
diff changeset
104 <citation type="bibtex">
96f7617b4848 planemo upload
gmat
parents:
diff changeset
105 @article{10.1093/bioinformatics/btz209,
96f7617b4848 planemo upload
gmat
parents:
diff changeset
106 author = {Delépine, Baudoin and Létisse, Fabien and Millard, Pierre and Bellvert, Floriant and Guionnet, Matthieu and Heuillet, Maud},
96f7617b4848 planemo upload
gmat
parents:
diff changeset
107 title = "{IsoCor: isotope correction for high-resolution MS labeling experiments}",
96f7617b4848 planemo upload
gmat
parents:
diff changeset
108 year = {2019},
96f7617b4848 planemo upload
gmat
parents:
diff changeset
109 month = {03},
96f7617b4848 planemo upload
gmat
parents:
diff changeset
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.}",
96f7617b4848 planemo upload
gmat
parents:
diff changeset
111 doi = {10.1093/bioinformatics/btz209},
96f7617b4848 planemo upload
gmat
parents:
diff changeset
112 url = {https://doi.org/10.1093/bioinformatics/btz209},
96f7617b4848 planemo upload
gmat
parents:
diff changeset
113 eprint = {http://oup.prod.sis.lan/bioinformatics/advance-article-pdf/doi/10.1093/bioinformatics/btz209/28212636/btz209.pdf},
96f7617b4848 planemo upload
gmat
parents:
diff changeset
114 }</citation>
96f7617b4848 planemo upload
gmat
parents:
diff changeset
115 </citations>
96f7617b4848 planemo upload
gmat
parents:
diff changeset
116 </tool>