Table of Contents

Module: __init__ Bio/KEGG/Compound/__init__.py

KEGG Compund package

This module provides code to work with the KEGG Ligand/Compund database.

Classes: Record Iterator Parser

_Scanner _Consumer

Imported modules   
from Bio import File
from Bio.KEGG import _write_kegg, _wrap_kegg
from Bio.ParserSupport import AbstractConsumer, EventGenerator
import Martel
from Martel import RecordReader
import compound_format
from xml.sax import handler
Functions   
_strip
  _strip 
_strip ( line_list )

Combine multiple lines of content separated by spaces.

This function is used by the EventGenerator callback function to combine multiple lines of information. The lines are stripped to remove whitespace.

Classes   
Iterator

Iterator to read a file of KEGG Ligand/Compund entries one at a time.

Parser

Parse KEGG Ligand/Compound files into Record objects

Record

Holds info from a KEGG Ligand/Compound record.

_Consumer

Create a KEGG Ligand/Coumpund Record from scanner events.

_Scanner

Start up Martel to do the scanning of the file.


Table of Contents

This document was automatically generated on Mon Jul 1 12:03:06 2002 by HappyDoc version 2.0.1