comparison recetox_aplcms_generate_feature_table.xml @ 1:e8962c8340f4 draft

planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 4254c6f6f05915ceab5af5d7040ac2c44a8364b4
author recetox
date Mon, 03 Apr 2023 14:57:14 +0000
parents 2810c956ec39
children 477b5144a422
comparison
equal deleted inserted replaced
0:2810c956ec39 1:e8962c8340f4
30 #if $max_bandwidth: 30 #if $max_bandwidth:
31 max_bandwidth = $max_bandwidth, 31 max_bandwidth = $max_bandwidth,
32 #else: 32 #else:
33 max_bandwidth = NA, 33 max_bandwidth = NA,
34 #end if 34 #end if
35 sd_cut = c($sd_cut_min, $sd_cut_max), 35 #if $advanced.sd_cut.sd_cut_bounds == "FALSE":
36 #if $shape.shape_model == "bi-Gaussian": 36 sd_cut = c($advanced.sd_cut.sd_cut_min, $advanced.sd_cut.sd_cut_max),
37 sigma_ratio_lim = c($shape.sigma_ratio_lim_min, $shape.sigma_ratio_lim_max), 37 #else
38 #else: 38 sd_cut = c(0, Inf),
39 sigma_ratio_lim = NA,
40 #end if 39 #end if
41 shape_model = "$shape.shape_model", 40 sigma_ratio_lim = determine_sigma_ratios($advanced.shape_model.sigma_ratio_lim_min, $advanced.shape_model.sigma_ratio_lim_max),
42 peak_estim_method = "$peak_estim_method", 41 shape_model = "bi-Gaussian",
43 component_eliminate = $component_eliminate, 42 peak_estim_method = "$advanced.peak_estim.peak_estim_method",
44 moment_power = $moment_power, 43 component_eliminate = $advanced.component_eliminate,
44 #if $advanced.peak_estim.peak_estim_method == "moment":
45 moment_power = $advanced.peak_estim.moment_power,
46 #else
47 moment_power = 1,
48 #end if
45 BIC_factor = $BIC_factor, 49 BIC_factor = $BIC_factor,
46 do.plot = FALSE 50 do.plot = FALSE
47 ) 51 )
48 52
49 feature_table <- save_sample_name(feature_table, sample_name) 53 feature_table <- save_sample_name(feature_table, sample_name)