Exemple #1
0
 def testParseSingleAnnot(self):
     """ test of parse_annot for single ko annot
     """
     annot_line = "sll0995_synechocystis	 K02316:51:6.3:31.6:0.314285714286"
     annot_obj = annot.parse_annot(annot_line)
     self.assertEqual(str(annot_obj), annot_line)
Exemple #2
0
 def testParseMutipleAnnot(self):
     """ test of parse_annot for multiple ko annot
     """
     annot_line = "slr0399_synechocystis	 K00329:41:3e-06:53.5:0.26872246696 K00356:41:3e-06:53.5:0.26872246696"
     annot_obj = annot.parse_annot(annot_line)
     self.assertEqual(str(annot_obj), annot_line)
Exemple #3
0
 def testParseNullAnnot(self):
     """test of parse_annot for null ko annot
     """
     annot_line = "ssr2130_synechocystis	"
     annot_obj = annot.parse_annot(annot_line)
     self.assertEqual(str(annot_obj), annot_line)