Example #1
0
 def testOverlapAlignmentFromFile(self):
     with open('data/sequencing/overlapAlignment.txt') as fp:
         seqs = [l.strip() for l in fp.readlines()]
         score, align1, align2 = overlapAlignment(seqs[0], seqs[1])
         print score
         print align1
         print align2
 def testOverlapAlignmentFromFile(self):
     with open('data/sequencing/overlapAlignment.txt') as fp:
         seqs = [l.strip() for l in fp.readlines()]
         score, align1, align2 = overlapAlignment(seqs[0], seqs[1])
         print score
         print align1
         print align2
Example #3
0
 def testOverlapAlignment(self):
     score, align1, align2 = overlapAlignment('PAWHEAE', 'HEAGAWGHEE')
     self.assertEqual(1, score)
     self.assertEqual('PAWHEAE------', align1)
     self.assertEqual('---HEAGAWGHEE', align2)
 def testOverlapAlignment(self):
     score, align1, align2 = overlapAlignment('PAWHEAE', 'HEAGAWGHEE')
     self.assertEqual(1, score)
     self.assertEqual('PAWHEAE------', align1)
     self.assertEqual('---HEAGAWGHEE', align2)