def __init__(self, vcffile=None):
self.vcffile = vcffile
self.filename = os.path.splitext(os.path.basename(str(vcffile)))[0]
self.dbnfsp_reader = pysam.Tabixfile(settings.dbnsfp, encoding='utf-8')
self.header = self.dbnfsp_reader.header.__next__().decode('utf8').strip().split('\t')
# create folder snpeff if it doesn't exists
if not os.path.exists('dbnfsp'):
os.makedirs('dbnfsp')
评论列表
文章目录