comparison MapRTTransformer.xml @ 0:652ee76d7113 draft

planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit fb85d488133bb2b5f483b52b2db0ac66038fafb8
author galaxyp
date Wed, 01 Mar 2017 12:24:14 -0500
parents
children af8d0e751415
comparison
equal deleted inserted replaced
-1:000000000000 0:652ee76d7113
1 <?xml version='1.0' encoding='UTF-8'?>
2 <!--This is a configuration file for the integration of a tools into Galaxy (https://galaxyproject.org/). This file was automatically generated using CTD2Galaxy.-->
3 <!--Proposed Tool Section: [Map Alignment]-->
4 <tool id="MapRTTransformer" name="MapRTTransformer" version="2.1.0">
5 <description>Applies retention time transformations to maps.</description>
6 <macros>
7 <token name="@EXECUTABLE@">MapRTTransformer</token>
8 <import>macros.xml</import>
9 </macros>
10 <expand macro="references"/>
11 <expand macro="stdio"/>
12 <expand macro="requirements"/>
13 <command>MapRTTransformer
14
15 #if $param_in:
16 -in $param_in
17 #end if
18 #if $param_out:
19 -out $param_out
20 #end if
21 #if $param_trafo_in:
22 -trafo_in $param_trafo_in
23 #end if
24 #if $param_trafo_out:
25 -trafo_out $param_trafo_out
26 #end if
27 #if $param_invert:
28 -invert
29 #end if
30 #if $param_store_original_rt:
31 -store_original_rt
32 #end if
33 #if $param_model_type:
34 -model:type $param_model_type
35 #end if
36 #if $param_model_linear_symmetric_regression:
37 -model:linear:symmetric_regression
38 #end if
39 #if $param_model_b_spline_wavelength:
40 -model:b_spline:wavelength $param_model_b_spline_wavelength
41 #end if
42 #if $param_model_b_spline_num_nodes:
43 -model:b_spline:num_nodes $param_model_b_spline_num_nodes
44 #end if
45 #if $param_model_b_spline_extrapolate:
46 -model:b_spline:extrapolate $param_model_b_spline_extrapolate
47 #end if
48 #if $param_model_b_spline_boundary_condition:
49 -model:b_spline:boundary_condition $param_model_b_spline_boundary_condition
50 #end if
51 #if $param_model_lowess_span:
52 -model:lowess:span $param_model_lowess_span
53 #end if
54 #if $param_model_lowess_num_iterations:
55 -model:lowess:num_iterations $param_model_lowess_num_iterations
56 #end if
57 #if $param_model_lowess_delta:
58 -model:lowess:delta $param_model_lowess_delta
59 #end if
60 #if $param_model_lowess_interpolation_type:
61 -model:lowess:interpolation_type $param_model_lowess_interpolation_type
62 #end if
63 #if $param_model_lowess_extrapolation_type:
64 -model:lowess:extrapolation_type $param_model_lowess_extrapolation_type
65 #end if
66 #if $param_model_interpolated_interpolation_type:
67 -model:interpolated:interpolation_type $param_model_interpolated_interpolation_type
68 #end if
69 #if $param_model_interpolated_extrapolation_type:
70 -model:interpolated:extrapolation_type $param_model_interpolated_extrapolation_type
71 #end if
72 #if $adv_opts.adv_opts_selector=='advanced':
73 #if $adv_opts.param_force:
74 -force
75 #end if
76 #end if
77 </command>
78 <inputs>
79 <param name="param_in" type="data" format="featurexml,consensusxml,mzml,idxml" optional="True" label="Input file to transform (separated by blanks)" help="(-in) "/>
80 <param name="param_trafo_in" type="data" format="trafoxml" optional="False" label="Transformation to apply" help="(-trafo_in) "/>
81 <param name="param_invert" display="radio" type="boolean" truevalue="-invert" falsevalue="" checked="false" optional="True" label="Invert transformation (approximatively) before applying it" help="(-invert) "/>
82 <param name="param_store_original_rt" display="radio" type="boolean" truevalue="-store_original_rt" falsevalue="" checked="false" optional="True" label="Store the original retention times (before transformation) as meta data in the output file" help="(-store_original_rt) "/>
83 <param name="param_model_type" type="select" optional="False" value="none" label="Type of model" help="(-type) ">
84 <option value="none" selected="true">none</option>
85 <option value="linear">linear</option>
86 <option value="b_spline">b_spline</option>
87 <option value="lowess">lowess</option>
88 <option value="interpolated">interpolated</option>
89 </param>
90 <param name="param_model_linear_symmetric_regression" display="radio" type="boolean" truevalue="-model:linear:symmetric_regression" falsevalue="" checked="false" optional="True" label="Perform linear regression on 'y - x' vs" help="(-symmetric_regression) 'y + x', instead of on 'y' vs. 'x'"/>
91 <param name="param_model_b_spline_wavelength" type="float" min="0.0" optional="True" value="0.0" label="Determines the amount of smoothing by setting the number of nodes for the B-spline" help="(-wavelength) The number is chosen so that the spline approximates a low-pass filter with this cutoff wavelength. The wavelength is given in the same units as the data; a higher value means more smoothing. '0' sets the number of nodes to twice the number of input points"/>
92 <param name="param_model_b_spline_num_nodes" type="integer" min="0" optional="True" value="5" label="Number of nodes for B-spline fitting" help="(-num_nodes) Overrides 'wavelength' if set (to two or greater). A lower value means more smoothing"/>
93 <param name="param_model_b_spline_extrapolate" display="radio" type="select" optional="False" value="linear" label="Method to use for extrapolation beyond the original data range" help="(-extrapolate) 'linear': Linear extrapolation using the slope of the B-spline at the corresponding endpoint. 'b_spline': Use the B-spline (as for interpolation). 'constant': Use the constant value of the B-spline at the corresponding endpoint. 'global_linear': Use a linear fit through the data (which will most probably introduce discontinuities at the ends of the data range)">
94 <option value="linear" selected="true">linear</option>
95 <option value="b_spline">b_spline</option>
96 <option value="constant">constant</option>
97 <option value="global_linear">global_linear</option>
98 </param>
99 <param name="param_model_b_spline_boundary_condition" type="integer" min="0" max="2" optional="True" value="2" label="Boundary condition at B-spline endpoints: 0 (value zero), 1 (first derivative zero) or 2 (second derivative zero)" help="(-boundary_condition) "/>
100 <param name="param_model_lowess_span" type="float" min="0.0" max="1.0" optional="True" value="0.666666666667" label="Fraction of datapoints (f) to use for each local regression (determines the amount of smoothing)" help="(-span) Choosing this parameter in the range .2 to .8 usually results in a good fit"/>
101 <param name="param_model_lowess_num_iterations" type="integer" min="0" optional="True" value="3" label="Number of robustifying iterations for lowess fitting" help="(-num_iterations) "/>
102 <param name="param_model_lowess_delta" type="float" value="-1.0" label="Nonnegative parameter which may be used to save computations (recommended value is 0.01 of the range of the input," help="(-delta) e.g. for data ranging from 1000 seconds to 2000 seconds, it could be set to 10). Setting a negative value will automatically do this"/>
103 <param name="param_model_lowess_interpolation_type" display="radio" type="select" optional="False" value="cspline" label="Method to use for interpolation between datapoints computed by lowess" help="(-interpolation_type) 'linear': Linear interpolation. 'cspline': Use the cubic spline for interpolation. 'akima': Use an akima spline for interpolation">
104 <option value="linear">linear</option>
105 <option value="cspline" selected="true">cspline</option>
106 <option value="akima">akima</option>
107 </param>
108 <param name="param_model_lowess_extrapolation_type" display="radio" type="select" optional="False" value="four-point-linear" label="Method to use for extrapolation outside the data range" help="(-extrapolation_type) 'two-point-linear': Uses a line through the first and last point to extrapolate. 'four-point-linear': Uses a line through the first and second point to extrapolate in front and and a line through the last and second-to-last point in the end. 'global-linear': Uses a linear regression to fit a line through all data points and use it for interpolation">
109 <option value="two-point-linear">two-point-linear</option>
110 <option value="four-point-linear" selected="true">four-point-linear</option>
111 <option value="global-linear">global-linear</option>
112 </param>
113 <param name="param_model_interpolated_interpolation_type" display="radio" type="select" optional="False" value="cspline" label="Type of interpolation to apply" help="(-interpolation_type) ">
114 <option value="linear">linear</option>
115 <option value="cspline" selected="true">cspline</option>
116 <option value="akima">akima</option>
117 </param>
118 <param name="param_model_interpolated_extrapolation_type" display="radio" type="select" optional="False" value="two-point-linear" label="Type of extrapolation to apply: two-point-linear: use the first and last data point to build a single linear model, four-point-linear: build two linear models on both ends using the first two / last two points, global-linear: use all points to build a single linear model" help="(-extrapolation_type) Note that global-linear may not be continuous at the border">
119 <option value="two-point-linear" selected="true">two-point-linear</option>
120 <option value="four-point-linear">four-point-linear</option>
121 <option value="global-linear">global-linear</option>
122 </param>
123 <expand macro="advanced_options">
124 <param name="param_force" display="radio" type="boolean" truevalue="-force" falsevalue="" checked="false" optional="True" label="Overwrite tool specific checks" help="(-force) "/>
125 </expand>
126 </inputs>
127 <outputs>
128 <data name="param_out" metadata_source="param_in" format="input"/>
129 <data name="param_trafo_out" format="trafoxml"/>
130 </outputs>
131 <help>Applies retention time transformations to maps.
132
133
134 For more information, visit http://ftp.mi.fu-berlin.de/OpenMS/release-documentation/html/TOPP_MapRTTransformer.html</help>
135 </tool>