Package Bio :: Package KEGG
[hide private]
[frames] | no frames]

Package KEGG

source code


This module provides code to work with data from the KEGG database.

References:

Kanehisa, M. and Goto, S.; KEGG: Kyoto Encyclopedia of Genes and Genomes.
Nucleic Acids Res. 28, 29-34 (2000).

URL: http://www.genome.ad.jp/kegg/

Submodules [hide private]
  • Bio.KEGG.Compound: Code to work with the KEGG Ligand/Compound database.
  • Bio.KEGG.Enzyme: Code to work with the KEGG Enzyme database.
  • Bio.KEGG.Map: This module provides code to import KEGG Pathway maps for use with the Biopython Pathway module.

Functions [hide private]
 
_default_wrap(indent) source code
 
_wrap_kegg(line, max_width=68, wrap_rule=<function <lambda> at 0x6265d70>)
Wraps the input line for KEGG output.
source code
 
_write_kegg(item, info, indent=12)
Write a indented KEGG record item.
source code
Variables [hide private]
  KEGG_ITEM_LENGTH = 12
  KEGG_LINE_LENGTH = 80
  KEGG_DATA_LENGTH = 68
  __package__ = None
hash(x)
Function Details [hide private]

_wrap_kegg(line, max_width=68, wrap_rule=<function <lambda> at 0x6265d70>)

source code 
Wraps the input line  for KEGG output.

Arguments:

o info - String holding the information we want wrapped
for KEGG output.
o max_width - Maximum width of a line.
o wrap_rule - A wrap rule (see above) for deciding how to split
strings that must be wrapped.

_write_kegg(item, info, indent=12)

source code 
Write a indented KEGG record item.

Arguments:

o item - The name of the item to be written.
o info - The (wrapped) information to write.
o indent - Width of item field.