Package Bio :: Package KEGG :: Package KGML :: Module KGML_pathway :: Class Reaction
[hide private]
[frames] | no frames]

Class Reaction

source code

object --+
         |
        Reaction

A specific chemical reaction with substrates and products.

This describes a specific chemical reaction between one or more substrates and one or more products.

Attributes:
Instance Methods [hide private]
 
__init__(self)
Initialize the class.
source code
 
__str__(self)
Return an informative human-readable string.
source code
 
add_substrate(self, substrate_id)
Add a substrate, identified by its node ID, to the reaction.
source code
 
add_product(self, product_id)
Add a product, identified by its node ID, to the reaction.
source code
 
_getid(self) source code
 
_setid(self, value) source code
 
_delid(self) source code
 
_getnames(self) source code
 
_setnames(self, value) source code
 
_delnames(self) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __subclasshook__

Properties [hide private]
  id
Node ID for the reaction.
  name
List of KEGG identifiers for the reaction.
  substrates
Return list of substrate Entry elements.
  products
Return list of product Entry elements.
  entry
Return the Entry corresponding to this reaction.
  reactant_ids
Return a list of substrate and product reactant IDs.
  element
Return KGML element describing the Reaction.

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 
Initialize the class.
Overrides: object.__init__

__str__(self)
(Informal representation operator)

source code 
Return an informative human-readable string.
Overrides: object.__str__

Property Details [hide private]

id

Node ID for the reaction.
Get Method:
_getid(self)
Set Method:
_setid(self, value)
Delete Method:
_delid(self)

name

List of KEGG identifiers for the reaction.
Get Method:
_getnames(self)
Set Method:
_setnames(self, value)
Delete Method:
_delnames(self)

substrates

Return list of substrate Entry elements.
Get Method:
unreachable.substrates(self) - Return list of substrate Entry elements.

products

Return list of product Entry elements.
Get Method:
unreachable.products(self) - Return list of product Entry elements.

entry

Return the Entry corresponding to this reaction.
Get Method:
unreachable.entry(self) - Return the Entry corresponding to this reaction.

reactant_ids

Return a list of substrate and product reactant IDs.
Get Method:
unreachable.reactant_ids(self) - Return a list of substrate and product reactant IDs.

element

Return KGML element describing the Reaction.
Get Method:
unreachable.element(self) - Return KGML element describing the Reaction.