Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
from kipoi.data import Dataset, kipoi_dataloader
from kipoi.metadata import GenomicRanges
from kipoi.specs import Author, Dependencies
from kipoi.data import SampleIterator
import gffutils
from pyfaidx import Fasta
import pickle
# general dependencies
# bioconda::genomelake', TODO - add genomelake again once it gets released with pyfaidx to bioconda
deps = Dependencies(conda=['bioconda::pyfaidx', 'numpy', 'pandas'],
pip=['kipoiseq', 'kipoi'])
package_authors = [Author(name='Jun Cheng', github='s6juncheng')]
__all__ = ['ExonInterval', 'generate_exons', 'MMSpliceDl']
# python 2.7 compatibility
try:
FileNotFoundError
except NameError:
FileNotFoundError = IOError
try:
ModuleNotFoundError
except NameError:
ModuleNotFoundError = ImportError