annotate tool_AZODYN.xml @ 3:d1070fee9dc4 draft

"planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 4861ee70e49274ed88d2b7ca37f02178ed6da471"
author siwaa
date Wed, 27 Apr 2022 09:59:49 +0000
parents e6bbaf03133e
children 5deede146fb6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
7a2bd77a30bf "planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 358a6e682f76859d7b54f359b1ab701b79e3791e-dirty"
siwaa
parents:
diff changeset
1 <tool id="AZODYN" name="AZODYN crop models simulations" version="1.0.0">
7a2bd77a30bf "planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 358a6e682f76859d7b54f359b1ab701b79e3791e-dirty"
siwaa
parents:
diff changeset
2 <description></description>
7a2bd77a30bf "planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 358a6e682f76859d7b54f359b1ab701b79e3791e-dirty"
siwaa
parents:
diff changeset
3 <requirements>
3
d1070fee9dc4 "planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 4861ee70e49274ed88d2b7ca37f02178ed6da471"
siwaa
parents: 2
diff changeset
4 <container type="singularity">docker://registry.forgemia.inra.fr/record/record/azodyn_sunflo:ub2004_vle21</container>
0
7a2bd77a30bf "planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 358a6e682f76859d7b54f359b1ab701b79e3791e-dirty"
siwaa
parents:
diff changeset
5 </requirements>
7a2bd77a30bf "planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 358a6e682f76859d7b54f359b1ab701b79e3791e-dirty"
siwaa
parents:
diff changeset
6 <command detect_errors="aggressive">
7a2bd77a30bf "planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 358a6e682f76859d7b54f359b1ab701b79e3791e-dirty"
siwaa
parents:
diff changeset
7 unzip ${input_meteo};
3
d1070fee9dc4 "planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 4861ee70e49274ed88d2b7ca37f02178ed6da471"
siwaa
parents: 2
diff changeset
8 dos2unix -n ${file_input} internal_inputAZODYN.csv
d1070fee9dc4 "planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 4861ee70e49274ed88d2b7ca37f02178ed6da471"
siwaa
parents: 2
diff changeset
9 dos2unix -n ${file_outputs} internal_outputAZODYN.csv
d1070fee9dc4 "planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 4861ee70e49274ed88d2b7ca37f02178ed6da471"
siwaa
parents: 2
diff changeset
10
d1070fee9dc4 "planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 4861ee70e49274ed88d2b7ca37f02178ed6da471"
siwaa
parents: 2
diff changeset
11 /bin/bash -c "Rscript --verbose /data/rAzodynSunflo.R ${crop_type} AZODYN internal_inputAZODYN.csv internal_outputAZODYN.csv \${GALAXY_SLOTS:-2}";
0
7a2bd77a30bf "planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 358a6e682f76859d7b54f359b1ab701b79e3791e-dirty"
siwaa
parents:
diff changeset
12 zip temp_results.zip simresults_*.txt;
7a2bd77a30bf "planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 358a6e682f76859d7b54f359b1ab701b79e3791e-dirty"
siwaa
parents:
diff changeset
13 cp temp_results.zip ${simresults};
7a2bd77a30bf "planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 358a6e682f76859d7b54f359b1ab701b79e3791e-dirty"
siwaa
parents:
diff changeset
14 </command>
7a2bd77a30bf "planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 358a6e682f76859d7b54f359b1ab701b79e3791e-dirty"
siwaa
parents:
diff changeset
15 <inputs>
7a2bd77a30bf "planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 358a6e682f76859d7b54f359b1ab701b79e3791e-dirty"
siwaa
parents:
diff changeset
16 <param name="crop_type" type="select" label="Select crop to simulate">
7a2bd77a30bf "planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 358a6e682f76859d7b54f359b1ab701b79e3791e-dirty"
siwaa
parents:
diff changeset
17 <option value="AzodynPea.vpz">Pea</option>
7a2bd77a30bf "planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 358a6e682f76859d7b54f359b1ab701b79e3791e-dirty"
siwaa
parents:
diff changeset
18 <option value="AzodynWheat.vpz">Wheat</option>
7a2bd77a30bf "planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 358a6e682f76859d7b54f359b1ab701b79e3791e-dirty"
siwaa
parents:
diff changeset
19 <option value="AzodynBarley.vpz">Barley</option>
7a2bd77a30bf "planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 358a6e682f76859d7b54f359b1ab701b79e3791e-dirty"
siwaa
parents:
diff changeset
20 </param>
7a2bd77a30bf "planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 358a6e682f76859d7b54f359b1ab701b79e3791e-dirty"
siwaa
parents:
diff changeset
21 <param name="input_meteo" type="data" format="zip" label="Wheater serie input files (zip file)"/>
7a2bd77a30bf "planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 358a6e682f76859d7b54f359b1ab701b79e3791e-dirty"
siwaa
parents:
diff changeset
22 <param name="file_input" type="data" format="csv" label="Crop model input values"/>
7a2bd77a30bf "planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 358a6e682f76859d7b54f359b1ab701b79e3791e-dirty"
siwaa
parents:
diff changeset
23 <param name="file_outputs" type="data" format="csv" label="Outputs to simulate"/>
7a2bd77a30bf "planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 358a6e682f76859d7b54f359b1ab701b79e3791e-dirty"
siwaa
parents:
diff changeset
24 </inputs>
7a2bd77a30bf "planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 358a6e682f76859d7b54f359b1ab701b79e3791e-dirty"
siwaa
parents:
diff changeset
25 <outputs>
7a2bd77a30bf "planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 358a6e682f76859d7b54f359b1ab701b79e3791e-dirty"
siwaa
parents:
diff changeset
26 <data format="zip" name="simresults" />
7a2bd77a30bf "planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 358a6e682f76859d7b54f359b1ab701b79e3791e-dirty"
siwaa
parents:
diff changeset
27 </outputs>
7a2bd77a30bf "planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 358a6e682f76859d7b54f359b1ab701b79e3791e-dirty"
siwaa
parents:
diff changeset
28 <help><![CDATA[
7a2bd77a30bf "planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 358a6e682f76859d7b54f359b1ab701b79e3791e-dirty"
siwaa
parents:
diff changeset
29 AZODYN crop models simulations
7a2bd77a30bf "planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 358a6e682f76859d7b54f359b1ab701b79e3791e-dirty"
siwaa
parents:
diff changeset
30 ==============================
7a2bd77a30bf "planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 358a6e682f76859d7b54f359b1ab701b79e3791e-dirty"
siwaa
parents:
diff changeset
31
7a2bd77a30bf "planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 358a6e682f76859d7b54f359b1ab701b79e3791e-dirty"
siwaa
parents:
diff changeset
32 Inputs:
7a2bd77a30bf "planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 358a6e682f76859d7b54f359b1ab701b79e3791e-dirty"
siwaa
parents:
diff changeset
33 -------
7a2bd77a30bf "planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 358a6e682f76859d7b54f359b1ab701b79e3791e-dirty"
siwaa
parents:
diff changeset
34
7a2bd77a30bf "planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 358a6e682f76859d7b54f359b1ab701b79e3791e-dirty"
siwaa
parents:
diff changeset
35 - Zip file of wheather series
7a2bd77a30bf "planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 358a6e682f76859d7b54f359b1ab701b79e3791e-dirty"
siwaa
parents:
diff changeset
36 - Input values of the crop model (1 simulation per row)
7a2bd77a30bf "planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 358a6e682f76859d7b54f359b1ab701b79e3791e-dirty"
siwaa
parents:
diff changeset
37 - Identification of the crop model output to simulate.
7a2bd77a30bf "planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 358a6e682f76859d7b54f359b1ab701b79e3791e-dirty"
siwaa
parents:
diff changeset
38
7a2bd77a30bf "planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 358a6e682f76859d7b54f359b1ab701b79e3791e-dirty"
siwaa
parents:
diff changeset
39 Outputs:
7a2bd77a30bf "planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 358a6e682f76859d7b54f359b1ab701b79e3791e-dirty"
siwaa
parents:
diff changeset
40 --------
7a2bd77a30bf "planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 358a6e682f76859d7b54f359b1ab701b79e3791e-dirty"
siwaa
parents:
diff changeset
41
7a2bd77a30bf "planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 358a6e682f76859d7b54f359b1ab701b79e3791e-dirty"
siwaa
parents:
diff changeset
42 - Zip file of the crop model simulation values (1 file per output)
7a2bd77a30bf "planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 358a6e682f76859d7b54f359b1ab701b79e3791e-dirty"
siwaa
parents:
diff changeset
43
7a2bd77a30bf "planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 358a6e682f76859d7b54f359b1ab701b79e3791e-dirty"
siwaa
parents:
diff changeset
44 Example:
7a2bd77a30bf "planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 358a6e682f76859d7b54f359b1ab701b79e3791e-dirty"
siwaa
parents:
diff changeset
45 --------
7a2bd77a30bf "planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 358a6e682f76859d7b54f359b1ab701b79e3791e-dirty"
siwaa
parents:
diff changeset
46
7a2bd77a30bf "planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 358a6e682f76859d7b54f359b1ab701b79e3791e-dirty"
siwaa
parents:
diff changeset
47 - Select 'Pea' as the crop model to use
7a2bd77a30bf "planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 358a6e682f76859d7b54f359b1ab701b79e3791e-dirty"
siwaa
parents:
diff changeset
48 - Copy to your history files 'AzodynPea_meteo.zip', 'AzodynPea_input.csv' and 'AzodynPea_output.csv' from the AZODYN shared dataset.
7a2bd77a30bf "planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 358a6e682f76859d7b54f359b1ab701b79e3791e-dirty"
siwaa
parents:
diff changeset
49 - Fill file names and choose the adequate number of cores.
7a2bd77a30bf "planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 358a6e682f76859d7b54f359b1ab701b79e3791e-dirty"
siwaa
parents:
diff changeset
50 - And then execute
7a2bd77a30bf "planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 358a6e682f76859d7b54f359b1ab701b79e3791e-dirty"
siwaa
parents:
diff changeset
51
7a2bd77a30bf "planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 358a6e682f76859d7b54f359b1ab701b79e3791e-dirty"
siwaa
parents:
diff changeset
52 Credits:
7a2bd77a30bf "planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 358a6e682f76859d7b54f359b1ab701b79e3791e-dirty"
siwaa
parents:
diff changeset
53 --------
7a2bd77a30bf "planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 358a6e682f76859d7b54f359b1ab701b79e3791e-dirty"
siwaa
parents:
diff changeset
54
7a2bd77a30bf "planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 358a6e682f76859d7b54f359b1ab701b79e3791e-dirty"
siwaa
parents:
diff changeset
55 - Author: Ronan Trépos ronan.trepos@inrae.fr
7a2bd77a30bf "planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 358a6e682f76859d7b54f359b1ab701b79e3791e-dirty"
siwaa
parents:
diff changeset
56 - Wrapper Maintainer: Ronan Trépos ronan.trepos@inrae.fr
7a2bd77a30bf "planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 358a6e682f76859d7b54f359b1ab701b79e3791e-dirty"
siwaa
parents:
diff changeset
57 - Tool Maintainer: Ronan Trépos ronan.trepos@inrae.fr
7a2bd77a30bf "planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 358a6e682f76859d7b54f359b1ab701b79e3791e-dirty"
siwaa
parents:
diff changeset
58 - Copyright: INRAE]]>
7a2bd77a30bf "planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 358a6e682f76859d7b54f359b1ab701b79e3791e-dirty"
siwaa
parents:
diff changeset
59 </help>
7a2bd77a30bf "planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 358a6e682f76859d7b54f359b1ab701b79e3791e-dirty"
siwaa
parents:
diff changeset
60 </tool>
7a2bd77a30bf "planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 358a6e682f76859d7b54f359b1ab701b79e3791e-dirty"
siwaa
parents:
diff changeset
61