File: libcsamfile.pyx

package info (click to toggle)
python-pysam 0.15.2%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 17,604 kB
  • sloc: ansic: 125,787; python: 7,782; sh: 284; makefile: 222; perl: 41
file content (43 lines) | stat: -rw-r--r-- 869 bytes parent folder | download | duplicates (4)
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
34
35
36
37
38
39
40
41
42
43
# cython: embedsignature=True
# cython: profile=True
# adds doc-strings for sphinx
import tempfile
import os
import sys
import types
import itertools
import struct
import ctypes
import collections
import re
import platform
import warnings
from cpython cimport PyErr_SetString, \
    PyBytes_Check, \
    PyUnicode_Check, \
    PyBytes_FromStringAndSize

from cpython.version cimport PY_MAJOR_VERSION

from pysam.libcalignmentfile cimport AlignmentFile, AlignedSegment


cdef class Samfile(AlignmentFile):
    '''Deprecated alternative for :class:`~pysam.AlignmentFile`

    Added for backwards compatibility with pysam <= 0.8.0
    '''
    pass


cdef class AlignedRead(AlignedSegment):
    '''Deprecated alternative for :class:`~pysam.AlignedSegment`

    Added for backwards compatibility with pysam <= 0.8.0
    '''
    pass


__all__ = ['Samfile', 'AlignedRead']