Did I find the right examples for you? yes no

All Samples(8)  |  Call(8)  |  Derive(0)  |  Import(0)

src/s/e/seal-0.4.0-rc2/tests/seal/lib/aligner/bwa/test_core.py   seal(Download)
    def tearDown(self):
        for seq_array in self.toy_bwsa:
            bwa.free_seq(len(self.toy_data), seq_array)
 
 
            self.assertEqual(row[2], ''.join( [chr(array[i].qual[k]+resulting_qoffset) for k in xrange(array[i].full_len)] ))
 
        bwa.free_seq(len(self.toy_data), array)
 
    def test_init_sequences_with_trimming(self):
        array = bwa.init_sequences( ct.cast(pointers, bwa.p_char_p), len(data), q_offset, 15)
        self.assertEqual(35, array[0].clip_len)
        bwa.free_seq(len(data), array)
 
 
        self.assertEqual(100, bwsa[1][0].clip_len) # this one isn't clipped at q=15
        for seq_array in bwsa:
            bwa.free_seq(len(pair), seq_array)
 
    def test_build_bws_array_with_trim_qual(self):
        self.assertEqual(lengths[1], bwsa[1][0].clip_len)
        for seq_array in bwsa:
            bwa.free_seq(len(pair), seq_array)
 
    def test_build_bws_array_with_trim_qual_zero(self):