energetics.py 文件源码

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

项目:piperine 作者: DNA-and-Natural-Algorithms-Group 项目源码 文件源码
def matching_uniform(self, seqs):
        # Make a boolean vector representing which toeholds' external context dG
        # is further from the target dG than than their internal context dG
        dG_external = self.th_external_dG(seqs)
        dG_internal = self.th_internal_dG(seqs)
        external_further_bool = np.abs(dG_external - self.targetdG) >\
                                np.abs(dG_internal - self.targetdG)
        return np.choose(external_further_bool, [dG_internal, dG_external])
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号