feature.py 文件源码

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

项目:EMBLmyGFF3 作者: NBISweden 项目源码 文件源码
def sequence(self):
        """
        Returns the nucleotide sequence of self
        """
        if self.location.strand > 0:
            return SeqFeature(location = self.location).extract(self.seq)

        seq = Seq("")
        for part in reversed(self.location.parts):
            seq += SeqFeature(location = part).extract(self.seq)

        return seq
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号