Mercurial > repos > siwaa > azodyn
annotate tool_AZODYN.xml @ 4:5deede146fb6 draft
"planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 20d254fb2cc23d54b65e95f59033d625bf053c83"
author | siwaa |
---|---|
date | Tue, 03 May 2022 10:17:50 +0000 |
parents | d1070fee9dc4 |
children | 49c988e63e6b |
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}; |
4
5deede146fb6
"planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 20d254fb2cc23d54b65e95f59033d625bf053c83"
siwaa
parents:
3
diff
changeset
|
8 dos2unix -n ${file_input} internal_inputAZODYN.csv; |
5deede146fb6
"planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 20d254fb2cc23d54b65e95f59033d625bf053c83"
siwaa
parents:
3
diff
changeset
|
9 dos2unix -n ${file_outputs} internal_outputAZODYN.csv; |
3
d1070fee9dc4
"planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 4861ee70e49274ed88d2b7ca37f02178ed6da471"
siwaa
parents:
2
diff
changeset
|
10 /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
|
11 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
|
12 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
|
13 </command> |
7a2bd77a30bf
"planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 358a6e682f76859d7b54f359b1ab701b79e3791e-dirty"
siwaa
parents:
diff
changeset
|
14 <inputs> |
7a2bd77a30bf
"planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 358a6e682f76859d7b54f359b1ab701b79e3791e-dirty"
siwaa
parents:
diff
changeset
|
15 <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
|
16 <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
|
17 <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
|
18 <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
|
19 </param> |
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 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
|
21 <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
|
22 <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
|
23 </inputs> |
7a2bd77a30bf
"planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 358a6e682f76859d7b54f359b1ab701b79e3791e-dirty"
siwaa
parents:
diff
changeset
|
24 <outputs> |
7a2bd77a30bf
"planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 358a6e682f76859d7b54f359b1ab701b79e3791e-dirty"
siwaa
parents:
diff
changeset
|
25 <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
|
26 </outputs> |
7a2bd77a30bf
"planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 358a6e682f76859d7b54f359b1ab701b79e3791e-dirty"
siwaa
parents:
diff
changeset
|
27 <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
|
28 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
|
29 ============================== |
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 Inputs: |
7a2bd77a30bf
"planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 358a6e682f76859d7b54f359b1ab701b79e3791e-dirty"
siwaa
parents:
diff
changeset
|
32 ------- |
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 - 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
|
35 - 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
|
36 - 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
|
37 |
7a2bd77a30bf
"planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 358a6e682f76859d7b54f359b1ab701b79e3791e-dirty"
siwaa
parents:
diff
changeset
|
38 Outputs: |
7a2bd77a30bf
"planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 358a6e682f76859d7b54f359b1ab701b79e3791e-dirty"
siwaa
parents:
diff
changeset
|
39 -------- |
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 - 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
|
42 |
7a2bd77a30bf
"planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 358a6e682f76859d7b54f359b1ab701b79e3791e-dirty"
siwaa
parents:
diff
changeset
|
43 Example: |
7a2bd77a30bf
"planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 358a6e682f76859d7b54f359b1ab701b79e3791e-dirty"
siwaa
parents:
diff
changeset
|
44 -------- |
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 - 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
|
47 - 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
|
48 - 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
|
49 - 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
|
50 |
7a2bd77a30bf
"planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 358a6e682f76859d7b54f359b1ab701b79e3791e-dirty"
siwaa
parents:
diff
changeset
|
51 Credits: |
7a2bd77a30bf
"planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 358a6e682f76859d7b54f359b1ab701b79e3791e-dirty"
siwaa
parents:
diff
changeset
|
52 -------- |
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 - 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
|
55 - 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
|
56 - 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
|
57 - 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
|
58 </help> |
7a2bd77a30bf
"planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 358a6e682f76859d7b54f359b1ab701b79e3791e-dirty"
siwaa
parents:
diff
changeset
|
59 </tool> |
7a2bd77a30bf
"planemo upload for repository https://forgemia.inra.fr/record/RECORD/-/tree/master/misc/galaxy_tools commit 358a6e682f76859d7b54f359b1ab701b79e3791e-dirty"
siwaa
parents:
diff
changeset
|
60 |