Commit e7bd4add authored by Ronan Trepos's avatar Ronan Trepos
Browse files

test galaxy tool

parent 8526319d
......@@ -29,7 +29,20 @@ docker run -v $PWD:/work rtrepos/azodyn_test /bin/bash -c "Rscript --verbose /da
cp ../AZODYN/data/Breteniere_1991_2018.csv Breteniere_1991_2018_test.csv
singularity exec --cleanenv -B $PWD:/work docker://rtrepos/azodyn_test:latest /bin/bash -c "Rscript --verbose /data/azodyn/siwaa_recipe/razodyn.R /work/file_input.csv /work/file_outputs.csv > /work/razodyn.txt"
# with singularity without mounted PWD
singularity exec docker://rtrepos/azodyn_test:latest /bin/bash -c "Rscript --verbose /data/azodyn/siwaa_recipe/razodyn.R file_input.csv file_outputs.csv 3"
cd galaxy_tools ;
planemo serve --job_config_file ./job_conf.xml tools_AZODYN.xml
## publish on toolshed
planemo shed_create --shed_target "" --shed_email "" --shed_password "<TODO>"
......@@ -52,7 +52,7 @@ RUN cd RECORD/pkgs \
&& vle -P vle.discrete-time.generic clean rclean configure build
RUN git clone \
&& cd azodyn \
&& cd azodyn \
&& git checkout origin/siwaa -b siwaa \
&& vle -P AZODYN configure build
categories: [AgroEcosystems]
description: Azodyn simulations tool
name: razodyn
owner: siwaa
<?xml version="1.0"?>
<!-- A sample job config that explicitly configures job running the way it is configured by default (if there is no explicit config). -->
<plugin id="local" type="runner" load="" workers="4"/>
<destination id="local" runner="local">
<param id="singularity_enabled">true</param>
......@@ -4,20 +4,21 @@
<container type="singularity">docker://rtrepos/azodyn_test:latest</container>
<command detect_errors="aggressive">
cp ${input_meteo} /data/pkgs-2.0/AZODYN/data/;
Rscript --verbose razodyn.R ${file_input} ${file_outputs} > ${razodyn_log}";
zip ${razodyn_results} razodyn_results_*;
unzip ${input_meteo};
/bin/bash -c "Rscript --verbose /data/azodyn/siwaa_recipe/razodyn.R ${file_input} ${file_outputs} 3";
zip razodyn_results_*.txt;
cp ${razodyn_results};
<param name="input_meteo" type="data" format="csv" label="input meteo"/>
<param name="input_meteo" type="data" format="zip" label="input meteo (zip file)"/>
<param name="file_input" type="data" format="csv" label="azodyn inputs"/>
<param name="file_outputs" type="data" format="csv" label="azodyn outputs"/>
<data format="zip" name="razodyn_results" />
<data format="txt" name="razodyn_log" />
razodyn help
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment