# HG changeset patch # User recetox # Date 1680533850 0 # Node ID c69a12bfc2fb621754f0ec7ed7f501d6901cad76 # Parent 472dc85ce7c57558f0a0671f00c104407ac1f46b planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 4254c6f6f05915ceab5af5d7040ac2c44a8364b4 diff -r 472dc85ce7c5 -r c69a12bfc2fb macros.xml --- a/macros.xml Mon Feb 13 10:28:35 2023 +0000 +++ b/macros.xml Mon Apr 03 14:57:30 2023 +0000 @@ -1,5 +1,5 @@ - 0.10.1 + 0.10.3 r-recetox-aplcms @@ -42,47 +42,55 @@ - - - - - + + - - - - - - - - - - - - - - - - - - - + +
+ +
+ + +
+ + + + + + + + + + + + + + + + +
@@ -93,52 +101,55 @@ - - + + - - + + + - - - + + + If not given, 0.5 times the retention time tolerance in the aligned object will be used." /> - + + label="Weight intensity" help="Whether to weight the local density by signal intensities in initial peak detection." /> - - - + + + + diff -r 472dc85ce7c5 -r c69a12bfc2fb recetox_aplcms_recover_weaker_signals.xml --- a/recetox_aplcms_recover_weaker_signals.xml Mon Feb 13 10:28:35 2023 +0000 +++ b/recetox_aplcms_recover_weaker_signals.xml Mon Apr 03 14:57:30 2023 +0000 @@ -45,11 +45,11 @@ metadata_table = metadata, rt_table = rt_table, intensity_table = intensity_table, - mz_tol = $mz_tol, + mz_tol = $mz_tol/1e6, mz_tol_relative = get_mz_tol(tolerances), rt_tol_relative = get_rt_tol(tolerances), #if $recover_mz_range: - recover_mz_range = $recover_mz_range, + recover_mz_range = $recover_mz_range/1e6, #else: recover_mz_range = NA, #end if diff -r 472dc85ce7c5 -r c69a12bfc2fb utils.R --- a/utils.R Mon Feb 13 10:28:35 2023 +0000 +++ b/utils.R Mon Apr 03 14:57:30 2023 +0000 @@ -123,3 +123,13 @@ paste(sample_names, collapse = ", "))) } } + +determine_sigma_ratios <- function(sigma_ratio_lim_min = NA, sigma_ratio_lim_max = NA) { + if (is.na(sigma_ratio_lim_min)) { + sigma_ratio_lim_min <- 0 + } + if (is.na(sigma_ratio_lim_max)) { + sigma_ratio_lim_max <- Inf + } + return(c(sigma_ratio_lim_min, sigma_ratio_lim_max)) +}