| 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 =
|
|||
|
|||
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
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Tue Feb 5 17:59:45 2013 | http://epydoc.sourceforge.net |