diff CSP2/CSP2_env/env-d9b9114564458d9d-741b3de822f2aaca6c6caa4325c4afce/lib/python3.8/site-packages/pysam/libcsamfile.pyx @ 69:33d812a61356

planemo upload commit 2e9511a184a1ca667c7be0c6321a36dc4e3d116d
author jpayne
date Tue, 18 Mar 2025 17:55:14 -0400
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/CSP2/CSP2_env/env-d9b9114564458d9d-741b3de822f2aaca6c6caa4325c4afce/lib/python3.8/site-packages/pysam/libcsamfile.pyx	Tue Mar 18 17:55:14 2025 -0400
@@ -0,0 +1,41 @@
+# 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 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']
+
+