annotate SvmTheoreticalSpectrumGeneratorTrainer.xml @ 9:94b81345543d draft

"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
author galaxyp
date Wed, 09 Sep 2020 19:57:32 +0000
parents e98ae1229a67
children b1a8601e2ea0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
a92f7bc73817 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit fb85d488133bb2b5f483b52b2db0ac66038fafb8
galaxyp
parents:
diff changeset
1 <?xml version='1.0' encoding='UTF-8'?>
5
6d9c00e778ff planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 58476cadaaf10b494317a604ad81d41c2d15f29b
galaxyp
parents: 1
diff changeset
2 <!--This is a configuration file for the integration of a tools into Galaxy (https://galaxyproject.org/). This file was automatically generated using CTDConverter.-->
0
a92f7bc73817 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit fb85d488133bb2b5f483b52b2db0ac66038fafb8
galaxyp
parents:
diff changeset
3 <!--Proposed Tool Section: [Utilities]-->
9
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
4 <tool id="SvmTheoreticalSpectrumGeneratorTrainer" name="SvmTheoreticalSpectrumGeneratorTrainer" version="@TOOL_VERSION@+galaxy@GALAXY_VERSION@" profile="20.05">
0
a92f7bc73817 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit fb85d488133bb2b5f483b52b2db0ac66038fafb8
galaxyp
parents:
diff changeset
5 <description>Trainer for SVM models as input for SvmTheoreticalSpectrumGenerator</description>
a92f7bc73817 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit fb85d488133bb2b5f483b52b2db0ac66038fafb8
galaxyp
parents:
diff changeset
6 <macros>
a92f7bc73817 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit fb85d488133bb2b5f483b52b2db0ac66038fafb8
galaxyp
parents:
diff changeset
7 <token name="@EXECUTABLE@">SvmTheoreticalSpectrumGeneratorTrainer</token>
a92f7bc73817 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit fb85d488133bb2b5f483b52b2db0ac66038fafb8
galaxyp
parents:
diff changeset
8 <import>macros.xml</import>
9
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
9 <import>macros_autotest.xml</import>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
10 <import>macros_test.xml</import>
0
a92f7bc73817 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit fb85d488133bb2b5f483b52b2db0ac66038fafb8
galaxyp
parents:
diff changeset
11 </macros>
9
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
12 <expand macro="requirements"/>
0
a92f7bc73817 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit fb85d488133bb2b5f483b52b2db0ac66038fafb8
galaxyp
parents:
diff changeset
13 <expand macro="stdio"/>
9
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
14 <command detect_errors="exit_code"><![CDATA[@QUOTE_FOO@
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
15 @EXT_FOO@
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
16 #import re
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
17
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
18 ## Preprocessing
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
19 mkdir in_spectra &&
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
20 ln -s '$in_spectra' 'in_spectra/${re.sub("[^\w\-_]", "_", $in_spectra.element_identifier)}.$gxy2omsext($in_spectra.ext)' &&
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
21 mkdir in_identifications &&
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
22 ln -s '$in_identifications' 'in_identifications/${re.sub("[^\w\-_]", "_", $in_identifications.element_identifier)}.$gxy2omsext($in_identifications.ext)' &&
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
23 mkdir model_output_file &&
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
24
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
25 ## Main program call
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
26
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
27 set -o pipefail &&
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
28 @EXECUTABLE@ -write_ctd ./ &&
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
29 python3 '$__tool_directory__/fill_ctd.py' '@EXECUTABLE@.ctd' '$args_json' '$hardcoded_json' &&
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
30 @EXECUTABLE@ -ini @EXECUTABLE@.ctd
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
31 -in_spectra
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
32 'in_spectra/${re.sub("[^\w\-_]", "_", $in_spectra.element_identifier)}.$gxy2omsext($in_spectra.ext)'
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
33 -in_identifications
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
34 'in_identifications/${re.sub("[^\w\-_]", "_", $in_identifications.element_identifier)}.$gxy2omsext($in_identifications.ext)'
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
35 -model_output_file
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
36 'model_output_file/output.${gxy2omsext("txt")}'
0
a92f7bc73817 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit fb85d488133bb2b5f483b52b2db0ac66038fafb8
galaxyp
parents:
diff changeset
37
9
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
38 ## Postprocessing
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
39 && mv 'model_output_file/output.${gxy2omsext("txt")}' '$model_output_file'
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
40 #if "ctd_out_FLAG" in $OPTIONAL_OUTPUTS
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
41 && mv '@EXECUTABLE@.ctd' '$ctd_out'
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
42 #end if]]></command>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
43 <configfiles>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
44 <inputs name="args_json" data_style="paths"/>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
45 <configfile name="hardcoded_json"><![CDATA[{"log": "log.txt", "threads": "\${GALAXY_SLOTS:-1}", "no_progress": true}]]></configfile>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
46 </configfiles>
0
a92f7bc73817 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit fb85d488133bb2b5f483b52b2db0ac66038fafb8
galaxyp
parents:
diff changeset
47 <inputs>
9
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
48 <param name="in_spectra" argument="-in_spectra" type="data" format="mzml" optional="false" label="Input Training Spectra in mzML" help=" select mzml data sets(s)"/>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
49 <param name="in_identifications" argument="-in_identifications" type="data" format="idxml" optional="false" label="Input file with corresponding sequences in idXML" help=" select idxml data sets(s)"/>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
50 <param name="precursor_charge" argument="-precursor_charge" type="integer" optional="true" min="1" max="3" value="2" label="Precursor charge state used for model training" help=""/>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
51 <param name="write_training_files" argument="-write_training_files" type="boolean" truevalue="true" falsevalue="false" checked="false" label="No models are trained but input training files for libSVM command line tools are produced" help=""/>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
52 <section name="algorithm" title="" help="" expanded="false">
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
53 <param name="number_intensity_levels" argument="-algorithm:number_intensity_levels" type="integer" optional="true" value="7" label="The number of intensity bins (for secondary type models)" help=""/>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
54 <param name="number_regions" argument="-algorithm:number_regions" type="integer" optional="true" value="3" label="The number of regions each spectrum is split to (for secondary type models)" help=""/>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
55 <param name="parent_tolerance" argument="-algorithm:parent_tolerance" type="float" optional="true" value="2.5" label="The maximum difference between theoretical and experimental parent mass to accept training spectrum" help=""/>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
56 <param name="peak_tolerance" argument="-algorithm:peak_tolerance" type="float" optional="true" value="0.5" label="The maximum mass error for a peak to the expected mass of some ion type" help=""/>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
57 <param name="add_b_ions" argument="-algorithm:add_b_ions" type="boolean" truevalue="true" falsevalue="false" checked="true" label="Train simulator for b-ions" help=""/>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
58 <param name="add_y_ions" argument="-algorithm:add_y_ions" type="boolean" truevalue="true" falsevalue="false" checked="true" label="Train simulator for y-ions" help=""/>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
59 <param name="add_a_ions" argument="-algorithm:add_a_ions" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Train simulator for a-ions" help=""/>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
60 <param name="add_c_ions" argument="-algorithm:add_c_ions" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Train simulator for c-ions" help=""/>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
61 <param name="add_x_ions" argument="-algorithm:add_x_ions" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Train simulator for x-ions" help=""/>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
62 <param name="add_z_ions" argument="-algorithm:add_z_ions" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Train simulator for z-ions" help=""/>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
63 <param name="add_losses" argument="-algorithm:add_losses" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Train simulator for neutral losses of H2O and NH3 for b-ions and y-ions" help=""/>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
64 <param name="add_b2_ions" argument="-algorithm:add_b2_ions" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Train simulator for doubly charged b-ions" help=""/>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
65 <param name="add_y2_ions" argument="-algorithm:add_y2_ions" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Train simulator for double charged y-ions" help=""/>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
66 <section name="svm" title="Parameters controlling SVM trainig behaviou" help="All parameter names are chosen as in the libSVM library. Please refer to libSVM documentation for explanation" expanded="false">
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
67 <param name="svc_type" argument="-algorithm:svm:svc_type" type="integer" optional="true" min="0" max="1" value="0" label="Type of the SVC: 0=C_SVC 1=NU_SVC" help=""/>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
68 <param name="svr_type" argument="-algorithm:svm:svr_type" type="integer" optional="true" min="0" max="1" value="1" label="Type of the SVR: 0=EPSILON_SVR 1=NU_SVR" help=""/>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
69 <param name="scaling" argument="-algorithm:svm:scaling" type="boolean" truevalue="true" falsevalue="false" checked="true" label="Apply scaling of feature values" help=""/>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
70 <param name="scaling_lower" argument="-algorithm:svm:scaling_lower" type="float" optional="true" value="0.0" label="Lower bound for scaling" help=""/>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
71 <param name="scaling_upper" argument="-algorithm:svm:scaling_upper" type="float" optional="true" value="1.0" label="Upper bound for scaling" help=""/>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
72 <param name="n_fold" argument="-algorithm:svm:n_fold" type="integer" optional="true" min="1" value="5" label="n_fold cross validation is performed" help=""/>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
73 <param name="grid" argument="-algorithm:svm:grid" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Perform grid search" help=""/>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
74 <param name="additive_cv" argument="-algorithm:svm:additive_cv" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Additive step size (if false multiplicative)" help=""/>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
75 <section name="svc" title="Parameters for svm - classification of missing/abundant" help="" expanded="false">
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
76 <param name="kernel_type" argument="-algorithm:svm:svc:kernel_type" type="integer" optional="true" min="0" max="3" value="2" label="Type of the kernel: 0=LINEAR 1=POLY 2=RBF 3=SIGMOID" help=""/>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
77 <param name="degree" argument="-algorithm:svm:svc:degree" type="integer" optional="true" min="1" value="3" label="For POLY" help=""/>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
78 <param name="gamma" argument="-algorithm:svm:svc:gamma" type="float" optional="true" min="0.0" value="0.0" label="For POLY/RBF/SIGMOID" help=""/>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
79 <param name="C" argument="-algorithm:svm:svc:C" type="float" optional="true" value="1.0" label="Cost of constraint violation" help=""/>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
80 <param name="nu" argument="-algorithm:svm:svc:nu" type="float" optional="true" value="0.5" label="For NU_SVC, ONE_CLASS and NU_SVR" help=""/>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
81 <param name="balancing" argument="-algorithm:svm:svc:balancing" type="boolean" truevalue="true" falsevalue="false" checked="true" label="Use class balanced SVC training" help=""/>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
82 <param name="degree_start" argument="-algorithm:svm:svc:degree_start" type="integer" optional="true" min="1" value="1" label="starting point of degree" help=""/>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
83 <param name="degree_step_size" argument="-algorithm:svm:svc:degree_step_size" type="integer" optional="true" value="2" label="step size point of degree" help=""/>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
84 <param name="degree_stop" argument="-algorithm:svm:svc:degree_stop" type="integer" optional="true" value="4" label="stopping point of degree" help=""/>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
85 <param name="gamma_start" argument="-algorithm:svm:svc:gamma_start" type="float" optional="true" min="0.0" max="1.0" value="1e-05" label="starting point of gamma" help=""/>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
86 <param name="gamma_step_size" argument="-algorithm:svm:svc:gamma_step_size" type="integer" optional="true" value="100" label="step size point of gamma" help=""/>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
87 <param name="gamma_stop" argument="-algorithm:svm:svc:gamma_stop" type="float" optional="true" value="0.1" label="stopping point of gamma" help=""/>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
88 <param name="c_start" argument="-algorithm:svm:svc:c_start" type="float" optional="true" value="0.1" label="starting point of c" help=""/>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
89 <param name="c_step_size" argument="-algorithm:svm:svc:c_step_size" type="integer" optional="true" value="100" label="step size of c" help=""/>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
90 <param name="c_stop" argument="-algorithm:svm:svc:c_stop" type="integer" optional="true" value="1000" label="stopping point of c" help=""/>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
91 <param name="nu_start" argument="-algorithm:svm:svc:nu_start" type="float" optional="true" min="0.0" max="1.0" value="0.3" label="starting point of nu" help=""/>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
92 <param name="nu_step_size" argument="-algorithm:svm:svc:nu_step_size" type="integer" optional="true" value="2" label="step size of nu" help=""/>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
93 <param name="nu_stop" argument="-algorithm:svm:svc:nu_stop" type="float" optional="true" min="0.0" max="1.0" value="0.6" label="stopping point of nu" help=""/>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
94 </section>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
95 <section name="svr" title="Parameters for svm - regression of peak intensities" help="" expanded="false">
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
96 <param name="kernel_type" argument="-algorithm:svm:svr:kernel_type" type="integer" optional="true" min="0" max="3" value="2" label="Type of the kernel: 0=LINEAR 1=POLY 2=RBF 3=SIGMOID" help=""/>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
97 <param name="degree" argument="-algorithm:svm:svr:degree" type="integer" optional="true" min="1" value="3" label="For POLY" help=""/>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
98 <param name="gamma" argument="-algorithm:svm:svr:gamma" type="float" optional="true" min="0.0" value="0.0" label="For POLY/RBF/SIGMOID" help=""/>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
99 <param name="C" argument="-algorithm:svm:svr:C" type="float" optional="true" value="1.0" label="Cost of constraint violation" help=""/>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
100 <param name="p" argument="-algorithm:svm:svr:p" type="float" optional="true" value="0.1" label="The epsilon for the loss function in epsilon-SVR" help=""/>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
101 <param name="nu" argument="-algorithm:svm:svr:nu" type="float" optional="true" value="0.5" label="For NU_SVC, ONE_CLASS and NU_SVR" help=""/>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
102 <param name="degree_start" argument="-algorithm:svm:svr:degree_start" type="integer" optional="true" min="1" value="1" label="starting point of degree" help=""/>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
103 <param name="degree_step_size" argument="-algorithm:svm:svr:degree_step_size" type="integer" optional="true" value="2" label="step size point of degree" help=""/>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
104 <param name="degree_stop" argument="-algorithm:svm:svr:degree_stop" type="integer" optional="true" value="4" label="stopping point of degree" help=""/>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
105 <param name="gamma_start" argument="-algorithm:svm:svr:gamma_start" type="float" optional="true" min="0.0" max="1.0" value="1e-05" label="starting point of gamma" help=""/>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
106 <param name="gamma_step_size" argument="-algorithm:svm:svr:gamma_step_size" type="integer" optional="true" value="100" label="step size point of gamma" help=""/>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
107 <param name="gamma_stop" argument="-algorithm:svm:svr:gamma_stop" type="float" optional="true" value="0.1" label="stopping point of gamma" help=""/>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
108 <param name="p_start" argument="-algorithm:svm:svr:p_start" type="float" optional="true" value="1e-05" label="starting point of p" help=""/>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
109 <param name="p_step_size" argument="-algorithm:svm:svr:p_step_size" type="integer" optional="true" value="100" label="step size point of p" help=""/>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
110 <param name="p_stop" argument="-algorithm:svm:svr:p_stop" type="float" optional="true" value="0.1" label="stopping point of p" help=""/>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
111 <param name="c_start" argument="-algorithm:svm:svr:c_start" type="float" optional="true" value="0.1" label="starting point of c" help=""/>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
112 <param name="c_step_size" argument="-algorithm:svm:svr:c_step_size" type="integer" optional="true" value="100" label="step size of c" help=""/>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
113 <param name="c_stop" argument="-algorithm:svm:svr:c_stop" type="integer" optional="true" value="1000" label="stopping point of c" help=""/>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
114 <param name="nu_start" argument="-algorithm:svm:svr:nu_start" type="float" optional="true" min="0.0" max="1.0" value="0.3" label="starting point of nu" help=""/>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
115 <param name="nu_step_size" argument="-algorithm:svm:svr:nu_step_size" type="integer" optional="true" value="2" label="step size of nu" help=""/>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
116 <param name="nu_stop" argument="-algorithm:svm:svr:nu_stop" type="float" optional="true" min="0.0" max="1.0" value="0.6" label="stopping point of nu" help=""/>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
117 </section>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
118 </section>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
119 </section>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
120 <expand macro="adv_opts_macro">
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
121 <param name="force" argument="-force" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Overwrite tool specific checks" help=""/>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
122 <param name="test" argument="-test" type="hidden" optional="true" value="False" label="Enables the test mode (needed for internal use only)" help="">
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
123 <expand macro="list_string_san"/>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
124 </param>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
125 </expand>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
126 <param name="OPTIONAL_OUTPUTS" type="select" multiple="true" label="Optional outputs" optional="true">
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
127 <option value="ctd_out_FLAG">Output used ctd (ini) configuration file</option>
0
a92f7bc73817 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit fb85d488133bb2b5f483b52b2db0ac66038fafb8
galaxyp
parents:
diff changeset
128 </param>
a92f7bc73817 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit fb85d488133bb2b5f483b52b2db0ac66038fafb8
galaxyp
parents:
diff changeset
129 </inputs>
a92f7bc73817 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit fb85d488133bb2b5f483b52b2db0ac66038fafb8
galaxyp
parents:
diff changeset
130 <outputs>
9
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
131 <data name="model_output_file" label="${tool.name} on ${on_string}: model_output_file" format="txt"/>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
132 <data name="ctd_out" format="xml" label="${tool.name} on ${on_string}: ctd">
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
133 <filter>OPTIONAL_OUTPUTS is not None and "ctd_out_FLAG" in OPTIONAL_OUTPUTS</filter>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
134 </data>
0
a92f7bc73817 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit fb85d488133bb2b5f483b52b2db0ac66038fafb8
galaxyp
parents:
diff changeset
135 </outputs>
9
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
136 <tests>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
137 <expand macro="autotest_SvmTheoreticalSpectrumGeneratorTrainer"/>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
138 <expand macro="manutest_SvmTheoreticalSpectrumGeneratorTrainer"/>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
139 </tests>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
140 <help><![CDATA[Trainer for SVM models as input for SvmTheoreticalSpectrumGenerator
0
a92f7bc73817 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit fb85d488133bb2b5f483b52b2db0ac66038fafb8
galaxyp
parents:
diff changeset
141
a92f7bc73817 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit fb85d488133bb2b5f483b52b2db0ac66038fafb8
galaxyp
parents:
diff changeset
142
9
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
143 For more information, visit http://www.openms.de/documentation/UTILS_SvmTheoreticalSpectrumGeneratorTrainer.html]]></help>
94b81345543d "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 020906fb54bde7fc143c356f41975c378a741315"
galaxyp
parents: 7
diff changeset
144 <expand macro="references"/>
0
a92f7bc73817 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit fb85d488133bb2b5f483b52b2db0ac66038fafb8
galaxyp
parents:
diff changeset
145 </tool>