Did I find the right examples for you? yes no

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

src/s/e/seal-0.4.0-rc2/tests/seal/lib/aligner/bwa/test_core.py   seal(Download)
    def test_bwa_init_sequences_no_trim(self):
        row_type = (ct.c_char_p * 3)
        pointers = (row_type*len(self.toy_data))()
        q_offset = bwa.Q_OFFSET["fastq-illumina"]
        for i, row in enumerate(self.toy_data):
            for j in xrange(3):
                pointers[i][j] = row[j]
        array = bwa.init_sequences( ct.cast(pointers, bwa.p_char_p), len(self.toy_data), q_offset, 0)
 
        resulting_qoffset = q_offset - bwa.Q_OFFSET["fastq-sanger"]
        row_type = (ct.c_char_p * 3)
        pointers = (row_type*len(data))()
        q_offset = bwa.Q_OFFSET["fastq-sanger"]
        for i, row in enumerate(data):
            for j in xrange(3):