Skip to content

Commit

Permalink
removed cimport * from most of scripts and tidied up
Browse files Browse the repository at this point in the history
  • Loading branch information
Acribbs committed Oct 25, 2024
1 parent b917f7f commit ba31217
Show file tree
Hide file tree
Showing 5 changed files with 98 additions and 346 deletions.
17 changes: 12 additions & 5 deletions cgat/BamTools/bamtools.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,26 @@ BamTools - Utilities for working with BAM files
This module brings together convenience function for working
with :term:`bam` formatted files.
"""
"""
BamTools - Utilities for working with BAM files
===============================================
This module brings together convenience function for working
with :term:`bam` formatted files.
"""

from pysam.libchtslib cimport *
from pysam.libcalignmentfile cimport AlignmentFile, AlignedSegment
from pysam.libcalignedsegment cimport pysam_bam_get_cigar, \
pysam_bam_get_qname, pysam_get_n_cigar
from pysam.libcfaidx cimport *
from pysam.libcalignedsegment cimport pysam_bam_get_cigar, pysam_bam_get_qname, pysam_get_n_cigar
from pysam.libcfaidx cimport Faidx
from pysam.libchtslib cimport VariantFile
from libc.string cimport strchr
from libc.stdint cimport int8_t
from libc.stdio cimport puts, printf
from libc.stdlib cimport abs
from cpython cimport PyErr_SetString, PyBytes_FromStringAndSize
from cpython cimport array as c_array
from cpython.array cimport array as c_array
from sortedcontainers import SortedList

import array
Expand Down
4 changes: 2 additions & 2 deletions cgat/BamTools/geneprofile.pyx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#cimport csamtools

from pysam.libchtslib cimport *
from pysam.libcalignmentfile cimport *
from pysam.libchtslib cimport VariantFile
from pysam.libcalignmentfile cimport AlignmentFile, AlignedSegment
import pysam

import collections, array, struct, sys, itertools
Expand Down
Loading

0 comments on commit ba31217

Please sign in to comment.