comparison erecord_text.xml @ 0:5edb952b394e draft default tip

planemo upload for repository https://forgemia.inra.fr/nathalie.rousse/erecord-deploy/-/tree/main/galaxy-tools/erecord_text commit c9272a57d834895bf21c987be7d7416532cfa23f-dirty
author siwaa
date Tue, 27 Feb 2024 07:58:55 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:5edb952b394e
1 <tool id="erecord_text" name="erecord_text" version="1.0.0">
2
3 <description>erecord returning .json</description>
4
5 <requirements>
6
7 <!-- singularity -->
8 <container type="singularity">oras://registry.forgemia.inra.fr/nathalie.rousse/erecord-deploy/rep_recordb:9d6ea1defd50dd63fe036a7545a9ea527572192e</container>
9
10 <!-- image locale -->
11 <!-- container type="singularity">/home/nrousse/workspace_git/SIWAA_regroup/erecord-deploy/containers/_fab_SIMG/rep_recordb.simg</container-->
12
13 </requirements>
14
15 <command detect_errors="aggressive">
16 <![CDATA[
17 . /PYVENV/bin/activate;
18 /bin/bash -c "python3 $__tool_directory__/main_text.py -data '${input_text}' -datafolder ${datafolder}";
19 cp WS/OUT/output.json ${output_json};
20 ]]>
21 </command>
22
23 <inputs>
24
25 <param name="input_text" optional="true" type="text" area="true"
26 label="Input json as text"/>
27
28 <param name="datafolder" optional="true" type="data" format="zip"
29 label="Add a datafolder zip file (available and used only in 'post_vpz_output' or 'post_vpz_inout' cases)"
30 help="Precisions sur forme du dossier..."/>
31
32 </inputs>
33
34 <outputs>
35 <data format="json" name="output_json" label="jsonoutput"/>
36 </outputs>
37
38 <tests>
39 </tests>
40
41 <help><![CDATA[
42
43 erecord_text.xml
44
45 ================
46
47 Actions:
48
49 -------
50
51 - Available :
52
53 - 'get_vpz_input' 'post_vpz_input'
54 - 'get_vpz_output' 'post_vpz_output'
55 - 'get_vpz_inout' 'post_vpz_inout'
56 - 'get_pkg_list' 'get_pkg_vpz_list' 'get_pkg_data_list'
57 - 'help'
58
59 - Unavailable (actions with 2 output files) :
60
61 - 'get_vpz_experiment' 'post_vpz_experiment'
62 - 'get_vpz_report_conditions' 'post_vpz_report_conditions'
63 - 'get_vpz_report' 'post_vpz_report'
64
65 Code:
66
67 ----
68
69 - main_text.py
70
71 Inputs:
72
73 -------
74
75 - data json as text (optional) (text, param type="text")
76
77 - This data contains the action value
78 - Examples :
79
80 - {"action":"pkg_list"}
81 - {"action": "post_vpz_output", "pkgname": "wwdm", "vpzname": "wwdm.vpz", "style": "compactlist", "plan":"linear", "restype" : "matrix", "cond_wwdm.A": [0.0063, 0.0065, 0.0067], "cond_wwdm.B": 0.00201, "duration":6.0, "outselect": "view"}
82
83 - datafolder (optional) (only in 'post_vpz_output', 'post_vpz_inout' cases)
84
85 Outputs:
86
87 --------
88
89 - data json file (no other file returned)
90
91 Credits:
92
93 --------
94
95 - Author: Nathalie Rousse nathalie.rousse@inrae.fr
96 - Copyright: INRAE
97
98 ]]>
99 </help>
100
101 </tool>