File: apat_pattern.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 (28 lines) | stat: -rwxr-xr-x 941 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
#cython: language_level=3

from obitools3.dms.capi.apat cimport SeqPtr


cdef class One_primer_search_result:
    cdef SeqPtr _pointer
    cdef int pattern_ref
    cdef int hit_count
    cdef inline SeqPtr pointer(self)
    @staticmethod
    cdef new(SeqPtr apat_seq_p, int pattern_ref, int hit_count)
    cpdef first_encountered(self)
    

cdef class Primer_search:
    cdef SeqPtr apat_seq_p
    cdef list direct_primers
    cdef list revcomp_primers
    cpdef One_primer_search_result search_one_primer(self, bytes sequence, 
                                                     int primer_pair_index, int primer_index, 
                                                     bint reverse_comp=*, 
                                                     bint same_sequence=*, 
                                                     int pattern_ref=*,
                                                     int begin=*)
    cpdef free(self)