Mercurial > repos > recetox > test_recetox_aplcms_unsupervised
annotate recetox_aplcms_unsupervised.xml @ 0:be51059c2384 draft default tip
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
| author | recetox | 
|---|---|
| date | Fri, 18 Jun 2021 16:36:23 +0000 | 
| parents | |
| children | 
| rev | line source | 
|---|---|
| 0 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 1 <tool id="_recetox_aplcms_unsupervised" name="apLCMS Unsupervised" version="@TOOL_VERSION@+galaxy0"> | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 2 <description>generate a feature table from LC/MS spectra</description> | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 3 <macros> | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 4 <import>recetox_aplcms_macros.xml</import> | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 5 </macros> | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 6 | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 7 <expand macro="requirements" /> | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 8 | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 9 <command detect_errors="aggressive"><![CDATA[ | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 10 sh ${symlink_inputs} && | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 11 Rscript -e 'source("${__tool_directory__}/main.R")' -e 'source("${run_script}")' | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 12 ]]></command> | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 13 | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 14 <configfiles> | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 15 <configfile name="symlink_inputs"> | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 16 #for $infile in $files | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 17 ln -s '${infile}' '${infile.element_identifier}' | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 18 #end for | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 19 </configfile> | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 20 <configfile name="run_script"><![CDATA[ | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 21 #set filenames_str = str("', '").join([str($f.element_identifier) for $f in $files]) | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 22 | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 23 unsupervised_main( | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 24 sample_files = c('$filenames_str'), | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 25 aligned_file = '${aligned_feature_sample_table}', | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 26 recovered_file = '${recovered_feature_sample_table}', | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 27 min_exp = $noise_filtering.min_exp, | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 28 min_pres = $noise_filtering.min_pres, | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 29 min_run = $noise_filtering.min_run, | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 30 mz_tol = $noise_filtering.mz_tol, | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 31 baseline_correct = $noise_filtering.baseline_correct, | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 32 baseline_correct_noise_percentile = $noise_filtering.baseline_correct_noise_percentile, | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 33 intensity_weighted = $noise_filtering.intensity_weighted, | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 34 shape_model = '$feature_detection.shape_model', | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 35 BIC_factor = $feature_detection.BIC_factor, | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 36 peak_estim_method = '$feature_detection.peak_estim_method', | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 37 min_bandwidth = $feature_detection.min_bandwidth, | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 38 max_bandwidth = $feature_detection.max_bandwidth, | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 39 sd_cut = c($feature_detection.sd_cut_min, $feature_detection.sd_cut_max), | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 40 sigma_ratio_lim = c($feature_detection.sigma_ratio_lim_min, $feature_detection.sigma_ratio_lim_max), | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 41 component_eliminate = $feature_detection.component_eliminate, | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 42 moment_power = $feature_detection.moment_power, | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 43 align_chr_tol = $peak_alignment.align_chr_tol, | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 44 align_mz_tol = $peak_alignment.align_mz_tol, | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 45 max_align_mz_diff = $peak_alignment.max_align_mz_diff, | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 46 recover_mz_range = $weak_signal_recovery.recover_mz_range, | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 47 recover_chr_range = $weak_signal_recovery.recover_chr_range, | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 48 use_observed_range = $weak_signal_recovery.use_observed_range, | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 49 recover_min_count = $weak_signal_recovery.recover_min_count, | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 50 cluster = as.integer(Sys.getenv('GALAXY_SLOTS', unset = 1)) | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 51 ) | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 52 ]]></configfile> | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 53 </configfiles> | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 54 | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 55 <expand macro="inputs"> | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 56 <expand macro="noise_filtering" /> | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 57 <expand macro="feature_detection" /> | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 58 <expand macro="peak_alignment" /> | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 59 <expand macro="weak_signal_recovery" /> | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 60 </expand> | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 61 | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 62 <outputs> | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 63 <expand macro="unsupervised_outputs" /> | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 64 </outputs> | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 65 | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 66 <tests> | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 67 <test> | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 68 <param name="files" value="mbr_test0.mzml,mbr_test1.mzml,mbr_test2.mzml" ftype="mzml" /> | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 69 <output name="recovered_feature_sample_table" file="unsupervised_recovered_feature_sample_table.parquet" ftype="parquet" compare="sim_size" delta="1000" /> | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 70 </test> | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 71 </tests> | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 72 | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 73 <help> | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 74 This is the Unsupervised version of apLCMS which is not relying on any existing knowledge about metabolites or | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 75 any historically detected features. For such functionality please use the Hybrid version of apLCMS. | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 76 | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 77 @GENERAL_HELP@ | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 78 </help> | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 79 | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 80 <expand macro="citations" /> | 
| 
be51059c2384
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 65d42862f9265e8ba3783368ac0bddb154e3a427-dirty"
 recetox parents: diff
changeset | 81 </tool> | 
