comparison wine_quality.xml @ 0:143b15001522 draft

planemo upload for repository https://forgemia.inra.fr/nathalie.rousse/use/-/tree/dnn/DNN/galaxy-tools/wine_quality commit e7c4e447552083db7eaecbdf139a7c359fe9becc
author siwaa
date Wed, 04 Dec 2024 15:25:26 +0000
parents
children c3841488b88d
comparison
equal deleted inserted replaced
-1:000000000000 0:143b15001522
1 <tool id="wine_quality" name="wine_quality" version="1.0.0">
2
3 <description>wine_quality</description>
4
5 <requirements>
6
7 <!-- singularity -->
8 <container type="singularity">oras://registry.forgemia.inra.fr/nathalie.rousse/use/dnn_fidlemore:6d159f79349e231deadb738f79bd293c1a8dadd3</container>
9
10 <!-- image locale
11 <container type="singularity">/home/nrousse/workspace_git/SIWAA_regroup/USE_branch_dnn/use/DNN/containers/fidlemore.simg</container -->
12
13 </requirements>
14
15 <environment_variables>
16 <environment_variable name="FIDLE_DATASETS_DIR">/fidle-tp/datasets-fidle</environment_variable>
17 </environment_variables>
18 <command detect_errors="aggressive">
19 <![CDATA[
20 . /fidle-tp/fidle-env/bin/activate;
21 /bin/bash -c "python3 $__tool_directory__/wine_quality.py -model_ckpt_filepath ${model_ckpt} -norm_config_json_filepath ${norm_config_json} -data '${datajson_text}'";
22 cp OUTPUTS/quality.txt ${quality_txt};
23 ]]>
24 </command>
25
26 <inputs>
27 <param name="datajson_text" optional="false" type="text" area="true"
28 label="Data of wine whose quality to be predicted (json as text)"/>
29 <param name="model_ckpt" optional="false" type="data" format="ckpt"
30 label="model_ckpt model file (.ckpt)"/>
31 <param name="norm_config_json" optional="false" type="data" format="json"
32 label="norm_config normalization configuration (.json)"/>
33 </inputs>
34
35 <outputs>
36 <data format="txt" name="quality_txt" label="quality (.txt)"/>
37 </outputs>
38
39 <tests>
40 </tests>
41
42 <help><![CDATA[
43
44 wine_quality.xml
45
46 ===========================
47
48 Code:
49
50 ----
51
52 - wine_quality.py
53
54 Inputs:
55
56 -------
57
58 - data json as text : data of wine for which quality is going to be predicted.
59
60 - example :
61
62 - {"fixed acidity": 11.2, "volatile acidity": 0.28, "citric acid": 0.56, "residual sugar": 1.9, "chlorides": 0.075, "free sulfur dioxide": 17, "total sulfur dioxide": 60, "density": 0.998, "pH": 3.16, "sulphates": 0.58, "alcohol": 9.8}
63
64 - Model file (.ckpt)
65
66 - Normalization configuration file (.json)
67
68 Outputs:
69
70 --------
71
72 - Quality file (.txt)
73
74 Credits:
75
76 --------
77
78 - Author: Nathalie Rousse nathalie.rousse@inrae.fr
79 - Copyright: INRAE
80
81 ]]>
82 </help>
83
84 </tool>