Ejemplo n.º 1
0
 def test_pos_profiles_trailingHardclips(self):
     util = cigar.CigarUtil(0, "1M")
     actual = util._pos_profiles("SDMHH")
     self.assertEquals((2, ["S", "D", "M", "HH"]), actual)
Ejemplo n.º 2
0
 def test_pos_profiles_insertOk(self):
     util = cigar.CigarUtil(0, "1M")
     actual = util._pos_profiles("SIM")
     self.assertEquals((1, ["S", "IM"]), actual)
Ejemplo n.º 3
0
 def test_pos_profiles_deleteOk(self):
     util = cigar.CigarUtil(0, "1M")
     actual = util._pos_profiles("SDM")
     self.assertEquals((2, ["S", "D", "M"]), actual)
Ejemplo n.º 4
0
 def test_pos_profiles_uncommonMatchOpOk(self):
     util = cigar.CigarUtil(0, "1M")
     actual = util._pos_profiles("=MM")
     self.assertEquals((0, ["=", "M", "M"]), actual)
Ejemplo n.º 5
0
 def test_pos_profiles_leadingSoftclips(self):
     util = cigar.CigarUtil(0, "1M")
     actual = util._pos_profiles("SMM")
     self.assertEquals((1, ["S", "M", "M"]), actual)
Ejemplo n.º 6
0
 def test_pos_profiles_trailingHardclips(self):
     util = cigar.CigarUtil(0, "1M")
     actual = util._pos_profiles("SDMHH")
     self.assertEquals((2, ["S", "D", "M", "HH"]), actual)
Ejemplo n.º 7
0
 def test_pos_profiles(self):
     util = cigar.CigarUtil(0, "1M")
     actual = util._pos_profiles("MMM")
     self.assertEquals((0, ["M", "M", "M"]), actual)
Ejemplo n.º 8
0
 def test_pos_profiles_deleteOk(self):
     util = cigar.CigarUtil(0, "1M")
     actual = util._pos_profiles("SDM")
     self.assertEquals((2, ["S", "D", "M"]), actual)
Ejemplo n.º 9
0
 def test_pos_profiles_insertOk(self):
     util = cigar.CigarUtil(0, "1M")
     actual = util._pos_profiles("SIM")
     self.assertEquals((1, ["S", "IM"]), actual)
Ejemplo n.º 10
0
 def test_pos_profiles_leadingSoftclips(self):
     util = cigar.CigarUtil(0, "1M")
     actual = util._pos_profiles("SMM")
     self.assertEquals((1, ["S", "M", "M"]), actual)
Ejemplo n.º 11
0
 def test_pos_profiles_uncommonMatchOpOk(self):
     util = cigar.CigarUtil(0, "1M")
     actual = util._pos_profiles("=MM")
     self.assertEquals((0, ["=", "M", "M"]), actual)
Ejemplo n.º 12
0
 def test_pos_profiles(self):
     util = cigar.CigarUtil(0, "1M")
     actual = util._pos_profiles("MMM")
     self.assertEquals((0, ["M", "M", "M"]), actual)