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

Package Bio.KEGG

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/
Function Summary
  _default_wrap(indent)
  _wrap_kegg(line, max_width, wrap_rule)
Wraps the input line for KEGG output.
  _write_kegg(item, info, indent)
Write a indented KEGG record item.

Variable Summary
int KEGG_DATA_LENGTH = 68                                                                    
int KEGG_ITEM_LENGTH = 12                                                                    
int KEGG_LINE_LENGTH = 80                                                                    

Function Details

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

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)

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.

Variable Details

KEGG_DATA_LENGTH

Type:
int
Value:
68                                                                    

KEGG_ITEM_LENGTH

Type:
int
Value:
12                                                                    

KEGG_LINE_LENGTH

Type:
int
Value:
80                                                                    

Generated by Epydoc 2.1 on Thu Mar 31 20:15:47 2005 http://epydoc.sf.net