cpg.py 文件源码

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

项目:bx-python 作者: bxlab 项目源码 文件源码
def __call__( self, block ):
        if not block: return block
        if len(block.components) < 2:
            return
        cpglist = list_cpg( \
            string.upper(block.components[0].text), \
            string.upper(block.components[1].text) )

        self.masked += len( cpglist )
        self.total += len( block.components[0].text )
        for component in block.components:
            component.text = mask_columns( cpglist, component.text, self.mask)

        return block

#Mak nonCpG sites
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号