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

Package Enzyme

source code

Code to work with the KEGG Enzyme database.

Functions:
parse - Returns an iterator giving Record objects.

Classes:
Record               -- Holds the information from a KEGG Enzyme record.

Classes [hide private]
  Record
Holds info from a KEGG Enzyme record.
Functions [hide private]
 
id_wrap(indent) source code
 
struct_wrap(indent) source code
 
parse(handle)
Parse a KEGG Enzyme file, returning Record objects.
source code
Variables [hide private]
  rxn_wrap = [0, '', (' + ', '', 1, 1), (' = ', '', 1, 1), (' ',...
  name_wrap = [0, '', (' ', '$', 1, 1), ('-', '$', 1, 1)]
  __package__ = 'Bio.KEGG.Enzyme'
Function Details [hide private]

parse(handle)

source code 
Parse a KEGG Enzyme 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,

>>> with open("KEGG/enzyme.sample") as handle:
...     for record in parse(handle):
...         print("%s %s" % (record.entry, record.name[0]))
... 
1.1.1.1 Alcohol dehydrogenase
1.1.1.62 Estradiol 17beta-dehydrogenase
1.1.1.68 Transferred to EC 1.7.99.5
1.6.5.3 NADH dehydrogenase (ubiquinone)
1.14.13.28 3,9-Dihydroxypterocarpan 6a-monooxygenase
2.4.1.68 Glycoprotein 6-alpha-L-fucosyltransferase
3.1.1.6 Acetylesterase
2.7.2.1 Acetate kinase


Variables Details [hide private]

rxn_wrap

Value:
[0,
 '',
 (' + ', '', 1, 1),
 (' = ', '', 1, 1),
 (' ', '$', 1, 1),
 ('-', '$', 1, 1)]