-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathMaranasTools.spec
85 lines (73 loc) · 2.48 KB
/
MaranasTools.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
/*
A KBase module: MaranasTools
This sample module contains one small method - filter_contigs.
*/
module MaranasTools {
/* A boolean - 0=false, 1=true
@range (0, 1)
*/
typedef int boolean;
/* An X/Y/Z style reference to an FBA model.
*/
typedef string model_upa;
/* The id of a compound that exists either in the model or in the biochemistry.
*/
typedef string compound_id;
/*
model - the FBA model to use as a basis for modification
start_compound - the initial compound to be used as a source for the pathway
target_compound - the target compound to maximize yield for in the pathway
max_steps - the maximum number of steps to allow in the optimized pathway - any pathway
created that has more than this number of steps is disqualified
use_heterologous_steps - allows adding
dG_threshold - a threshold free energy value to further constrain the path optimization
*/
typedef structure {
compound_id start_compound;
float fixed_stoich;
} Reactant_stoich;
typedef structure {
compound_id target_compound;
float fixed_stoich;
} Product_stoich;
/* compound_id start_compound;
compound_id target_compound;
*/
typedef structure {
model_upa model;
list<Reactant_stoich> reactant_stoichs;
list<Product_stoich> product_stoichs;
boolean integer_stoich;
string objective;
compound_id exclude_compound_ids;
boolean use_heterologous_steps;
int num_pathways;
float dG_threshold; /* advanced */
string workspace_name;
} OptStoicParams;
/*
report_name - name of the report object that gets generated.
report_ref - UPA of the report object that gets generated.
*/
typedef structure {
string report_name;
string report_ref;
} OptStoicOutput;
typedef structure {
string model_upa;
float fixed_gr;
} ModelInput;
typedef structure {
list<ModelInput> model_inputs;
string medium_upa;
string flux_output;
string workspace_name;
} SteadyComParams;
typedef structure {
string report_name;
string report_ref;
string flux_output;
} SteadyComOutput;
funcdef run_optstoic(OptStoicParams params) returns (OptStoicOutput output) authentication required;
funcdef run_steadycom(SteadyComParams params) returns (SteadyComOutput output) authentication required;
};