biopython v1.71.0 Bio.KEGG.KGML.KGML_pathway.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:

  • id - The ID of the entry in the pathway map (integer)
  • names - List of KEGG IDs for the entry
  • type - The type of the entry
  • link - URL of information about the entry
  • reaction - List of KEGG IDs of the corresponding reactions (integer)
  • graphics - List of Graphics objects describing the Entry’s visual representation
  • components - List of component node ID for this Entry (‘group’)
  • alt - List of alternate names for the Entry

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

Link to this section Summary

Functions

Initialize the class

Return readable descriptive string

Add an element to the entry

Add the Graphics entry

Coordinate bounds for all Graphics elements in the Entry

Return the Entry as a valid KGML element

Does this Entry participate in any reaction in parent pathway?

Remove the entry with the passed ID from the group

Remove the Graphics entry with the passed ID from the group

Link to this section Functions

Initialize the class.

Return readable descriptive string.

Link to this function add_component()

Add an element to the entry.

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

Add the Graphics entry.

Coordinate bounds for all Graphics elements in the Entry.

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

Return the Entry as a valid KGML element.

Does this Entry participate in any reaction in parent pathway?

Returns True if the Entry participates in any reaction of its parent Pathway

Link to this function remove_component()

Remove the entry with the passed ID from the group.

Link to this function remove_graphics()

Remove the Graphics entry with the passed ID from the group.