hg19util.py 文件源码

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

项目:AmpliconArchitect 作者: virajbdeshpande 项目源码 文件源码
def __init__(self, line, start=-1, end=-1, strand=1,
        file_format='', bamfile=None, info=''):
        self.info = ""
        self.file_format = file_format
        if type(line) == pysam.AlignedRead or type(line) == pysam.AlignedSegment:
            self.load_pysamread(line, bamfile)
        elif start == -1:
            self.load_line(line, file_format)
        elif end == -1:
            self.load_pos(line, start, start, strand)
        else:
            self.load_pos(line, start, end, strand)
        if len(info) > 0:
            self.info = info
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号