Back to index

python-biopython  1.60
Public Member Functions
test_Enzyme.TestEnzyme Class Reference

List of all members.

Public Member Functions

def test_lipoprotein
def test_proline
def test_valine
def test_lactate

Detailed Description

Definition at line 13 of file test_Enzyme.py.


Member Function Documentation

Definition at line 76 of file test_Enzyme.py.

00076 
00077     def test_lactate(self):
00078         "Parsing ENZYME record for lactate racemase (5.1.2.1)"
00079         filename = os.path.join( 'Enzymes', 'lactate.txt')
00080         handle = open(filename)
00081         record = Enzyme.read(handle)
00082         handle.close()
00083         self.assertEqual(record["ID"], "5.1.2.1")
00084         self.assertEqual(record["DE"], "Lactate racemase.")
00085         self.assertEqual(len(record["AN"]), 3)
00086         self.assertEqual(record["AN"][0], "Hydroxyacid racemase.")
00087         self.assertEqual(record["AN"][1], "Lactic acid racemase.")
00088         self.assertEqual(record["AN"][2], "Lacticoracemase.")
00089         self.assertEqual(record["CA"], "(S)-lactate = (R)-lactate.")
00090         self.assertEqual(len(record["DR"]), 0)

Here is the call graph for this function:

Definition at line 15 of file test_Enzyme.py.

00015 
00016     def test_lipoprotein(self):
00017         "Parsing ENZYME record for lipoprotein lipase (3.1.1.34)"
00018         filename = os.path.join( 'Enzymes', 'lipoprotein.txt')
00019         handle = open(filename)
00020         record = Enzyme.read(handle)
00021         handle.close()
00022         self.assertEqual(record["ID"], "3.1.1.34")
00023         self.assertEqual(record["DE"], "Lipoprotein lipase.")
00024         self.assertEqual(len(record["AN"]), 3)
00025         self.assertEqual(record["AN"][0], "Clearing factor lipase.")
00026         self.assertEqual(record["AN"][1], "Diacylglycerol lipase.")
00027         self.assertEqual(record["AN"][2], "Diglyceride lipase.")
00028         self.assertEqual(record["CA"], "Triacylglycerol + H(2)O = diacylglycerol + a carboxylate.")
00029         self.assertEqual(record["CC"][0], 'Hydrolyzes triacylglycerols in chylomicrons and very low-density lipoproteins (VLDL).')
00030         self.assertEqual(record["CC"][1], "Also hydrolyzes diacylglycerol.")
00031         self.assertEqual(record['PR'], ["PDOC00110"])
00032         self.assertEqual(record["DR"][0], ["P11151", "LIPL_BOVIN"])
00033         self.assertEqual(record["DR"][1], ["P11153", "LIPL_CAVPO"])
00034         self.assertEqual(record["DR"][2], ["P11602", "LIPL_CHICK"])
00035         self.assertEqual(record["DR"][3], ["P55031", "LIPL_FELCA"])
00036         self.assertEqual(record["DR"][4], ["P06858", "LIPL_HUMAN"])
00037         self.assertEqual(record["DR"][5], ["P11152", "LIPL_MOUSE"])
00038         self.assertEqual(record["DR"][6], ["O46647", "LIPL_MUSVI"])
00039         self.assertEqual(record["DR"][7], ["P49060", "LIPL_PAPAN"])
00040         self.assertEqual(record["DR"][8], ["P49923", "LIPL_PIG"])
00041         self.assertEqual(record["DR"][9], ["Q06000", "LIPL_RAT"])
00042         self.assertEqual(record["DR"][10], ["Q29524", "LIPL_SHEEP"])

Here is the call graph for this function:

Definition at line 43 of file test_Enzyme.py.

00043 
00044     def test_proline(self):
00045         "Parsing ENZYME record for proline racemase (5.1.1.4)"
00046         filename = os.path.join( 'Enzymes', 'proline.txt')
00047         handle = open(filename)
00048         record = Enzyme.read(handle)
00049         handle.close()
00050         self.assertEqual(record["ID"], "5.1.1.4")
00051         self.assertEqual(record["DE"], "Proline racemase.")
00052         self.assertEqual(record["CA"], "L-proline = D-proline.")
00053         self.assertEqual(len(record["DR"]), 9)
00054         self.assertEqual(record["DR"][0], ["Q17ZY4", "PRAC_CLOD6"])
00055         self.assertEqual(record["DR"][1], ["A8DEZ8", "PRAC_CLODI"])
00056         self.assertEqual(record["DR"][2], ["Q4DA80", "PRCMA_TRYCR"])
00057         self.assertEqual(record["DR"][3], ["Q868H8", "PRCMB_TRYCR"])
00058         self.assertEqual(record["DR"][4], ["Q3SX04", "PRCM_BOVIN"])
00059         self.assertEqual(record["DR"][5], ["Q96EM0", "PRCM_HUMAN"])
00060         self.assertEqual(record["DR"][6], ["Q9CXA2", "PRCM_MOUSE"])
00061         self.assertEqual(record["DR"][7], ["Q5RC28", "PRCM_PONAB"])
00062         self.assertEqual(record["DR"][8], ["Q66II5", "PRCM_XENTR"])

Here is the call graph for this function:

Definition at line 63 of file test_Enzyme.py.

00063 
00064     def test_valine(self):
00065         "Parsing ENZYME record for valine decarboxylase (4.1.1.14)"
00066         filename = os.path.join( 'Enzymes', 'valine.txt')
00067         handle = open(filename)
00068         record = Enzyme.read(handle)
00069         handle.close()
00070         self.assertEqual(record["ID"], "4.1.1.14")
00071         self.assertEqual(record["DE"], "Valine decarboxylase.")
00072         self.assertEqual(record["CA"], "L-valine = 2-methylpropanamine + CO(2).")
00073         self.assertEqual(record["CF"], "Pyridoxal 5'-phosphate.")
00074         self.assertEqual(record["CC"], ["Also acts on L-leucine."])
00075         self.assertEqual(len(record["DR"]), 0)

Here is the call graph for this function:


The documentation for this class was generated from the following file: