File: shifted_ali.pxd

package info (click to toggle)
obitools 3.0.1~b26%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 26,756 kB
  • sloc: ansic: 24,299; python: 657; sh: 27; makefile: 21
file content (33 lines) | stat: -rwxr-xr-x 1,093 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#cython: language_level=3

from obitools3.dms.capi.kmer_similarity cimport kmer_similarity, Obi_ali_p
from libc.stdint  cimport int32_t, uint8_t
from obitools3.dms.capi.obiview cimport Obiview_p
from obitools3.dms.capi.obidmscolumn cimport OBIDMS_column_p


cdef class Ali_shifted:
    cdef Obi_ali_p _pointer
    cdef inline Obi_ali_p pointer(self)
    cpdef free(self)
    @staticmethod
    cdef Ali_shifted new_ali(Obi_ali_p ali_p)


cdef class Kmer_similarity:
    cdef uint8_t         kmer_size
    cdef int32_t*        kmer_pos_array_p
    cdef int32_t         kmer_pos_array_height_a[1]
    cdef int32_t*        shift_array_p
    cdef int32_t         shift_array_height_a[1]
    cdef int32_t*        shift_count_array_p
    cdef int32_t         shift_count_array_height_a[1]
    cdef Obiview_p       view1_p
    cdef OBIDMS_column_p column1_p
    cdef OBIDMS_column_p qual_col1_p
    cdef Obiview_p       view2_p
    cdef OBIDMS_column_p column2_p
    cdef OBIDMS_column_p qual_col2_p
    cdef OBIDMS_column_p reversed_col_p
    cdef bint            build_consensus
    cpdef free(self)