gws_gena

Introduction
Getting Started
ID Card
Use Cases
Technical documentations
Version

Compartment

Compartment class Use BiGG DB nomenclature

Attributes
is_steady: bool
Functions
__init__

Initialize self. See help(type(self)) for accurate signature.

dict_ : CompartmentDict
copy

Deep copy the compartment

dumps

Dumps as JSON

Return type : Dict
is_biomass

Test if the compartment is the biomass compartment

: return: True if the compartment is the biomass compartment, False otherwise : rtype: bool

Return type : bool
is_cytosol

Test if the compartment is the cytosol compartment

: return: True if the compartment is the cytosol compartment, False otherwise : rtype: bool

Return type : bool
is_extracellular

Test if the compartment is extracellular

: return: True if the compartment is extracellular, False otherwise : rtype: bool

Return type : bool
is_extracellular_region_environment

Test if the compartment is extracellular region (environment)

: return: True if the compartment is extracellular region (environment), False otherwise : rtype: bool

Return type : bool
is_intracellular

Test if the compartment is intracellular

: return: True if the compartment is intracellular, False otherwise : rtype: bool

Return type : bool
is_sink

Test if the compartment is a sink compartment

: return: True if the compartment is a sink compartment, False otherwise : rtype: bool

Return type : bool
loads

Loads from as JSON

data : dict
Return type : Compartment
create_biomass_compartment @classmethod

Create bioamss compartment

create_cytosol_compartment @classmethod

Create cytosol compartment

create_extracellular_compartment @classmethod

Create extracellular space compartment

create_extracellular_region_environment_compartment @classmethod

Create extracellular region (environment) compartment

create_nucleus_compartment @classmethod

Create nucleus compartment

create_other_compartment @classmethod

Create unknown/other compartment

create_sink_compartment @classmethod

Create extracellular space compartment

exists @classmethod

Returns True if the compartment exists

go_id : str
bigg_id : str
from_biota @classmethod

Loads from biota using its go_id or bigg_id The go_id is tested in priority if provied

go_id : str
bigg_id : str
default_other : bool - False