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}
评论列表
文章目录