changeset 0:53d753cb6b81 draft

"planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 67ecf5a057de84342a865b7346fe9d096e795298-dirty"
author siwaa
date Wed, 15 Dec 2021 13:10:41 +0000
parents
children 935e06766216
files tool_SUNFLO.xml tool_SUNFLO.xml.bak
diffstat 2 files changed, 104 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tool_SUNFLO.xml	Wed Dec 15 13:10:41 2021 +0000
@@ -0,0 +1,52 @@
+<tool id="SUNFLO" name="SUNFLO crop model simulations" version="1.0.0">
+  <description></description>
+  <requirements>
+    <container type="singularity">docker://registry.forgemia.inra.fr/record/record/azodyn_sunflo:187cf18876225903f7ab06915374a0277ad83130</container>
+  </requirements>
+  <command detect_errors="aggressive">
+    unzip ${input_meteo}; 
+    /bin/bash -c "Rscript --verbose /data/RECORD/misc/docker/rAzodynSunflo.R sunflo_web.vpz sunflo ${file_input} ${file_outputs} \${GALAXY_SLOTS:-2}";
+    zip temp_results.zip  simresults_*.txt;
+    cp temp_results.zip ${simresults};
+  </command>
+  <inputs>
+    <param name="input_meteo" type="data" format="zip" label="Wheater serie input files (zip file)"/>
+    <param name="file_input" type="data" format="csv" label="Crop model input values"/>
+    <param name="file_outputs" type="data" format="csv" label="Outputs to simulate"/>
+  </inputs>
+  <outputs>
+    <data format="zip" name="simresults" />
+  </outputs>
+  <help><![CDATA[
+SUNFLO crop model simulations
+=============================
+
+Inputs:
+-------
+
+- Zip file of wheather series
+- Input values of the crop model (1 simulation per row)
+- Identification of the crop model output to simulate.
+
+Outputs:
+--------
+
+- Zip file of the crop model simulation values (1 file per output)
+
+Example:
+--------
+
+- Copy to your history files 'sunflo_meteo.zip', 'sunflo_input.csv' and 'sunflo_output.csv' from the SUNFLO shared dataset.
+- Fill file names and choose the adequate number of cores.
+- And then execute 
+
+Credits:
+--------
+
+-  Author: Ronan Trépos ronan.trepos@inrae.fr
+-  Wrapper Maintainer: Ronan Trépos ronan.trepos@inrae.fr
+-  Tool Maintainer: Ronan Trépos ronan.trepos@inrae.fr
+-  Copyright: INRAE]]>
+  </help>
+</tool>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tool_SUNFLO.xml.bak	Wed Dec 15 13:10:41 2021 +0000
@@ -0,0 +1,52 @@
+<tool id="SUNFLO" name="SUNFLO crop model simulations" version="1.0.0">
+  <description></description>
+  <requirements>
+    <container type="singularity">docker://registry.forgemia.inra.fr/record/record/azodyn_sunflo:latest</container>
+  </requirements>
+  <command detect_errors="aggressive">
+    unzip ${input_meteo}; 
+    /bin/bash -c "Rscript --verbose /data/RECORD/misc/docker/rAzodynSunflo.R sunflo_web.vpz sunflo ${file_input} ${file_outputs} \${GALAXY_SLOTS:-2}";
+    zip temp_results.zip  simresults_*.txt;
+    cp temp_results.zip ${simresults};
+  </command>
+  <inputs>
+    <param name="input_meteo" type="data" format="zip" label="Wheater serie input files (zip file)"/>
+    <param name="file_input" type="data" format="csv" label="Crop model input values"/>
+    <param name="file_outputs" type="data" format="csv" label="Outputs to simulate"/>
+  </inputs>
+  <outputs>
+    <data format="zip" name="simresults" />
+  </outputs>
+  <help><![CDATA[
+SUNFLO crop model simulations
+=============================
+
+Inputs:
+-------
+
+- Zip file of wheather series
+- Input values of the crop model (1 simulation per row)
+- Identification of the crop model output to simulate.
+
+Outputs:
+--------
+
+- Zip file of the crop model simulation values (1 file per output)
+
+Example:
+--------
+
+- Copy to your history files 'sunflo_meteo.zip', 'sunflo_input.csv' and 'sunflo_output.csv' from the SUNFLO shared dataset.
+- Fill file names and choose the adequate number of cores.
+- And then execute 
+
+Credits:
+--------
+
+-  Author: Ronan Trépos ronan.trepos@inrae.fr
+-  Wrapper Maintainer: Ronan Trépos ronan.trepos@inrae.fr
+-  Tool Maintainer: Ronan Trépos ronan.trepos@inrae.fr
+-  Copyright: INRAE]]>
+  </help>
+</tool>
+