-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathFBAModel.spec
1995 lines (1790 loc) · 55.9 KB
/
FBAModel.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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/*
@author chenry
*/
module KBaseFBA {
typedef int bool;
/*
Reference to a compound object
@id subws KBaseBiochem.Biochemistry.compounds.[*].id
*/
typedef string compound_ref;
/*
Reference to a mapping object
@id ws KBaseOntology.Mapping
*/
typedef string mapping_ref;
/*
Reference to a classifier object
@id ws KBaseFBA.Classifier
*/
typedef string Classifier_ref;
/*
Reference to a training set object
@id ws KBaseFBA.ClassifierTrainingSet
*/
typedef string Trainingset_ref;
/*
Reference to a biochemistry object
@id ws KBaseBiochem.Biochemistry
*/
typedef string Biochemistry_ref;
/*
Template biomass ID
@id external
*/
typedef string templatebiomass_id;
/*
Template biomass compound ID
@id external
*/
typedef string templatebiomasscomponent_id;
/*
Template reaction ID
@id external
*/
typedef string templatereaction_id;
/*
ModelTemplate ID
@id kb
*/
typedef string modeltemplate_id;
/*
Reference to a model template
@id ws KBaseBiochem.Media
*/
typedef string media_ref;
/*
Reference to a model template
@id ws KBaseBiochem.MediaSet
*/
typedef string mediaset_ref;
/*
Reference to a model template
@id ws KBaseGenomes.Genome KBaseGenomeAnnotations.GenomeAnnotation
*/
typedef string genome_ref;
/*
Reference to a model template
@id ws KBaseFBA.ReactionProbabilities
*/
typedef string rxnprob_ref;
/*
Reference to a Pangenome object in the workspace
@id ws KBaseGenomes.Pangenome
*/
typedef string pangenome_ref;
/*
Reference to a Proteome Comparison object in the workspace
@id ws GenomeComparison.ProteomeComparison
*/
typedef string protcomp_ref;
/*
Reference to a model template
*/
typedef string template_ref;
/*
Reference to an OTU in a metagenome
@id subws KBaseGenomes.MetagenomeAnnotation.otus.[*].id
*/
typedef string metagenome_otu_ref;
/*
Reference to a metagenome object
@id ws KBaseGenomes.MetagenomeAnnotation KBaseMetagenomes.AnnotatedMetagenomeAssembly
*/
typedef string metagenome_ref;
/*
Reference to a feature of a genome object
@id subws KBaseGenomes.Genome.features.[*].id
*/
typedef string feature_ref;
/*
Reference to a gapgen object
@id ws KBaseFBA.Gapgeneration
*/
typedef string gapgen_ref;
/*
Reference to a FBA object
@id ws KBaseFBA.FBA
*/
typedef string fba_ref;
/*
Reference to a gapfilling object
@id ws KBaseFBA.Gapfilling
*/
typedef string gapfill_ref;
/*
Reference to a complex object
@id subws KBaseOntology.Mapping.complexes.[*].id
*/
typedef string complex_ref;
/*
Reference to a reaction object in a biochemistry
@id subws KBaseBiochem.Biochemistry.reactions.[*].id
*/
typedef string reaction_ref;
/*
Reference to a reaction object in a model
@id subws KBaseFBA.FBAModel.modelreactions.[*].id
*/
typedef string modelreaction_ref;
/*
Reference to a biomass object in a model
@id subws KBaseFBA.FBAModel.biomasses.[*].id
*/
typedef string biomass_ref;
/*
Reference to a compartment object in a model
@id subws KBaseFBA.FBAModel.modelcompartments.[*].id
*/
typedef string modelcompartment_ref;
/*
Reference to a compartment object
@id subws KBaseBiochem.Biochemistry.compartments.[*].id
*/
typedef string compartment_ref;
/*
Reference to a compound object in a model
@id subws KBaseFBA.FBAModel.modelcompounds.[*].id
*/
typedef string modelcompound_ref;
/*
Reference to regulatory model
@id ws KBaseRegulation.RegModel
*/
typedef string regmodel_ref;
/*
Reference to regulome
@id ws KBaseRegulation.Regulome
*/
typedef string regulome_ref;
/*
Reference to PROM constraints
@id ws KBaseFBA.PromConstraint
*/
typedef string promconstraint_ref;
/*
Reference to expression data
@id ws KBaseExpression.ExpressionSeries
*/
typedef string expression_series_ref;
/*
Reference to expression data
@id ws KBaseFeatureValues.ExpressionMatrix
*/
typedef string expression_matrix_ref;
/*
Reference to expression data
@id ws KBaseExpression.ExpressionSample
*/
typedef string expression_sample_ref;
/*
Reference to probabilistic annotation
@id ws KBaseProbabilisticAnnotation.ProbAnno
*/
typedef string probanno_ref;
/*
Reference to a phenotype set object
@id ws KBasePhenotypes.PhenotypeSet
*/
typedef string phenotypeset_ref;
/*
Reference to a phenotype simulation set object
@id ws KBasePhenotypes.PhenotypeSimulationSet
*/
typedef string phenotypesimulationset_ref;
/*
Reference to metabolic model
@id ws KBaseFBA.FBAModel
*/
typedef string fbamodel_ref;
/*
KBase genome ID
@id kb
*/
typedef string genome_id;
/*
KBase FBA ID
@id kb
*/
typedef string fba_id;
/*
Biomass reaction ID
@id external
*/
typedef string biomass_id;
/*
Gapgeneration solution ID
@id external
*/
typedef string gapgensol_id;
/*
Model compartment ID
@id external
*/
typedef string modelcompartment_id;
/*
Model compound ID
@id external
*/
typedef string modelcompound_id;
/*
Model reaction ID
@id external
*/
typedef string modelreaction_id;
/*
Reaction ID
@id external
*/
typedef string reaction_id;
/*
Genome feature ID
@id external
*/
typedef string feature_id;
/*
Feature family ID
@id external
*/
typedef string family_id;
/*
Source ID
@id external
*/
typedef string source_id;
/*
Gapgen ID
@id kb
*/
typedef string gapgen_id;
/*
Gapfill ID
@id kb
*/
typedef string gapfill_id;
/*
Gapfill solution ID
@id external
*/
typedef string gapfillsol_id;
/*
FBAModel ID
@id kb
*/
typedef string fbamodel_id;
/*
BiomassCompound object
@searchable ws_subset modelcompound_ref coefficient
@optional gapfill_data
*/
typedef structure {
modelcompound_ref modelcompound_ref;
float coefficient;
mapping<gapfill_id,bool integrated> gapfill_data;
} BiomassCompound;
/*
Biomass object
@optional removedcompounds
*/
typedef structure {
biomass_id id;
string name;
float other;
float dna;
float rna;
float protein;
float cellwall;
float lipid;
float cofactor;
float energy;
list<BiomassCompound> biomasscompounds;
list<BiomassCompound> removedcompounds;
} Biomass;
/*
ModelCompartment object
*/
typedef structure {
modelcompartment_id id;
compartment_ref compartment_ref;
int compartmentIndex;
string label;
float pH;
float potential;
} ModelCompartment;
/*
ModelCompound object
@optional aliases maxuptake dblinks smiles inchikey string_attributes numerical_attributes
*/
typedef structure {
modelcompound_id id;
compound_ref compound_ref;
mapping<string,list<string>> dblinks;
mapping<string,string> string_attributes;
mapping<string,float> numerical_attributes;
list<string> aliases;
string name;
float charge;
float maxuptake;
string formula;
string smiles;
string inchikey;
modelcompartment_ref modelcompartment_ref;
} ModelCompound;
/*
ModelReactionReagent object
@searchable ws_subset modelcompound_ref coefficient
*/
typedef structure {
modelcompound_ref modelcompound_ref;
float coefficient;
} ModelReactionReagent;
/*
ModelReactionProteinSubunit object
@searchable ws_subset role triggering optionalSubunit feature_refs
*/
typedef structure {
string role;
bool triggering;
bool optionalSubunit;
string note;
list<feature_ref> feature_refs;
} ModelReactionProteinSubunit;
/*
ModelReactionProtein object
@optional source complex_ref
*/
typedef structure {
complex_ref complex_ref;
string note;
list<ModelReactionProteinSubunit> modelReactionProteinSubunits;
string source;
} ModelReactionProtein;
/*
ModelReaction object
@optional gapfill_data name pathway reference aliases dblinks maxforflux maxrevflux imported_gpr string_attributes numerical_attributes
*/
typedef structure {
modelreaction_id id;
reaction_ref reaction_ref;
string name;
mapping<string,list<string>> dblinks;
list<string> aliases;
string pathway;
string reference;
string direction;
float protons;
float maxforflux;
float maxrevflux;
string imported_gpr;
modelcompartment_ref modelcompartment_ref;
float probability;
list<ModelReactionReagent> modelReactionReagents;
list<ModelReactionProtein> modelReactionProteins;
mapping<string,string> string_attributes;
mapping<string,float> numerical_attributes;
mapping<string gapfill_id,mapping<int solution,tuple<string direction,bool integrated,list<ModelReactionProtein> candidateProteins>>> gapfill_data;
} ModelReaction;
/*
ModelGapfill object
@optional integrated_solution
@optional fba_ref
@optional gapfill_ref jobnode
*/
typedef structure {
gapfill_id id;
gapfill_id gapfill_id;
gapfill_ref gapfill_ref;
fba_ref fba_ref;
bool integrated;
string integrated_solution;
media_ref media_ref;
string jobnode;
} ModelGapfill;
/*
ModelGapgen object
@optional integrated_solution
@optional fba_ref
@optional gapgen_ref jobnode
*/
typedef structure {
gapgen_id id;
gapgen_id gapgen_id;
gapgen_ref gapgen_ref;
fba_ref fba_ref;
bool integrated;
string integrated_solution;
media_ref media_ref;
string jobnode;
} ModelGapgen;
typedef structure {
bool integrated;
list<tuple<string rxnid,float maxbound,bool forward>> ReactionMaxBounds;
list<tuple<string cpdid,float maxbound>> UptakeMaxBounds;
list<tuple<string bioid,string biocpd,float modifiedcoef>> BiomassChanges;
float ATPSynthase;
float ATPMaintenance;
} QuantOptSolution;
/*
ModelQuantOpt object
*/
typedef structure {
string id;
fba_ref fba_ref;
media_ref media_ref;
bool integrated;
int integrated_solution;
list<QuantOptSolution> solutions;
} ModelQuantOpt;
typedef structure {
string compound_name;
int reactions_required;
int gapfilled_reactions;
bool is_auxotrophic;
} AuxotrophyData;
/*
PathwayData
@optional average_coverage_per_reaction stddev_coverage_per_reaction
*/
typedef structure {
string id;
string source;
string name;
list<string> classes;
mapping<string id,string type> reactions;
int gapfilled_rxn;
int functional_rxn;
int nonfunctional_rxn;
int pathway_size;
bool is_present;
int gene_count;
float average_genes_per_reaction;
float stddev_genes_per_reaction;
float average_coverage_per_reaction;
float stddev_coverage_per_reaction;
} PathwayData;
typedef structure {
float biomass;
int Blocked;
int Negative;
int Positive;
int PositiveVariable;
int NegativeVariable;
int Variable;
fba_ref fba_ref;
} FBAAnalysis;
/*
PathwayData
@optional base_rejected_reactions base_gapfilling core_gapfilling auxotrophy_gapfilling auxotroph_count base_atp initial_atp
*/
typedef structure {
mapping<string pathway_id,PathwayData> pathways;
mapping<string compound_id,AuxotrophyData> auxotrophy;
mapping<string fba_name,FBAAnalysis> fbas;
int base_rejected_reactions;
int base_gapfilling;
int core_gapfilling;
int auxotrophy_gapfilling;
int gene_count;
int auxotroph_count;
float base_atp;
float initial_atp;
} ComputedAttributes;
/*
FBAModel object
@optional contig_coverages other_genome_refs attributes abstractreactions gapfilledcandidates metagenome_ref genome_ref template_refs ATPSynthaseStoichiometry ATPMaintenance quantopts
@metadata ws source_id as Source ID
@metadata ws source as Source
@metadata ws name as Name
@metadata ws type as Type
@metadata ws genome_ref as Genome
@metadata ws length(biomasses) as Number biomasses
@metadata ws length(modelcompartments) as Number compartments
@metadata ws length(modelcompounds) as Number compounds
@metadata ws length(modelreactions) as Number reactions
@metadata ws length(gapgens) as Number gapgens
@metadata ws length(gapfillings) as Number gapfills
*/
typedef structure {
fbamodel_id id;
string source;
source_id source_id;
string name;
string type;
genome_ref genome_ref;
metagenome_ref metagenome_ref;
template_ref template_ref;
float ATPSynthaseStoichiometry;
float ATPMaintenance;
list<genome_ref> other_genome_refs;
list<template_ref> template_refs;
list<ModelGapfill> gapfillings;
list<ModelGapgen> gapgens;
list<ModelQuantOpt> quantopts;
list<Biomass> biomasses;
list<ModelCompartment> modelcompartments;
list<ModelCompound> modelcompounds;
list<ModelReaction> modelreactions;
list<ModelReaction> abstractreactions;
list<ModelReaction> gapfilledcandidates;
ComputedAttributes attributes;
mapping<string contigid,float coverage> contig_coverages;
} FBAModel;
/*
FBAConstraint object
*/
typedef structure {
string name;
float rhs;
string sign;
mapping<modelcompound_id,float> compound_terms;
mapping<modelreaction_id,float> reaction_terms;
mapping<biomass_id,float> biomass_terms;
} FBAConstraint;
/*
FBAReactionBound object
*/
typedef structure {
modelreaction_ref modelreaction_ref;
string variableType;
float upperBound;
float lowerBound;
} FBAReactionBound;
/*
FBACompoundBound object
*/
typedef structure {
modelcompound_ref modelcompound_ref;
string variableType;
float upperBound;
float lowerBound;
} FBACompoundBound;
/*
FBACompoundVariable object
@optional other_values other_max other_min
*/
typedef structure {
modelcompound_ref modelcompound_ref;
string variableType;
float upperBound;
float lowerBound;
string class;
float min;
float max;
float value;
list<float> other_values;
list<float> other_max;
list<float> other_min;
} FBACompoundVariable;
/*
FBAReactionVariable object
@optional biomass_dependencies coupled_reactions exp_state expression scaled_exp other_values other_max other_min
*/
typedef structure {
modelreaction_ref modelreaction_ref;
string variableType;
float upperBound;
float lowerBound;
string class;
float min;
float max;
float value;
string exp_state;
float expression;
float scaled_exp;
list<tuple<string biomass_id,string compound_id>> biomass_dependencies;
list<string> coupled_reactions;
list<float> other_values;
list<float> other_max;
list<float> other_min;
} FBAReactionVariable;
/*
FBABiomassVariable object
@optional other_values other_max other_min
*/
typedef structure {
biomass_ref biomass_ref;
string variableType;
float upperBound;
float lowerBound;
string class;
float min;
float max;
float value;
list<float> other_values;
list<float> other_max;
list<float> other_min;
} FBABiomassVariable;
/*
FBAPromResult object
*/
typedef structure {
float objectFraction;
float alpha;
float beta;
} FBAPromResult;
/*
Either of two values:
- InactiveOn: specified as on, but turns out as inactive
- ActiveOff: specified as off, but turns out as active
*/
typedef string conflict_state;
/*
FBATintleResult object
*/
typedef structure {
float originalGrowth;
float growth;
float originalObjective;
float objective;
mapping<conflict_state,feature_id> conflicts;
} FBATintleResult;
/*
FBADeletionResult object
*/
typedef structure {
list<feature_ref> feature_refs;
float growthFraction;
} FBADeletionResult;
/*
FBAMinimalMediaResult object
*/
typedef structure {
list<compound_ref> essentialNutrient_refs;
list<compound_ref> optionalNutrient_refs;
} FBAMinimalMediaResult;
/*
FBAMetaboliteProductionResult object
*/
typedef structure {
modelcompound_ref modelcompound_ref;
float maximumProduction;
} FBAMetaboliteProductionResult;
/*
FBAMinimalReactionsResult object
*/
typedef structure {
string id;
bool suboptimal;
float totalcost;
list<modelreaction_ref> reaction_refs;
list<string> reaction_directions;
} FBAMinimalReactionsResult;
typedef float probability;
/*
collection of tintle probability scores for each feature in a genome,
representing a single gene probability sample
*/
typedef structure {
mapping<feature_id,probability> tintle_probability;
string expression_sample_ref;
} TintleProbabilitySample;
typedef structure {
string biomass_component;
float mod_coefficient;
} QuantOptBiomassMod;
typedef structure {
modelreaction_ref modelreaction_ref;
modelcompound_ref modelcompound_ref;
bool reaction;
float mod_upperbound;
} QuantOptBoundMod;
typedef structure {
float atp_synthase;
float atp_maintenance;
list<QuantOptBiomassMod> QuantOptBiomassMods;
list<QuantOptBoundMod> QuantOptBoundMods;
} QuantitativeOptimizationSolution;
/*
GapFillingReaction object holds data on a reaction added by gapfilling analysis
@optional compartmentIndex round
*/
typedef structure {
int round;
reaction_ref reaction_ref;
compartment_ref compartment_ref;
string direction;
int compartmentIndex;
list<feature_ref> candidateFeature_refs;
} GapfillingReaction;
/*
ActivatedReaction object holds data on a reaction activated by gapfilling analysis
@optional round
*/
typedef structure {
int round;
modelreaction_ref modelreaction_ref;
} ActivatedReaction;
/*
GapFillingSolution object holds data on a solution generated by gapfilling analysis
@optional objective gfscore actscore rejscore candscore rejectedCandidates activatedReactions failedReaction_refs
@searchable ws_subset id suboptimal integrated solutionCost koRestore_refs biomassRemoval_refs mediaSupplement_refs
*/
typedef structure {
gapfillsol_id id;
float solutionCost;
list<modelcompound_ref> biomassRemoval_refs;
list<modelcompound_ref> mediaSupplement_refs;
list<modelreaction_ref> koRestore_refs;
bool integrated;
bool suboptimal;
float objective;
float gfscore;
float actscore;
float rejscore;
float candscore;
list<GapfillingReaction> rejectedCandidates;
list<modelreaction_ref> failedReaction_refs;
list<ActivatedReaction> activatedReactions;
list<GapfillingReaction> gapfillingSolutionReactions;
} GapfillingSolution;
/*
FBA object holds the formulation and results of a flux balance analysis study
@optional other_objectives mediaset_ref media_list_refs MFALog maximizeActiveReactions calculateReactionKnockoutSensitivity biomassRemovals ExpressionKappa ExpressionOmega ExpressionAlpha expression_matrix_ref expression_matrix_column jobnode gapfillingSolutions QuantitativeOptimizationSolutions quantitativeOptimization minimize_reactions minimize_reaction_costs FBATintleResults FBAMinimalReactionsResults PROMKappa phenotypesimulationset_ref objectiveValue phenotypeset_ref promconstraint_ref regulome_ref tintleW tintleKappa massbalance rxnprob_ref
@metadata ws maximizeObjective as Maximized
@metadata ws comboDeletions as Combination deletions
@metadata ws minimize_reactions as Minimize reactions
@metadata ws regulome_ref as Regulome
@metadata ws fbamodel_ref as Model
@metadata ws promconstraint_ref as PromConstraint
@metadata ws media_ref as Media
@metadata ws objectiveValue as Objective
@metadata ws expression_matrix_ref as ExpressionMatrix
@metadata ws expression_matrix_column as ExpressionMatrixColumn
@metadata ws length(biomassflux_objterms) as Number biomass objectives
@metadata ws length(geneKO_refs) as Number gene KO
@metadata ws length(reactionKO_refs) as Number reaction KO
@metadata ws length(additionalCpd_refs) as Number additional compounds
@metadata ws length(FBAConstraints) as Number constraints
@metadata ws length(FBAReactionBounds) as Number reaction bounds
@metadata ws length(FBACompoundBounds) as Number compound bounds
@metadata ws length(FBACompoundVariables) as Number compound variables
@metadata ws length(FBAReactionVariables) as Number reaction variables
*/
typedef structure {
fba_id id;
bool fva;
bool fluxMinimization;
bool findMinimalMedia;
bool allReversible;
bool simpleThermoConstraints;
bool thermodynamicConstraints;
bool noErrorThermodynamicConstraints;
bool minimizeErrorThermodynamicConstraints;
bool quantitativeOptimization;
bool maximizeObjective;
mapping<modelcompound_id,float> compoundflux_objterms;
mapping<modelreaction_id,float> reactionflux_objterms;
mapping<biomass_id,float> biomassflux_objterms;
int comboDeletions;
int numberOfSolutions;
float objectiveConstraintFraction;
float defaultMaxFlux;
float defaultMaxDrainFlux;
float defaultMinDrainFlux;
float PROMKappa;
float tintleW;
float tintleKappa;
float ExpressionAlpha;
float ExpressionOmega;
float ExpressionKappa;
bool decomposeReversibleFlux;
bool decomposeReversibleDrainFlux;
bool fluxUseVariables;
bool drainfluxUseVariables;
bool minimize_reactions;
bool calculateReactionKnockoutSensitivity;
bool maximizeActiveReactions;
string jobnode;
regulome_ref regulome_ref;
fbamodel_ref fbamodel_ref;
rxnprob_ref rxnprob_ref;
promconstraint_ref promconstraint_ref;
expression_matrix_ref expression_matrix_ref;
string expression_matrix_column;
media_ref media_ref;
list<media_ref> media_list_refs;
mediaset_ref mediaset_ref;
phenotypeset_ref phenotypeset_ref;
list<feature_ref> geneKO_refs;
list<modelreaction_ref> reactionKO_refs;
list<modelcompound_ref> additionalCpd_refs;
mapping<string,float> uptakeLimits;
mapping<modelreaction_id,float> minimize_reaction_costs;
string massbalance;
mapping<string,string> parameters;
mapping<string,list<string>> inputfiles;
list<FBAConstraint> FBAConstraints;
list<FBAReactionBound> FBAReactionBounds;
list<FBACompoundBound> FBACompoundBounds;
float objectiveValue;
list<float> other_objectives;
mapping<string,list<string>> outputfiles;
string MFALog;
phenotypesimulationset_ref phenotypesimulationset_ref;
mapping<string,list<string>> biomassRemovals;
list<FBACompoundVariable> FBACompoundVariables;
list<FBAReactionVariable> FBAReactionVariables;
list<FBABiomassVariable> FBABiomassVariables;
list<FBAPromResult> FBAPromResults;
list<FBATintleResult> FBATintleResults;
list<FBADeletionResult> FBADeletionResults;
list<FBAMinimalMediaResult> FBAMinimalMediaResults;
list<FBAMetaboliteProductionResult> FBAMetaboliteProductionResults;
list<FBAMinimalReactionsResult> FBAMinimalReactionsResults;
list<QuantitativeOptimizationSolution> QuantitativeOptimizationSolutions;
list<GapfillingSolution> gapfillingSolutions;
} FBA;
/*
GapGenerationSolutionReaction object holds data a reaction proposed to be removed from the model
*/
typedef structure {
modelreaction_ref modelreaction_ref;
string direction;
} GapgenerationSolutionReaction;
/*
GapGenerationSolution object holds data on a solution proposed by the gapgeneration command
*/
typedef structure {
gapgensol_id id;
float solutionCost;
list<modelcompound_ref> biomassSuppplement_refs;
list<modelcompound_ref> mediaRemoval_refs;
list<modelreaction_ref> additionalKO_refs;
bool integrated;
bool suboptimal;
list<GapgenerationSolutionReaction> gapgenSolutionReactions;
} GapgenerationSolution;
/*
GapGeneration object holds data on formulation and solutions from gapgen analysis
@optional fba_ref totalTimeLimit timePerSolution media_ref referenceMedia_ref gprHypothesis reactionRemovalHypothesis biomassHypothesis mediaHypothesis
@metadata ws fba_ref as FBA
@metadata ws fbamodel_ref as Model
@metadata ws length(gapgenSolutions) as Number solutions
*/
typedef structure {
gapgen_id id;
fba_ref fba_ref;
fbamodel_ref fbamodel_ref;
bool mediaHypothesis;
bool biomassHypothesis;
bool gprHypothesis;
bool reactionRemovalHypothesis;
media_ref media_ref;
media_ref referenceMedia_ref;
int timePerSolution;
int totalTimeLimit;
list<GapgenerationSolution> gapgenSolutions;
} Gapgeneration;
/*
GapFilling object holds data on the formulations and solutions of a gapfilling analysis
@optional simultaneousGapfill totalTimeLimit timePerSolution transporterMultiplier singleTransporterMultiplier biomassTransporterMultiplier noDeltaGMultiplier noStructureMultiplier deltaGMultiplier directionalityMultiplier drainFluxMultiplier reactionActivationBonus allowableCompartment_refs blacklistedReaction_refs targetedreaction_refs guaranteedReaction_refs completeGapfill balancedReactionsOnly reactionAdditionHypothesis gprHypothesis biomassHypothesis mediaHypothesis fba_ref media_ref rxnprob_ref
@metadata ws fba_ref as FBA
@metadata ws fbamodel_ref as Model
@metadata ws media_ref as Media
@metadata ws length(gapfillingSolutions) as Number solutions
*/
typedef structure {
gapfill_id id;
fba_ref fba_ref;
media_ref media_ref;
fbamodel_ref fbamodel_ref;
rxnprob_ref rxnprob_ref;
bool mediaHypothesis;
bool biomassHypothesis;
bool gprHypothesis;
bool reactionAdditionHypothesis;
bool balancedReactionsOnly;
bool completeGapfill;
bool simultaneousGapfill;
list<reaction_ref> guaranteedReaction_refs;
list<reaction_ref> targetedreaction_refs;
list<reaction_ref> blacklistedReaction_refs;