dbnsfp.old.py 文件源码

python
阅读 17 收藏 0 点赞 0 评论 0

项目:pynnotator 作者: raonyguimaraes 项目源码 文件源码
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')
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号