Mercurial > repos > eslerm > vkmz
diff 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 |
line wrap: on
line diff
--- a/vkmz.xml Wed May 30 13:17:32 2018 -0400 +++ b/vkmz.xml Wed May 30 17:10:28 2018 -0400 @@ -23,7 +23,12 @@ tsv --input $mode.input #end if - #if $no_adjustment=="True": + #if $advanced_input.polarity=="negative": + --polarity negative + #else if $advanced_input.polarity=="positive": + --polarity positive + #end if + #if $advanced_input.no_adjustment=="True": --no-adjustment #end if --output vkmz @@ -36,7 +41,7 @@ <inputs> <conditional name="mode"> - <param name="mode_selector" type="select" label="Input data type"> + <param name="mode_selector" type="select" label="Input Data"> <option value="xcms">xcms</option> <option value="tsv">tsv</option> </param> @@ -49,7 +54,14 @@ <param name="input" label="Tabular input" type="data" format="tabular" help="Select tabular data" /> </when> </conditional> - <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." /> + <section name="advanced_input" title="Advanced Input Options" expanded="fals:we"> + <param name="polarity" label="Override polarity" type="select" help="Set polarity for all samples ignoring input files"> + <option value="NA">No override</option> + <option value="negative">Negative</option> + <option value="positive">Positive</option> + </param> + <param name="no_adjustment" label="Disable polarity based mass adjustment" type="boolean" truevalue="True" help="Use this option if data contains neutral masses." /> + </section> <section name="prediction" title="Prediction Options" expanded="true"> <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" /> <conditional name="database_type"> @@ -129,7 +141,7 @@ Documentation ============= -**Input Modes** +**Input Data** VKMZ is designed to use XCMS [1] data as input. Tabular data can also be used as input. @@ -137,19 +149,19 @@ *Tabular* mode requires a tab delimited file with the first five columns being: sample_id, polarity, mz, retention_time, and intensity. -**Mass adjustment** +**Advanced Input Options** -To calculate a features nominal mass VKMZ adjusts masses by removing or adding the mass of a proton based on polarity. +*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. -Mass adjustment should be turned off if using nominal mass data. VKMZ tabular output contains nominal masses. +*Disable mass adjustment* prevents converting charged masses to neutral masses. If you are using neutral mass data this option should be used. **Prediction Options** 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. -Set the mass error option to the mass error, in parts per million, of the mass spectrometer which collected the initial data. +Set *Mass error* to the mass error, in parts per million, of the mass spectrometer which collected the data. -Heuristically generated databases for unlabeled and labeled formulas are included with VKMZ [2]. Custom database can also be set. +*Database* can be set to heuristically generated databases for unlabeled and labeled chemcials [2] or to a custom database. **Diagram Options**