freebayes_bcf_filter.py 文件源码

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

项目:sequana 作者: sequana 项目源码 文件源码
def __init__(self, input_filename, **kwargs):
        """
        :param str filename: a bcf file.
        :param kwargs: any arguments accepted by VariantFile.
        """
        try:
            super().__init__(input_filename, **kwargs)
        except OSError:
            logger.error("OSError: {0} doesn't exist.".format(input_filename))
            raise OSError
        # initiate filters dictionary
        self._filters = {'freebayes_score': 0,
                         'frequency': 0,
                         'min_depth': 0,
                         'forward_depth':0,
                         'reverse_depth':0,
                         'strand_ratio': 0}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号