Did I find the right examples for you? yes no

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

src/s/e/seal-0.4.0-rc2/tests/seal/lib/aligner/bwa/testing_utilities.py   seal(Download)
def build_bwa_seq_t(hit):
  """Create a real bwa_seq_t from a dictionary containing its values"""
  struct = bwa.bwa_seq_t()
  struct.name = ct.c_char_p(hit['name'])
  struct.seq = ct.cast(ct.create_string_buffer(len(hit['seq'])), ct.POINTER(ct.c_uint8))