0
|
1 <?xml version='1.0' encoding='UTF-8'?>
|
|
2 <tool id="SvmTheoreticalSpectrumGeneratorTrainer" name="SvmTheoreticalSpectrumGeneratorTrainer" version="1.12.0">
|
|
3 <description>Trainer for SVM models as input for SvmTheoreticalSpectrumGenerator</description>
|
|
4 <macros>
|
|
5 <token name="@EXECUTABLE@">SvmTheoreticalSpectrumGeneratorTrainer</token>
|
|
6 <import>macros.xml</import>
|
|
7 </macros>
|
|
8 <expand macro="stdio"/>
|
|
9 <expand macro="requirements"/>
|
|
10 <command>SvmTheoreticalSpectrumGeneratorTrainer
|
|
11
|
|
12 -in_spectra ${param_in_spectra}
|
|
13 -in_identifications ${param_in_identifications}
|
|
14 -model_output_file ${param_model_output_file}
|
|
15 -precursor_charge ${param_precursor_charge}
|
|
16 ${param_write_training_files}
|
|
17 -threads \${GALAXY_SLOTS:-24}
|
|
18 -algorithm:number_intensity_levels ${param_number_intensity_levels}
|
|
19 -algorithm:number_regions ${param_number_regions}
|
|
20 -algorithm:parent_tolerance ${param_parent_tolerance}
|
|
21 -algorithm:peak_tolerance ${param_peak_tolerance}
|
|
22 ${param_add_b_ions}
|
|
23 ${param_add_y_ions}
|
|
24 ${param_add_a_ions}
|
|
25 ${param_add_c_ions}
|
|
26 ${param_add_x_ions}
|
|
27 ${param_add_z_ions}
|
|
28 ${param_add_losses}
|
|
29 ${param_add_b2_ions}
|
|
30 ${param_add_y2_ions}
|
|
31 -algorithm:svm:svc_type ${param_svc_type}
|
|
32 -algorithm:svm:svr_type ${param_svr_type}
|
|
33 ${param_scaling}
|
|
34 -algorithm:svm:scaling_lower ${param_scaling_lower}
|
|
35 -algorithm:svm:scaling_upper ${param_scaling_upper}
|
|
36 -algorithm:svm:n_fold ${param_n_fold}
|
|
37 ${param_grid}
|
|
38 ${param_additive_cv}
|
|
39 -algorithm:svm:svc:kernel_type ${param_kernel_type}
|
|
40 -algorithm:svm:svc:degree ${param_degree}
|
|
41 -algorithm:svm:svc:gamma ${param_gamma}
|
|
42 -algorithm:svm:svc:C ${param_C}
|
|
43 -algorithm:svm:svc:nu ${param_nu}
|
|
44 ${param_balancing}
|
|
45 -algorithm:svm:svc:degree_start ${param_degree_start}
|
|
46 -algorithm:svm:svc:degree_step_size ${param_degree_step_size}
|
|
47 -algorithm:svm:svc:degree_stop ${param_degree_stop}
|
|
48 -algorithm:svm:svc:gamma_start ${param_gamma_start}
|
|
49 -algorithm:svm:svc:gamma_step_size ${param_gamma_step_size}
|
|
50 -algorithm:svm:svc:gamma_stop ${param_gamma_stop}
|
|
51 -algorithm:svm:svc:c_start ${param_c_start}
|
|
52 -algorithm:svm:svc:c_step_size ${param_c_step_size}
|
|
53 -algorithm:svm:svc:c_stop ${param_c_stop}
|
|
54 -algorithm:svm:svc:nu_start ${param_nu_start}
|
|
55 -algorithm:svm:svc:nu_step_size ${param_nu_step_size}
|
|
56 -algorithm:svm:svc:nu_stop ${param_nu_stop}
|
|
57 -algorithm:svm:svr:kernel_type ${param_kernel_type}
|
|
58 -algorithm:svm:svr:degree ${param_degree}
|
|
59 -algorithm:svm:svr:gamma ${param_gamma}
|
|
60 -algorithm:svm:svr:C ${param_C}
|
|
61 -algorithm:svm:svr:p ${param_p}
|
|
62 -algorithm:svm:svr:nu ${param_nu}
|
|
63 -algorithm:svm:svr:degree_start ${param_degree_start}
|
|
64 -algorithm:svm:svr:degree_step_size ${param_degree_step_size}
|
|
65 -algorithm:svm:svr:degree_stop ${param_degree_stop}
|
|
66 -algorithm:svm:svr:gamma_start ${param_gamma_start}
|
|
67 -algorithm:svm:svr:gamma_step_size ${param_gamma_step_size}
|
|
68 -algorithm:svm:svr:gamma_stop ${param_gamma_stop}
|
|
69 -algorithm:svm:svr:p_start ${param_p_start}
|
|
70 -algorithm:svm:svr:p_step_size ${param_p_step_size}
|
|
71 -algorithm:svm:svr:p_stop ${param_p_stop}
|
|
72 -algorithm:svm:svr:c_start ${param_c_start}
|
|
73 -algorithm:svm:svr:c_step_size ${param_c_step_size}
|
|
74 -algorithm:svm:svr:c_stop ${param_c_stop}
|
|
75 -algorithm:svm:svr:nu_start ${param_nu_start}
|
|
76 -algorithm:svm:svr:nu_step_size ${param_nu_step_size}
|
|
77 -algorithm:svm:svr:nu_stop ${param_nu_stop}
|
|
78 </command>
|
|
79 <inputs>
|
|
80 <param name="param_in_spectra" type="data" format="mzML" optional="False" label="Input Training Spectra in mzML" help="(-in_spectra)"/>
|
|
81 <param name="param_in_identifications" type="data" format="idXML" optional="False" label="Input file with corresponding sequences in idXML" help="(-in_identifications)"/>
|
|
82 <param name="param_precursor_charge" type="integer" min="1" max="3" optional="True" value="2" label="Precursor charge state used for model training" help="(-precursor_charge)"/>
|
|
83 <param name="param_write_training_files" type="boolean" truevalue="-write_training_files true" falsevalue="-write_training_files false" checked="false" optional="True" label="No models are trained but input training files for libSVM command line tools are produced" help="(-write_training_files)"/>
|
|
84 <param name="param_number_intensity_levels" type="integer" value="7" label="The number of intensity bins (for secondary type models)" help="(-number_intensity_levels)"/>
|
|
85 <param name="param_number_regions" type="integer" value="3" label="The number of regions each spectrum is split to (for secondary type models)" help="(-number_regions)"/>
|
|
86 <param name="param_parent_tolerance" type="float" value="2.5" label="The maximum difference between theoretical and experimental parent mass to accept training spectrum" help="(-parent_tolerance)"/>
|
|
87 <param name="param_peak_tolerance" type="float" value="0.5" label="The maximum mass error for a peak to the expected mass of some ion type" help="(-peak_tolerance)"/>
|
|
88 <param name="param_add_b_ions" type="boolean" truevalue="-algorithm:add_b_ions true" falsevalue="-algorithm:add_b_ions false" checked="true" optional="True" label="Train simulator for b-ions" help="(-add_b_ions)"/>
|
|
89 <param name="param_add_y_ions" type="boolean" truevalue="-algorithm:add_y_ions true" falsevalue="-algorithm:add_y_ions false" checked="true" optional="True" label="Train simulator for y-ions" help="(-add_y_ions)"/>
|
|
90 <param name="param_add_a_ions" type="boolean" truevalue="-algorithm:add_a_ions true" falsevalue="-algorithm:add_a_ions false" checked="false" optional="True" label="Train simulator for a-ions" help="(-add_a_ions)"/>
|
|
91 <param name="param_add_c_ions" type="boolean" truevalue="-algorithm:add_c_ions true" falsevalue="-algorithm:add_c_ions false" checked="false" optional="True" label="Train simulator for c-ions" help="(-add_c_ions)"/>
|
|
92 <param name="param_add_x_ions" type="boolean" truevalue="-algorithm:add_x_ions true" falsevalue="-algorithm:add_x_ions false" checked="false" optional="True" label="Train simulator for x-ions" help="(-add_x_ions)"/>
|
|
93 <param name="param_add_z_ions" type="boolean" truevalue="-algorithm:add_z_ions true" falsevalue="-algorithm:add_z_ions false" checked="false" optional="True" label="Train simulator for z-ions" help="(-add_z_ions)"/>
|
|
94 <param name="param_add_losses" type="boolean" truevalue="-algorithm:add_losses true" falsevalue="-algorithm:add_losses false" checked="false" optional="True" label="Train simulator for neutral losses of H2O and NH3 for b-ions and y-ions" help="(-add_losses)"/>
|
|
95 <param name="param_add_b2_ions" type="boolean" truevalue="-algorithm:add_b2_ions true" falsevalue="-algorithm:add_b2_ions false" checked="false" optional="True" label="Train simulator for doubly charged b-ions" help="(-add_b2_ions)"/>
|
|
96 <param name="param_add_y2_ions" type="boolean" truevalue="-algorithm:add_y2_ions true" falsevalue="-algorithm:add_y2_ions false" checked="false" optional="True" label="Train simulator for double charged y-ions" help="(-add_y2_ions)"/>
|
|
97 <param name="param_svc_type" type="integer" min="0" max="1" optional="True" value="0" label="Type of the SVC: 0=C_SVC 1=NU_SVC" help="(-svc_type)"/>
|
|
98 <param name="param_svr_type" type="integer" min="0" max="1" optional="True" value="1" label="Type of the SVR: 0=EPSILON_SVR 1=NU_SVR" help="(-svr_type)"/>
|
|
99 <param name="param_scaling" type="boolean" truevalue="-algorithm:svm:scaling true" falsevalue="-algorithm:svm:scaling false" checked="true" optional="True" label="Apply scaling of feature values" help="(-scaling)"/>
|
|
100 <param name="param_scaling_lower" type="float" value="0.0" label="Lower bound for scaling" help="(-scaling_lower)"/>
|
|
101 <param name="param_scaling_upper" type="float" value="1.0" label="Upper bound for scaling" help="(-scaling_upper)"/>
|
|
102 <param name="param_n_fold" type="integer" min="1" optional="True" value="5" label="n_fold cross validation is performed" help="(-n_fold)"/>
|
|
103 <param name="param_grid" type="boolean" truevalue="-algorithm:svm:grid true" falsevalue="-algorithm:svm:grid false" checked="false" optional="True" label="Perform grid search" help="(-grid)"/>
|
|
104 <param name="param_additive_cv" type="boolean" truevalue="-algorithm:svm:additive_cv true" falsevalue="-algorithm:svm:additive_cv false" checked="false" optional="True" label="Additive step size (if false multiplicative)" help="(-additive_cv)"/>
|
|
105 <param name="param_kernel_type" type="integer" min="0" max="3" optional="True" value="2" label="Type of the kernel: 0=LINEAR 1=POLY 2=RBF 3=SIGMOID" help="(-kernel_type)"/>
|
|
106 <param name="param_degree" type="integer" min="1" optional="True" value="3" label="For POLY" help="(-degree)"/>
|
|
107 <param name="param_gamma" type="float" min="0.0" optional="True" value="0.0" label="For POLY/RBF/SIGMOID" help="(-gamma)"/>
|
|
108 <param name="param_C" type="float" value="1.0" label="Cost of constraint violation" help="(-C)"/>
|
|
109 <param name="param_nu" type="float" value="0.5" label="For NU_SVC, ONE_CLASS and NU_SVR" help="(-nu)"/>
|
|
110 <param name="param_balancing" type="boolean" truevalue="-algorithm:svm:svc:balancing true" falsevalue="-algorithm:svm:svc:balancing false" checked="true" optional="True" label="Use class balanced SVC training" help="(-balancing)"/>
|
|
111 <param name="param_degree_start" type="integer" min="1" optional="True" value="1" label="starting point of degree" help="(-degree_start)"/>
|
|
112 <param name="param_degree_step_size" type="integer" value="2" label="step size point of degree" help="(-degree_step_size)"/>
|
|
113 <param name="param_degree_stop" type="integer" value="4" label="stopping point of degree" help="(-degree_stop)"/>
|
|
114 <param name="param_gamma_start" type="float" min="0.0" max="1.0" optional="True" value="1e-05" label="starting point of gamma" help="(-gamma_start)"/>
|
|
115 <param name="param_gamma_step_size" type="integer" value="100" label="step size point of gamma" help="(-gamma_step_size)"/>
|
|
116 <param name="param_gamma_stop" type="float" value="0.1" label="stopping point of gamma" help="(-gamma_stop)"/>
|
|
117 <param name="param_c_start" type="float" value="0.1" label="starting point of c" help="(-c_start)"/>
|
|
118 <param name="param_c_step_size" type="integer" value="100" label="step size of c" help="(-c_step_size)"/>
|
|
119 <param name="param_c_stop" type="integer" value="1000" label="stopping point of c" help="(-c_stop)"/>
|
|
120 <param name="param_nu_start" type="float" min="0.0" max="1.0" optional="True" value="0.3" label="starting point of nu" help="(-nu_start)"/>
|
|
121 <param name="param_nu_step_size" type="integer" value="2" label="step size of nu" help="(-nu_step_size)"/>
|
|
122 <param name="param_nu_stop" type="float" min="0.0" max="1.0" optional="True" value="0.6" label="stopping point of nu" help="(-nu_stop)"/>
|
|
123 <param name="param_kernel_type" type="integer" min="0" max="3" optional="True" value="2" label="Type of the kernel: 0=LINEAR 1=POLY 2=RBF 3=SIGMOID" help="(-kernel_type)"/>
|
|
124 <param name="param_degree" type="integer" min="1" optional="True" value="3" label="For POLY" help="(-degree)"/>
|
|
125 <param name="param_gamma" type="float" min="0.0" optional="True" value="0.0" label="For POLY/RBF/SIGMOID" help="(-gamma)"/>
|
|
126 <param name="param_C" type="float" value="1.0" label="Cost of constraint violation" help="(-C)"/>
|
|
127 <param name="param_p" type="float" value="0.1" label="The epsilon for the loss function in epsilon-SVR" help="(-p)"/>
|
|
128 <param name="param_nu" type="float" value="0.5" label="For NU_SVC, ONE_CLASS and NU_SVR" help="(-nu)"/>
|
|
129 <param name="param_degree_start" type="integer" min="1" optional="True" value="1" label="starting point of degree" help="(-degree_start)"/>
|
|
130 <param name="param_degree_step_size" type="integer" value="2" label="step size point of degree" help="(-degree_step_size)"/>
|
|
131 <param name="param_degree_stop" type="integer" value="4" label="stopping point of degree" help="(-degree_stop)"/>
|
|
132 <param name="param_gamma_start" type="float" min="0.0" max="1.0" optional="True" value="1e-05" label="starting point of gamma" help="(-gamma_start)"/>
|
|
133 <param name="param_gamma_step_size" type="integer" value="100" label="step size point of gamma" help="(-gamma_step_size)"/>
|
|
134 <param name="param_gamma_stop" type="float" value="0.1" label="stopping point of gamma" help="(-gamma_stop)"/>
|
|
135 <param name="param_p_start" type="float" value="1e-05" label="starting point of p" help="(-p_start)"/>
|
|
136 <param name="param_p_step_size" type="integer" value="100" label="step size point of p" help="(-p_step_size)"/>
|
|
137 <param name="param_p_stop" type="float" value="0.1" label="stopping point of p" help="(-p_stop)"/>
|
|
138 <param name="param_c_start" type="float" value="0.1" label="starting point of c" help="(-c_start)"/>
|
|
139 <param name="param_c_step_size" type="integer" value="100" label="step size of c" help="(-c_step_size)"/>
|
|
140 <param name="param_c_stop" type="integer" value="1000" label="stopping point of c" help="(-c_stop)"/>
|
|
141 <param name="param_nu_start" type="float" min="0.0" max="1.0" optional="True" value="0.3" label="starting point of nu" help="(-nu_start)"/>
|
|
142 <param name="param_nu_step_size" type="integer" value="2" label="step size of nu" help="(-nu_step_size)"/>
|
|
143 <param name="param_nu_stop" type="float" min="0.0" max="1.0" optional="True" value="0.6" label="stopping point of nu" help="(-nu_stop)"/>
|
|
144 </inputs>
|
|
145 <outputs>
|
|
146 <data name="param_model_output_file" label="Name for output files. For each ion_type one file <filename>_residue_loss_charge.svm and one <filename>.info which has to be passed to the SvmTheoretical SpectrumGenerator" format="data"/>
|
|
147 </outputs>
|
|
148 <help>**What it does**
|
|
149
|
|
150 Trainer for SVM models as input for SvmTheoreticalSpectrumGenerator
|
|
151
|
|
152
|
|
153 For more information, visit http://ftp.mi.fu-berlin.de/OpenMS/release-documentation/html/UTILS_SvmTheoreticalSpectrumGeneratorTrainer.html
|
|
154
|
|
155 @REFERENCES@
|
|
156 </help>
|
|
157 </tool>
|