energetics.py 文件源码

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

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


问题


面经


文章

微信
公众号

扫码关注公众号