comparison PTModel.xml @ 12:3e9d04994968 draft default tip

planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 3d1e5f37fd16524a415f707772eeb7ead848c5e3
author galaxyp
date Thu, 01 Dec 2022 19:05:16 +0000
parents b6db68398c9e
children
comparison
equal deleted inserted replaced
11:6c281fbfefff 12:3e9d04994968
1 <?xml version='1.0' encoding='UTF-8'?> 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 CTDConverter.--> 2 <!--This is a configuration file for the integration of a tools into Galaxy (https://galaxyproject.org/). This file was automatically generated using CTDConverter.-->
3 <!--Proposed Tool Section: [Peptide property prediction]--> 3 <!--Proposed Tool Section: [Peptide property prediction]-->
4 <tool id="PTModel" name="PTModel" version="@TOOL_VERSION@+galaxy@GALAXY_VERSION@" profile="20.05"> 4 <tool id="PTModel" name="PTModel" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="21.05">
5 <description>Trains a model for the prediction of proteotypic peptides from a training set.</description> 5 <description>Trains a model for the prediction of proteotypic peptides from a training set.</description>
6 <macros> 6 <macros>
7 <token name="@EXECUTABLE@">PTModel</token> 7 <token name="@EXECUTABLE@">PTModel</token>
8 <import>macros.xml</import> 8 <import>macros.xml</import>
9 <import>macros_autotest.xml</import>
10 <import>macros_test.xml</import>
11 </macros> 9 </macros>
12 <expand macro="requirements"/> 10 <expand macro="requirements"/>
13 <expand macro="stdio"/> 11 <expand macro="stdio"/>
14 <command detect_errors="exit_code"><![CDATA[@QUOTE_FOO@ 12 <command detect_errors="exit_code"><![CDATA[@QUOTE_FOO@
15 @EXT_FOO@ 13 @EXT_FOO@
66 <configfiles> 64 <configfiles>
67 <inputs name="args_json" data_style="paths"/> 65 <inputs name="args_json" data_style="paths"/>
68 <configfile name="hardcoded_json"><![CDATA[{"log": "log.txt", "threads": "\${GALAXY_SLOTS:-1}", "no_progress": true}]]></configfile> 66 <configfile name="hardcoded_json"><![CDATA[{"log": "log.txt", "threads": "\${GALAXY_SLOTS:-1}", "no_progress": true}]]></configfile>
69 </configfiles> 67 </configfiles>
70 <inputs> 68 <inputs>
71 <param name="in_positive" argument="-in_positive" type="data" format="idxml" optional="false" label="input file with positive examples" help=" select idxml data sets(s)"/> 69 <param argument="-in_positive" type="data" format="idxml" optional="false" label="input file with positive examples" help=" select idxml data sets(s)"/>
72 <param name="in_negative" argument="-in_negative" type="data" format="idxml" optional="false" label="input file with negative examples" help=" select idxml data sets(s)"/> 70 <param argument="-in_negative" type="data" format="idxml" optional="false" label="input file with negative examples" help=" select idxml data sets(s)"/>
73 <param name="c" argument="-c" type="float" optional="true" value="1.0" label="the penalty parameter of the svm" help=""/> 71 <param argument="-c" type="float" optional="true" value="1.0" label="the penalty parameter of the svm" help=""/>
74 <param name="svm_type" argument="-svm_type" display="radio" type="select" optional="false" label="the type of the svm (NU_SVC or C_SVC)" help=""> 72 <param argument="-svm_type" type="select" optional="true" label="the type of the svm (NU_SVC or C_SVC)" help="">
75 <option value="NU_SVC">NU_SVC</option> 73 <option value="NU_SVC">NU_SVC</option>
76 <option value="C_SVC" selected="true">C_SVC</option> 74 <option value="C_SVC" selected="true">C_SVC</option>
77 <expand macro="list_string_san"/> 75 <expand macro="list_string_san" name="svm_type"/>
78 </param> 76 </param>
79 <param name="nu" argument="-nu" type="float" optional="true" min="0.0" max="1.0" value="0.5" label="the nu parameter [0..1] of the svm (for nu-SVR)" help=""/> 77 <param argument="-nu" type="float" optional="true" min="0.0" max="1.0" value="0.5" label="the nu parameter [0..1] of the svm (for nu-SVR)" help=""/>
80 <param name="kernel_type" argument="-kernel_type" display="radio" type="select" optional="false" label="the kernel type of the svm" help=""> 78 <param argument="-kernel_type" type="select" optional="true" label="the kernel type of the svm" help="">
81 <option value="LINEAR">LINEAR</option> 79 <option value="LINEAR">LINEAR</option>
82 <option value="RBF">RBF</option> 80 <option value="RBF">RBF</option>
83 <option value="POLY">POLY</option> 81 <option value="POLY">POLY</option>
84 <option value="OLIGO" selected="true">OLIGO</option> 82 <option value="OLIGO" selected="true">OLIGO</option>
85 <expand macro="list_string_san"/> 83 <expand macro="list_string_san" name="kernel_type"/>
86 </param> 84 </param>
87 <param name="degree" argument="-degree" type="integer" optional="true" min="1" value="1" label="the degree parameter of the kernel function of the svm (POLY kernel)" help=""/> 85 <param argument="-degree" type="integer" optional="true" min="1" value="1" label="the degree parameter of the kernel function of the svm (POLY kernel)" help=""/>
88 <param name="border_length" argument="-border_length" type="integer" optional="true" min="1" value="22" label="length of the POBK" help=""/> 86 <param argument="-border_length" type="integer" optional="true" min="1" value="22" label="length of the POBK" help=""/>
89 <param name="k_mer_length" argument="-k_mer_length" type="integer" optional="true" min="1" value="1" label="k_mer length of the POBK" help=""/> 87 <param argument="-k_mer_length" type="integer" optional="true" min="1" value="1" label="k_mer length of the POBK" help=""/>
90 <param name="sigma" argument="-sigma" type="float" optional="true" value="5.0" label="sigma of the POBK" help=""/> 88 <param argument="-sigma" type="float" optional="true" value="5.0" label="sigma of the POBK" help=""/>
91 <param name="max_positive_count" argument="-max_positive_count" type="integer" optional="true" min="1" value="1000" label="quantity of positive samples for training (randomly chosen if smaller than available quantity)" help=""/> 89 <param argument="-max_positive_count" type="integer" optional="true" min="1" value="1000" label="quantity of positive samples for training (randomly chosen if smaller than available quantity)" help=""/>
92 <param name="max_negative_count" argument="-max_negative_count" type="integer" optional="true" min="1" value="1000" label="quantity of positive samples for training (randomly chosen if smaller than available quantity)" help=""/> 90 <param argument="-max_negative_count" type="integer" optional="true" min="1" value="1000" label="quantity of positive samples for training (randomly chosen if smaller than available quantity)" help=""/>
93 <param name="redundant" argument="-redundant" type="boolean" truevalue="true" falsevalue="false" checked="false" label="if the input sets are redundant and the redundant peptides should occur more than once in the training set, this flag has to be set" help=""/> 91 <param argument="-redundant" type="boolean" truevalue="true" falsevalue="false" checked="false" label="if the input sets are redundant and the redundant peptides should occur more than once in the training set, this flag has to be set" help=""/>
94 <param name="additive_cv" argument="-additive_cv" type="boolean" truevalue="true" falsevalue="false" checked="false" label="if the step sizes should be interpreted additively (otherwise the actual value is multiplied with the step size to get the new value" help=""/> 92 <param argument="-additive_cv" type="boolean" truevalue="true" falsevalue="false" checked="false" label="if the step sizes should be interpreted additively (otherwise the actual value is multiplied with the step size to get the new value" help=""/>
95 <section name="cv" title="Parameters for the grid search / cross validation:" help="" expanded="false"> 93 <section name="cv" title="Parameters for the grid search / cross validation:" help="" expanded="false">
96 <param name="skip_cv" argument="-cv:skip_cv" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Has to be set if the cv should be skipped and the model should just be trained with the specified parameters" help=""/> 94 <param name="skip_cv" argument="-cv:skip_cv" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Has to be set if the cv should be skipped and the model should just be trained with the specified parameters" help=""/>
97 <param name="number_of_runs" argument="-cv:number_of_runs" type="integer" optional="true" min="1" value="10" label="number of runs for the CV" help=""/> 95 <param name="number_of_runs" argument="-cv:number_of_runs" type="integer" optional="true" min="1" value="10" label="number of runs for the CV" help=""/>
98 <param name="number_of_partitions" argument="-cv:number_of_partitions" type="integer" optional="true" min="2" value="10" label="number of CV partitions" help=""/> 96 <param name="number_of_partitions" argument="-cv:number_of_partitions" type="integer" optional="true" min="2" value="10" label="number of CV partitions" help=""/>
99 <param name="degree_start" argument="-cv:degree_start" type="integer" optional="true" min="1" value="1" label="starting point of degree" help=""/> 97 <param name="degree_start" argument="-cv:degree_start" type="integer" optional="true" min="1" value="1" label="starting point of degree" help=""/>
108 <param name="sigma_start" argument="-cv:sigma_start" type="float" optional="true" value="1.0" label="starting point of sigma" help=""/> 106 <param name="sigma_start" argument="-cv:sigma_start" type="float" optional="true" value="1.0" label="starting point of sigma" help=""/>
109 <param name="sigma_step_size" argument="-cv:sigma_step_size" type="float" optional="true" value="1.3" label="step size of sigma" help=""/> 107 <param name="sigma_step_size" argument="-cv:sigma_step_size" type="float" optional="true" value="1.3" label="step size of sigma" help=""/>
110 <param name="sigma_stop" argument="-cv:sigma_stop" type="float" optional="true" value="15.0" label="stopping point of sigma" help=""/> 108 <param name="sigma_stop" argument="-cv:sigma_stop" type="float" optional="true" value="15.0" label="stopping point of sigma" help=""/>
111 </section> 109 </section>
112 <expand macro="adv_opts_macro"> 110 <expand macro="adv_opts_macro">
113 <param name="force" argument="-force" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Overrides tool-specific checks" help=""/> 111 <param argument="-force" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Overrides tool-specific checks" help=""/>
114 <param name="test" argument="-test" type="hidden" optional="true" value="False" label="Enables the test mode (needed for internal use only)" help=""> 112 <param argument="-test" type="hidden" optional="true" value="False" label="Enables the test mode (needed for internal use only)" help="">
115 <expand macro="list_string_san"/> 113 <expand macro="list_string_san" name="test"/>
116 </param> 114 </param>
117 </expand> 115 </expand>
118 <param name="OPTIONAL_OUTPUTS" type="select" optional="true" multiple="true" label="Optional outputs"> 116 <param name="OPTIONAL_OUTPUTS" type="select" optional="true" multiple="true" label="Optional outputs">
119 <option value="out_oligo_params_FLAG">out_oligo_params (output file with additional model parameters when using the OLIGO kernel)</option> 117 <option value="out_oligo_params_FLAG">out_oligo_params (output file with additional model parameters when using the OLIGO kernel)</option>
120 <option value="out_oligo_trainset_FLAG">out_oligo_trainset (output file with the used training dataset when using the OLIGO kernel)</option> 118 <option value="out_oligo_trainset_FLAG">out_oligo_trainset (output file with the used training dataset when using the OLIGO kernel)</option>
131 </data> 129 </data>
132 <data name="ctd_out" format="xml" label="${tool.name} on ${on_string}: ctd"> 130 <data name="ctd_out" format="xml" label="${tool.name} on ${on_string}: ctd">
133 <filter>OPTIONAL_OUTPUTS is not None and "ctd_out_FLAG" in OPTIONAL_OUTPUTS</filter> 131 <filter>OPTIONAL_OUTPUTS is not None and "ctd_out_FLAG" in OPTIONAL_OUTPUTS</filter>
134 </data> 132 </data>
135 </outputs> 133 </outputs>
136 <tests> 134 <tests><!-- TOPP_PTModel_1 -->
137 <expand macro="autotest_PTModel"/> 135 <test expect_num_outputs="2">
138 <expand macro="manutest_PTModel"/> 136 <section name="adv_opts">
137 <param name="force" value="false"/>
138 <param name="test" value="true"/>
139 </section>
140 <param name="in_positive" value="PTModel_1_input_positive.idXML"/>
141 <param name="in_negative" value="PTModel_1_input_negative.idXML"/>
142 <output name="out" file="PTModel_1_output.tmp" compare="sim_size" delta_frac="0.7" ftype="txt"/>
143 <param name="c" value="0.5"/>
144 <param name="svm_type" value="C_SVC"/>
145 <param name="nu" value="0.5"/>
146 <param name="kernel_type" value="OLIGO"/>
147 <param name="degree" value="1"/>
148 <param name="border_length" value="22"/>
149 <param name="k_mer_length" value="1"/>
150 <param name="sigma" value="5.0"/>
151 <param name="max_positive_count" value="1000"/>
152 <param name="max_negative_count" value="1000"/>
153 <param name="redundant" value="false"/>
154 <param name="additive_cv" value="false"/>
155 <section name="cv">
156 <param name="skip_cv" value="true"/>
157 <param name="number_of_runs" value="10"/>
158 <param name="number_of_partitions" value="10"/>
159 <param name="degree_start" value="1"/>
160 <param name="degree_step_size" value="2"/>
161 <param name="degree_stop" value="4"/>
162 <param name="c_start" value="1.0"/>
163 <param name="c_step_size" value="100.0"/>
164 <param name="c_stop" value="1000.0"/>
165 <param name="nu_start" value="0.1"/>
166 <param name="nu_step_size" value="1.3"/>
167 <param name="nu_stop" value="0.9"/>
168 <param name="sigma_start" value="1.0"/>
169 <param name="sigma_step_size" value="1.3"/>
170 <param name="sigma_stop" value="15.0"/>
171 </section>
172 <param name="OPTIONAL_OUTPUTS" value="ctd_out_FLAG"/>
173 <output name="ctd_out" ftype="xml">
174 <assert_contents>
175 <is_valid_xml/>
176 </assert_contents>
177 </output>
178 </test>
139 </tests> 179 </tests>
140 <help><![CDATA[Trains a model for the prediction of proteotypic peptides from a training set. 180 <help><![CDATA[Trains a model for the prediction of proteotypic peptides from a training set.
141 181
142 182
143 For more information, visit http://www.openms.de/doxygen/release/2.6.0/html/TOPP_PTModel.html]]></help> 183 For more information, visit http://www.openms.de/doxygen/release/2.8.0/html/TOPP_PTModel.html]]></help>
144 <expand macro="references"/> 184 <expand macro="references"/>
145 </tool> 185 </tool>