reftools.py 文件源码

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

项目:XYalign 作者: WilsonSayresLab 项目源码 文件源码
def chromosome_names(self):
        """
        Returns
        -------

        tuple
            Chromosome names ordered by sequence order in fasta

        """
        fastafile = pysam.FastaFile(self.filepath)
        names = fastafile.references
        fastafile.close()
        # pysam's .lengths does not return a tuple (despite what is in the docs),
        # so, convert to tuple before returning.
        return tuple(names)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号