Mercurial > repos > ecology > ecoregion_brt_analysis
changeset 7:694738eda0dc draft default tip
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/Ecoregionalization_workflow commit ced658540f05bb07e1e687af30a3fa4ea8e4803c
author | ecology |
---|---|
date | Wed, 28 May 2025 10:12:30 +0000 |
parents | aba980404954 |
children | |
files | BRT_model.xml brt.R |
diffstat | 2 files changed, 8 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/BRT_model.xml Wed May 14 13:49:25 2025 +0000 +++ b/BRT_model.xml Wed May 28 10:12:30 2025 +0000 @@ -1,4 +1,4 @@ -<tool id="ecoregion_brt_analysis" name="BRT tool prediction" version="0.1.0+galaxy0" profile="22.05"> +<tool id="ecoregion_brt_analysis" name="BRT tool prediction" version="0.1.2+galaxy0" profile="23.2"> <description>for species distribution modelling</description> <requirements> <requirement type="package" version="4.3.3">r-base</requirement> @@ -22,13 +22,13 @@ <inputs> <param name="enviro" type="data" format="tabular" label="Input your environment data file of your study area (tabular format only)" help="See example below"/> <param name="dec_env" type="select" label="What's the decimal separator of your environement data file ?"> - <option value=".">Dot</option> - <option value=",">Comma</option> + <option value="Dot">Dot</option> + <option value="Comma">Comma</option> </param> <param type="data" name="species_files" label="Input your occurrences data file(s) containing also the environemental caracteristics where the species has been observe (tabular format only)" format="tabular" multiple="True" help="See example below"/> - <param name="dec_species" type="select" label="What's the decimal separator of your occurrences data file(s) ?" help="It must be the same for all your occurences data files" > - <option value=".">Dot</option> - <option value=",">Comma</option> + <param name="dec_species" type="select" label="What's the decimal separator of your occurrences data file(s) ?" help="It must be the same for all your occurences data files"> + <option value="Dot">Dot</option> + <option value="Comma">Comma</option> </param> <param name="abioticname" type="data_column" label="Choose column(s) where your abiotic parameter are in your environment data file." data_ref="enviro" multiple="true" use_header_names="true"/> </inputs> @@ -112,5 +112,3 @@ <citation type="doi">10.32614/CRAN.package.ggplot2</citation> </citations> </tool> - -
--- a/brt.R Wed May 14 13:49:25 2025 +0000 +++ b/brt.R Wed May 28 10:12:30 2025 +0000 @@ -21,8 +21,8 @@ enviro <- args[1] species_files <- args[2] abio_para <- args[3] - dec_env <- args[8] - dec_species <- args[9] + dec_env <- ifelse(args[8]=="Dot", ".", ",") + dec_species <- ifelse(args[9]=="Dot", ".", ",") } ### load data