forked from pmi-kbase/KBaseSynCom
-
Notifications
You must be signed in to change notification settings - Fork 0
/
spec.json
88 lines (87 loc) · 2.61 KB
/
spec.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
{
"ver": "0.0.1",
"authors": [
"alexismarsh"
],
"contact": "https://kbase.us/contact-us/",
"categories": ["active"],
"widgets": {
"input": null,
"output": "no-display"
},
"parameters": [
{
"id": "metagenome_annotation",
"optional": false,
"advanced": false,
"allow_multiple": true,
"default_values": [ "" ],
"field_type": "text",
"text_options": {
"valid_ws_types": [ "KBaseMetagenomes.AnnotatedMetagenomeAssembly" ]
}
},
{
"id": "Domain_annotation",
"optional": false,
"advanced": false,
"allow_multiple": true,
"default_values": [ "" ],
"field_type": "text",
"text_options": {
"valid_ws_types": [ "KBaseGeneFamilies.DomainAnnotation" ]
}
},{
"id": "evalue-cutoff",
"optional": false,
"advanced": false,
"allow_multiple": false,
"default_values": [ "" ],
"field_type": "text",
"text_options": {
"validate_as": "int",
"min_integer" : 0.001
}
}
],
"behavior": {
"service-mapping": {
"url": "",
"name":"minimal_synthetic_community",
"method": "run_minimal_synthetic_community",
"input_mapping": [
{
"narrative_system_variable": "workspace",
"target_property": "workspace_name"
},{
"narrative_system_variable": "workspace_id",
"target_property": "workspace_id"
},{
"input_parameter": "metagenome_annotation",
"target_property": "metagenome_annotation"
},{
"input_parameter": "Domain_annotation",
"target_property": "Domain_annotation"
},{
"input_parameter": "evalue-cutoff",
"target_property": "evalue-cutoff"
}
],
"output_mapping": [
{
"service_method_output_path": [0,"report_name"],
"target_property": "report_name"
},
{
"service_method_output_path": [0,"report_ref"],
"target_property": "report_ref"
},
{
"narrative_system_variable": "workspace",
"target_property": "workspace_name"
}
]
}
},
"job_id_output_field": "docker"
}