Mercurial > repos > eslerm > vkmz
comparison vkmz.xml @ 2:d4a9e43aca74 draft
planemo upload for repository https://github.com/HegemanLab/VKMZ commit e0957db19910fc23456bbd8ac59d61f77ffc6dc5-dirty
author | eslerm |
---|---|
date | Wed, 30 May 2018 17:10:28 -0400 |
parents | 0b8ddf650752 |
children | 99fbaa14a69e |
comparison
equal
deleted
inserted
replaced
1:b02af8eb8e6e | 2:d4a9e43aca74 |
---|---|
21 --variable-metadata $mode.variablemetadata | 21 --variable-metadata $mode.variablemetadata |
22 #elif str( $mode.mode_selector ) == "tsv": | 22 #elif str( $mode.mode_selector ) == "tsv": |
23 tsv | 23 tsv |
24 --input $mode.input | 24 --input $mode.input |
25 #end if | 25 #end if |
26 #if $no_adjustment=="True": | 26 #if $advanced_input.polarity=="negative": |
27 --polarity negative | |
28 #else if $advanced_input.polarity=="positive": | |
29 --polarity positive | |
30 #end if | |
31 #if $advanced_input.no_adjustment=="True": | |
27 --no-adjustment | 32 --no-adjustment |
28 #end if | 33 #end if |
29 --output vkmz | 34 --output vkmz |
30 --error $prediction.error | 35 --error $prediction.error |
31 --database $prediction.database_type.database | 36 --database $prediction.database_type.database |
34 --directory $__tool_directory__/ | 39 --directory $__tool_directory__/ |
35 ]]></command> | 40 ]]></command> |
36 | 41 |
37 <inputs> | 42 <inputs> |
38 <conditional name="mode"> | 43 <conditional name="mode"> |
39 <param name="mode_selector" type="select" label="Input data type"> | 44 <param name="mode_selector" type="select" label="Input Data"> |
40 <option value="xcms">xcms</option> | 45 <option value="xcms">xcms</option> |
41 <option value="tsv">tsv</option> | 46 <option value="tsv">tsv</option> |
42 </param> | 47 </param> |
43 <when value="xcms"> | 48 <when value="xcms"> |
44 <param name="datamatrix" label="XCMS Data Matrix" type="data" format="tabular" help="Select XCMS data matrix" /> | 49 <param name="datamatrix" label="XCMS Data Matrix" type="data" format="tabular" help="Select XCMS data matrix" /> |
47 </when> | 52 </when> |
48 <when value="tsv"> | 53 <when value="tsv"> |
49 <param name="input" label="Tabular input" type="data" format="tabular" help="Select tabular data" /> | 54 <param name="input" label="Tabular input" type="data" format="tabular" help="Select tabular data" /> |
50 </when> | 55 </when> |
51 </conditional> | 56 </conditional> |
52 <param name="no_adjustment" label="Turn off mass adjustment" type="boolean" truevalue="True" help="Turn off polarity based mass adjustment. No adjustment should always be selected if reprocessing data generated by VKMZ." /> | 57 <section name="advanced_input" title="Advanced Input Options" expanded="fals:we"> |
58 <param name="polarity" label="Override polarity" type="select" help="Set polarity for all samples ignoring input files"> | |
59 <option value="NA">No override</option> | |
60 <option value="negative">Negative</option> | |
61 <option value="positive">Positive</option> | |
62 </param> | |
63 <param name="no_adjustment" label="Disable polarity based mass adjustment" type="boolean" truevalue="True" help="Use this option if data contains neutral masses." /> | |
64 </section> | |
53 <section name="prediction" title="Prediction Options" expanded="true"> | 65 <section name="prediction" title="Prediction Options" expanded="true"> |
54 <param name="error" label="Mass Error (PPM)" type="float" value="3.0" min="0" help="Set according to mass spectrometer's mass error in parts-per-million" /> | 66 <param name="error" label="Mass Error (PPM)" type="float" value="3.0" min="0" help="Set according to mass spectrometer's mass error in parts-per-million" /> |
55 <conditional name="database_type"> | 67 <conditional name="database_type"> |
56 <param name="database_type_selector" type="select" label="Database Type"> | 68 <param name="database_type_selector" type="select" label="Database Type"> |
57 <option value="heuristic">Heuristically Generated</option> | 69 <option value="heuristic">Heuristically Generated</option> |
127 | 139 |
128 ============= | 140 ============= |
129 Documentation | 141 Documentation |
130 ============= | 142 ============= |
131 | 143 |
132 **Input Modes** | 144 **Input Data** |
133 | 145 |
134 VKMZ is designed to use XCMS [1] data as input. Tabular data can also be used as input. | 146 VKMZ is designed to use XCMS [1] data as input. Tabular data can also be used as input. |
135 | 147 |
136 *XCMS* mode requires three files which XCMS generates: the data matrix, sample metadata, and variable metadata files. | 148 *XCMS* mode requires three files which XCMS generates: the data matrix, sample metadata, and variable metadata files. |
137 | 149 |
138 *Tabular* mode requires a tab delimited file with the first five columns being: sample_id, polarity, mz, retention_time, and intensity. | 150 *Tabular* mode requires a tab delimited file with the first five columns being: sample_id, polarity, mz, retention_time, and intensity. |
139 | 151 |
140 **Mass adjustment** | 152 **Advanced Input Options** |
141 | 153 |
142 To calculate a features nominal mass VKMZ adjusts masses by removing or adding the mass of a proton based on polarity. | 154 *Override polarity* allows users to set the polarity of all features to either positive or negative. This option should not be used if data contains both polarity types. |
143 | 155 |
144 Mass adjustment should be turned off if using nominal mass data. VKMZ tabular output contains nominal masses. | 156 *Disable mass adjustment* prevents converting charged masses to neutral masses. If you are using neutral mass data this option should be used. |
145 | 157 |
146 **Prediction Options** | 158 **Prediction Options** |
147 | 159 |
148 For each feature in the data VKMZ attempts to predict a molecular formula by comparing the feature's mass to a database of known formula masses. A prediction is made when a known mass is within a mass error of the observed mass. VKMZ finds all predictions for an observed mass within the mass error. The prediction with the lowest delta, absolute difference between observed and known mass, is plotted. Features without predictions are discarded. Using low resolution data may result in finding too many predictions per feature to be useful, especially for large mass metabolites. | 160 For each feature in the data VKMZ attempts to predict a molecular formula by comparing the feature's mass to a database of known formula masses. A prediction is made when a known mass is within a mass error of the observed mass. VKMZ finds all predictions for an observed mass within the mass error. The prediction with the lowest delta, absolute difference between observed and known mass, is plotted. Features without predictions are discarded. Using low resolution data may result in finding too many predictions per feature to be useful, especially for large mass metabolites. |
149 | 161 |
150 Set the mass error option to the mass error, in parts per million, of the mass spectrometer which collected the initial data. | 162 Set *Mass error* to the mass error, in parts per million, of the mass spectrometer which collected the data. |
151 | 163 |
152 Heuristically generated databases for unlabeled and labeled formulas are included with VKMZ [2]. Custom database can also be set. | 164 *Database* can be set to heuristically generated databases for unlabeled and labeled chemcials [2] or to a custom database. |
153 | 165 |
154 **Diagram Options** | 166 **Diagram Options** |
155 | 167 |
156 Predicted features are plotted as markers. The size of each marker is determined by the minimum marker size and a marker size algorithm. The marker size algorithms use minimum marker size as a variable. | 168 Predicted features are plotted as markers. The size of each marker is determined by the minimum marker size and a marker size algorithm. The marker size algorithms use minimum marker size as a variable. |
157 ]]></help> | 169 ]]></help> |