Trees | Indices | Help |
---|
|
This module provides code to work with the KEGG Ligand/Compound database.
Functions: parse - Returns an iterator giving Record objects.
Classes: Record - A representation of a KEGG Ligand/Compound.
|
|||
Record Holds info from a KEGG Ligand/Compound record. |
|
|||
|
|||
|
|||
|
|||
|
|
|||
name_wrap =
|
|||
__package__ =
|
|
Parse a KEGG Ligan/Compound file, returning Record objects. This is an iterator function, typically used in a for loop. For example, using one of the example KEGG files in the Biopython test suite, >>> handle = open("KEGG/compound.sample") >>> for record in parse(handle): ... print record.entry, record.name[0] ... C00023 Iron C00017 Protein C00099 beta-Alanine C00294 Inosine C00298 Trypsin C00348 Undecaprenyl phosphate C00349 2-Methyl-3-oxopropanoate C01386 NH2Mec |
Run the Bio.KEGG.Compound module's doctests. This will try and locate the unit tests directory, and run the doctests from there in order that the relative paths used in the examples work. |
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Wed Jul 14 01:49:22 2010 | http://epydoc.sourceforge.net |