-
Notifications
You must be signed in to change notification settings - Fork 2
/
COBRApyBasedFBA.spec
103 lines (94 loc) · 2.51 KB
/
COBRApyBasedFBA.spec
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
/*
A KBase module: COBRApyBasedFBA
*/
module COBRApyBasedFBA {
/*
A binary boolean
*/
typedef int bool;
/*
A string representing a Media id.
*/
typedef string media_id;
/*
A string representing a FBAModel id.
*/
typedef string fbamodel_id;
/*
A string representing a FBA id.
*/
typedef string fba_id;
/*
A string representing a reaction id.
*/
typedef string reaction_id;
/*
A string representing a feature id.
*/
typedef string feature_id;
/*
A string representing a compound id.
*/
typedef string compound_id;
/*
A string representing a workspace name.
*/
typedef string workspace_name;
/*
The workspace ID for a FBAModel data object.
@id ws KBaseFBA.FBAModel
*/
typedef string ws_fbamodel_id;
/*
The workspace ID for a FBA data object.
@id ws KBaseFBA.FBA
*/
typedef string ws_fba_id;
/*
The workspace ID for a Report object
@id ws KBaseReport.Report
*/
typedef string ws_report_id;
typedef structure {
reaction_id custom_reaction_id;
float custom_lb;
float custom_ub;
} CustomBounds;
typedef structure {
fbamodel_id fbamodel_id;
workspace_name fbamodel_workspace;
media_id media_id;
workspace_name media_workspace;
reaction_id target_reaction;
fba_id fba_output_id;
workspace_name workspace;
string solver;
bool minimize_objective;
string fba_type;
string fva_type;
bool simulate_ko;
bool all_reversible;
float fraction_of_optimum_pfba;
float fraction_of_optimum_fva;
list<feature_id> feature_ko_list;
list<reaction_id> reaction_ko_list;
list<compound_id> media_supplement_list;
list<CustomBounds> custom_bound_list;
float max_c_uptake;
float max_n_uptake;
float max_p_uptake;
float max_s_uptake;
float max_o_uptake;
float default_max_uptake;
} RunFBAPipelineParams;
typedef structure {
ws_fba_id new_fba_ref;
int objective;
string report_name;
ws_report_id report_ref;
} RunFBAPipelineResults;
/*
Run flux balance analysis and return ID of FBA object with results
*/
funcdef run_fba_pipeline(RunFBAPipelineParams params) returns (RunFBAPipelineResults results) authentication required;
};