You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

42 regels
822 B

  1. # cython: embedsignature=True
  2. # cython: profile=True
  3. # adds doc-strings for sphinx
  4. import tempfile
  5. import os
  6. import sys
  7. import types
  8. import itertools
  9. import struct
  10. import ctypes
  11. import collections
  12. import re
  13. import platform
  14. import warnings
  15. from cpython cimport PyErr_SetString, \
  16. PyBytes_Check, \
  17. PyUnicode_Check, \
  18. PyBytes_FromStringAndSize
  19. from pysam.libcalignmentfile cimport AlignmentFile, AlignedSegment
  20. cdef class Samfile(AlignmentFile):
  21. '''Deprecated alternative for :class:`~pysam.AlignmentFile`
  22. Added for backwards compatibility with pysam <= 0.8.0
  23. '''
  24. pass
  25. cdef class AlignedRead(AlignedSegment):
  26. '''Deprecated alternative for :class:`~pysam.AlignedSegment`
  27. Added for backwards compatibility with pysam <= 0.8.0
  28. '''
  29. pass
  30. __all__ = ['Samfile', 'AlignedRead']