예제 #1
0
 def testContig(self):
     testSeq2RC, testQual2RC = moira.reverse_complement(testSeq2, testQual2)
     aligned1, aligned2 = moira.nw_align(testSeq1, testSeq2RC, args.match,
                                         args.mismatch, args.gap)[:2]
     self.assertEqual(
         moira.make_contig(aligned1, testQual1, aligned2, testQual2RC,
                           args.insert, args.deltaq, args.consensus_qscore,
                           args.qscore_cap), test_contig)
예제 #2
0
 def testNwC(self):
     self.assertEqual(
         nw_align.nw_align(testSeq1, moira.reverse_complement(testSeq2),
                           args.match, args.mismatch, args.gap),
         test_aligned)
예제 #3
0
 def testReverseComplement(self):
     self.assertEqual(moira.reverse_complement(testSeq2, testQual2),
                      testRC2)
예제 #4
0
 def testContig(self):
     testSeq2RC, testQual2RC = moira.reverse_complement(testSeq2, testQual2)
     aligned1, aligned2 = moira.nw_align(testSeq1, testSeq2RC, args.match, args.mismatch, args.gap)[:2]
     self.assertEqual(moira.make_contig(aligned1, testQual1, aligned2, testQual2RC, args.insert, args.deltaq, args.consensus_qscore, args.qscore_cap), test_contig)
예제 #5
0
 def testNwC(self):
     self.assertEqual(nw_align.nw_align(testSeq1, moira.reverse_complement(testSeq2), args.match, args.mismatch, args.gap), test_aligned)
예제 #6
0
 def testReverseComplement(self):
     self.assertEqual(moira.reverse_complement(testSeq2, testQual2), testRC2)