Mercurial > repos > recetox > ramclustr_xcms
changeset 1:8f4d04ad4acd draft
"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit 36ea15ec5b1f1899f28c3a92d3a55dd6ac3dffae"
author | recetox |
---|---|
date | Wed, 13 Jan 2021 11:42:07 +0000 |
parents | a0c69d354b96 |
children | e46e0a0c13ca |
files | ramclustr_macros.xml ramclustr_wrapper.R ramclustr_xcms.xml |
diffstat | 3 files changed, 16 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/ramclustr_macros.xml Mon Dec 07 22:14:20 2020 +0000 +++ b/ramclustr_macros.xml Wed Jan 13 11:42:07 2021 +0000 @@ -8,6 +8,8 @@ <param label="sample_name_column" name="sample_name_column" type="integer" value="1" help="which column from the csv file contains sample names?" /> <param label="feature_delimiter" name="feature_delimiter" type="text" value="_" help="Only required if ms input is set! How feature mz and rt are delimited in csv import column header e.g. ='-'" /> <param label="retention_time_column" name="retention_time_column" type="integer" value="2" help="which position in delimited column header represents the retention time (csv only)" /> + <param label="st" name="st" type="float" value="1" help="sigma t - time similarity decay value. A recommended starting point is half the value of + your average chromatographic peak width at half max (seconds))." /> </section> </xml> @@ -64,9 +66,17 @@ </section> </xml> - <xml name="parameters_optional"> + <xml name="parameters_optional_xcms"> <section name="optional" title="Optional Parameters" expanded="false"> - <param label="st" name="st" type="float" optional="true" help="sigma t - time similarity decay value " /> + <param label="st" name="st" type="float" optional="true" help="sigma t - time similarity decay value. A recommended starting point is half the value of + your average chromatographic peak width at half max (seconds))." /> + <param label="fftempdir" name="fftempdir" type="text" optional="true" help="valid path: if there are file size limitations on the default ff pacakge temp directory - getOptions('fftempdir') - you can change the directory used as the fftempdir with this option." /> + <param label="maxt" name="maxt" type="integer" optional="true" help="maximum time difference to calculate retention similarity for - all values beyond this are assigned similarity of zero" /> + </section> + </xml> + + <xml name="parameters_optional_csv"> + <section name="optional" title="Optional Parameters" expanded="false"> <param label="fftempdir" name="fftempdir" type="text" optional="true" help="valid path: if there are file size limitations on the default ff pacakge temp directory - getOptions('fftempdir') - you can change the directory used as the fftempdir with this option." /> <param label="maxt" name="maxt" type="integer" optional="true" help="maximum time difference to calculate retention similarity for - all values beyond this are assigned similarity of zero" /> </section>
--- a/ramclustr_wrapper.R Mon Dec 07 22:14:20 2020 +0000 +++ b/ramclustr_wrapper.R Wed Jan 13 11:42:07 2021 +0000 @@ -83,6 +83,9 @@ maxt = NULL, fftempdir = NULL ) { + if (!file.exists(idmsms)) + idmsms <- NULL + x <- RAMClustR::ramclustR( ms = ms, idmsms = idmsms,
--- a/ramclustr_xcms.xml Mon Dec 07 22:14:20 2020 +0000 +++ b/ramclustr_xcms.xml Wed Jan 13 11:42:07 2021 +0000 @@ -10,7 +10,7 @@ <inputs> <param name="input_xcms" label="input_xcms" type="data" format="rdata.xcms.fillpeaks" help=": containing grouped feature data for clustering by ramclustR" /> <expand macro="parameters_required" /> - <expand macro="parameters_optional" /> + <expand macro="parameters_optional_xcms" /> </inputs> <command detect_errors="aggressive"><![CDATA[