mirror of
https://github.com/lh3/minimap2.git
synced 2026-09-15 13:07:55 +08:00
load python README.rst into setup.py
This commit is contained in:
@@ -87,6 +87,6 @@ cdef extern from "cminimap2.h":
|
||||
int8_t strand, trans_strand
|
||||
int32_t n_cigar32
|
||||
uint32_t *cigar32
|
||||
|
||||
|
||||
void mm_reg2hitpy(const mm_idx_t *mi, mm_reg1_t *r, mm_hitpy_t *h)
|
||||
void mm_free_reg1(mm_reg1_t *r)
|
||||
|
||||
@@ -105,7 +105,7 @@ cdef class Aligner:
|
||||
self._idx = cminimap2.mm_idx_reader_read(r, n_threads) # NB: ONLY read the first part
|
||||
cminimap2.mm_idx_reader_close(r)
|
||||
cminimap2.mm_mapopt_update(&self.map_opt, self._idx)
|
||||
|
||||
|
||||
def __dealloc__(self):
|
||||
if self._idx is not NULL:
|
||||
cminimap2.mm_idx_destroy(self._idx)
|
||||
|
||||
Reference in New Issue
Block a user