Mercurial > repos > galaxyp > openms_ptmodel
comparison PTModel.xml @ 10:b6db68398c9e draft
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 55a2aeba8bfd8a6910630721de9857dcdfe05d3c"
author | galaxyp |
---|---|
date | Tue, 13 Oct 2020 19:58:48 +0000 |
parents | 039029f54c89 |
children | 3e9d04994968 |
comparison
equal
deleted
inserted
replaced
9:1063396cbea9 | 10:b6db68398c9e |
---|---|
19 mkdir in_positive && | 19 mkdir in_positive && |
20 ln -s '$in_positive' 'in_positive/${re.sub("[^\w\-_]", "_", $in_positive.element_identifier)}.$gxy2omsext($in_positive.ext)' && | 20 ln -s '$in_positive' 'in_positive/${re.sub("[^\w\-_]", "_", $in_positive.element_identifier)}.$gxy2omsext($in_positive.ext)' && |
21 mkdir in_negative && | 21 mkdir in_negative && |
22 ln -s '$in_negative' 'in_negative/${re.sub("[^\w\-_]", "_", $in_negative.element_identifier)}.$gxy2omsext($in_negative.ext)' && | 22 ln -s '$in_negative' 'in_negative/${re.sub("[^\w\-_]", "_", $in_negative.element_identifier)}.$gxy2omsext($in_negative.ext)' && |
23 mkdir out && | 23 mkdir out && |
24 #if "out_oligo_params_FLAG" in str($OPTIONAL_OUTPUTS).split(',') | |
25 mkdir out_oligo_params && | |
26 #end if | |
27 #if "out_oligo_trainset_FLAG" in str($OPTIONAL_OUTPUTS).split(',') | |
28 mkdir out_oligo_trainset && | |
29 #end if | |
24 | 30 |
25 ## Main program call | 31 ## Main program call |
26 | 32 |
27 set -o pipefail && | 33 set -o pipefail && |
28 @EXECUTABLE@ -write_ctd ./ && | 34 @EXECUTABLE@ -write_ctd ./ && |
32 'in_positive/${re.sub("[^\w\-_]", "_", $in_positive.element_identifier)}.$gxy2omsext($in_positive.ext)' | 38 'in_positive/${re.sub("[^\w\-_]", "_", $in_positive.element_identifier)}.$gxy2omsext($in_positive.ext)' |
33 -in_negative | 39 -in_negative |
34 'in_negative/${re.sub("[^\w\-_]", "_", $in_negative.element_identifier)}.$gxy2omsext($in_negative.ext)' | 40 'in_negative/${re.sub("[^\w\-_]", "_", $in_negative.element_identifier)}.$gxy2omsext($in_negative.ext)' |
35 -out | 41 -out |
36 'out/output.${gxy2omsext("txt")}' | 42 'out/output.${gxy2omsext("txt")}' |
43 #if "out_oligo_params_FLAG" in str($OPTIONAL_OUTPUTS).split(',') | |
44 -out_oligo_params | |
45 'out_oligo_params/output.${gxy2omsext("paramxml")}' | |
46 #end if | |
47 #if "out_oligo_trainset_FLAG" in str($OPTIONAL_OUTPUTS).split(',') | |
48 -out_oligo_trainset | |
49 'out_oligo_trainset/output.${gxy2omsext("txt")}' | |
50 #end if | |
51 #if len(str($OPTIONAL_OUTPUTS).split(',')) == 0 | |
52 | tee '$stdout' | |
53 #end if | |
37 | 54 |
38 ## Postprocessing | 55 ## Postprocessing |
39 && mv 'out/output.${gxy2omsext("txt")}' '$out' | 56 && mv 'out/output.${gxy2omsext("txt")}' '$out' |
57 #if "out_oligo_params_FLAG" in str($OPTIONAL_OUTPUTS).split(',') | |
58 && mv 'out_oligo_params/output.${gxy2omsext("paramxml")}' '$out_oligo_params' | |
59 #end if | |
60 #if "out_oligo_trainset_FLAG" in str($OPTIONAL_OUTPUTS).split(',') | |
61 && mv 'out_oligo_trainset/output.${gxy2omsext("txt")}' '$out_oligo_trainset' | |
62 #end if | |
40 #if "ctd_out_FLAG" in $OPTIONAL_OUTPUTS | 63 #if "ctd_out_FLAG" in $OPTIONAL_OUTPUTS |
41 && mv '@EXECUTABLE@.ctd' '$ctd_out' | 64 && mv '@EXECUTABLE@.ctd' '$ctd_out' |
42 #end if]]></command> | 65 #end if]]></command> |
43 <configfiles> | 66 <configfiles> |
44 <inputs name="args_json" data_style="paths"/> | 67 <inputs name="args_json" data_style="paths"/> |
85 <param name="sigma_start" argument="-cv:sigma_start" type="float" optional="true" value="1.0" label="starting point of sigma" help=""/> | 108 <param name="sigma_start" argument="-cv:sigma_start" type="float" optional="true" value="1.0" label="starting point of sigma" help=""/> |
86 <param name="sigma_step_size" argument="-cv:sigma_step_size" type="float" optional="true" value="1.3" label="step size 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=""/> |
87 <param name="sigma_stop" argument="-cv:sigma_stop" type="float" optional="true" value="15.0" label="stopping point 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=""/> |
88 </section> | 111 </section> |
89 <expand macro="adv_opts_macro"> | 112 <expand macro="adv_opts_macro"> |
90 <param name="force" argument="-force" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Overwrite tool specific checks" help=""/> | 113 <param name="force" argument="-force" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Overrides tool-specific checks" help=""/> |
91 <param name="test" argument="-test" type="hidden" optional="true" value="False" label="Enables the test mode (needed for internal use only)" help=""> | 114 <param name="test" argument="-test" type="hidden" optional="true" value="False" label="Enables the test mode (needed for internal use only)" help=""> |
92 <expand macro="list_string_san"/> | 115 <expand macro="list_string_san"/> |
93 </param> | 116 </param> |
94 </expand> | 117 </expand> |
95 <param name="OPTIONAL_OUTPUTS" type="select" multiple="true" label="Optional outputs" optional="true"> | 118 <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> | |
120 <option value="out_oligo_trainset_FLAG">out_oligo_trainset (output file with the used training dataset when using the OLIGO kernel)</option> | |
96 <option value="ctd_out_FLAG">Output used ctd (ini) configuration file</option> | 121 <option value="ctd_out_FLAG">Output used ctd (ini) configuration file</option> |
97 </param> | 122 </param> |
98 </inputs> | 123 </inputs> |
99 <outputs> | 124 <outputs> |
100 <data name="out" label="${tool.name} on ${on_string}: out" format="txt"/> | 125 <data name="out" label="${tool.name} on ${on_string}: out" format="txt"/> |
126 <data name="out_oligo_params" label="${tool.name} on ${on_string}: out_oligo_params" format="paramxml"> | |
127 <filter>OPTIONAL_OUTPUTS is not None and "out_oligo_params_FLAG" in OPTIONAL_OUTPUTS</filter> | |
128 </data> | |
129 <data name="out_oligo_trainset" label="${tool.name} on ${on_string}: out_oligo_trainset" format="txt"> | |
130 <filter>OPTIONAL_OUTPUTS is not None and "out_oligo_trainset_FLAG" in OPTIONAL_OUTPUTS</filter> | |
131 </data> | |
101 <data name="ctd_out" format="xml" label="${tool.name} on ${on_string}: ctd"> | 132 <data name="ctd_out" format="xml" label="${tool.name} on ${on_string}: ctd"> |
102 <filter>OPTIONAL_OUTPUTS is not None and "ctd_out_FLAG" in OPTIONAL_OUTPUTS</filter> | 133 <filter>OPTIONAL_OUTPUTS is not None and "ctd_out_FLAG" in OPTIONAL_OUTPUTS</filter> |
103 </data> | 134 </data> |
104 </outputs> | 135 </outputs> |
105 <tests> | 136 <tests> |
107 <expand macro="manutest_PTModel"/> | 138 <expand macro="manutest_PTModel"/> |
108 </tests> | 139 </tests> |
109 <help><![CDATA[Trains a model for the prediction of proteotypic peptides from a training set. | 140 <help><![CDATA[Trains a model for the prediction of proteotypic peptides from a training set. |
110 | 141 |
111 | 142 |
112 For more information, visit http://www.openms.de/documentation/TOPP_PTModel.html]]></help> | 143 For more information, visit http://www.openms.de/doxygen/release/2.6.0/html/TOPP_PTModel.html]]></help> |
113 <expand macro="references"/> | 144 <expand macro="references"/> |
114 </tool> | 145 </tool> |