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

Class Entry

source code

object --+
         |
        Entry

Represent an Entry from KGML.

Each Entry element is a node in the pathway graph, as described in release KGML v0.7.1 (http://www.kegg.jp/kegg/xml/docs/)

Attributes:

NOTE: The alt attribute represents a subelement of the substrate and product elements in the KGML file

Instance Methods [hide private]
 
__init__(self)
Initialize the class.
source code
 
__str__(self)
Return readable descriptive string.
source code
 
add_component(self, element)
Add an element to the entry.
source code
 
remove_component(self, value)
Remove the entry with the passed ID from the group.
source code
 
add_graphics(self, entry)
Add the Graphics entry.
source code
 
remove_graphics(self, entry)
Remove the Graphics entry with the passed ID from the group.
source code
 
_getname(self) source code
 
_setname(self, value) source code
 
_delname(self) source code
 
_getreaction(self) source code
 
_setreaction(self, value) source code
 
_delreaction(self) source code
 
_getid(self) source code
 
_setid(self, value) source code
 
_delid(self) source code

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

Properties [hide private]
  name
List of KEGG identifiers for the Entry.
  reaction
List of reaction KEGG IDs for this Entry.
  id
The pathway graph node ID for the Entry.
  element
Return the Entry as a valid KGML element.
  bounds
Coordinate bounds for all Graphics elements in the Entry.
  is_reactant
Return true if this Entry participates in any reaction in its parent pathway.

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 readable descriptive string.
Overrides: object.__str__

add_component(self, element)

source code 

Add an element to the entry.

If the Entry is already part of a pathway, make sure the component already exists.


Property Details [hide private]

name

List of KEGG identifiers for the Entry.
Get Method:
_getname(self)
Set Method:
_setname(self, value)
Delete Method:
_delname(self)

reaction

List of reaction KEGG IDs for this Entry.
Get Method:
_getreaction(self)
Set Method:
_setreaction(self, value)
Delete Method:
_delreaction(self)

id

The pathway graph node ID for the Entry.
Get Method:
_getid(self)
Set Method:
_setid(self, value)
Delete Method:
_delid(self)

element

Return the Entry as a valid KGML element.
Get Method:
unreachable.element(self) - Return the Entry as a valid KGML element.

bounds

Coordinate bounds for all Graphics elements in the Entry.

Return the [(xmin, ymin), (xmax, ymax)] co-ordinates for the Entry Graphics elements.

Get Method:
unreachable.bounds(self) - Coordinate bounds for all Graphics elements in the Entry.

is_reactant

Return true if this Entry participates in any reaction in its parent pathway.
Get Method:
unreachable.is_reactant(self) - Return true if this Entry participates in any reaction in its parent pathway.