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.
|
|
|