220 Star 951 Fork 700

GVPMindSpore/mindscience

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
mindsponge.common.find_optimal_renaming.rst 1.41 KB
一键复制 编辑 原始数据 按行查看 历史
十六夜 提交于 2023-03-31 16:37 +08:00 . API 格式修改

mindsponge.common.find_optimal_renaming

.. py:function:: mindsponge.common.find_optimal_renaming(atom14_gt_positions, atom14_alt_gt_positions, atom14_atom_is_ambiguous, atom14_gt_exists, atom14_pred_positions)

    通过最大化LDDT值,确定具手性的氨基酸残基的最佳原子坐标。具体计算过程参考: `Jumper et al. (2021) Suppl. Alg. 26 "renameSymmetricGroundTruthAtoms" <https://www.nature.com/articles/s41586-021-03819-2>`_ 。


    参数:
        - **atom14_gt_positions** (Tensor) - 全局坐标系中的真实原子坐标值,采用atom14表示,shape为 :math:`(N_{res}, 14, 3)` 。
        - **atom14_alt_gt_positions** (Tensor) - 备选的真实原子坐标,部分氨基酸存在手性,因此使用手性对称的位置作为备选真实原子坐标值,shape为 :math:`(N_{res}, 14, 3)` 。
        - **atom14_atom_is_ambiguous** (Tensor) - 掩码表示是否是手性原子中,shape为 :math:`(N_{res}, 14)` 。
        - **atom14_gt_exists** (Tensor) - 掩码表明真实结构中原子是否存在,shape为 :math:`(N_{res}, 14)` 。
        - **atom14_pred_positions** (Tensor) - 全局坐标系中预测得到的原子坐标值,shape为 :math:`(N_{res}, 14, 3)` 。

    返回:
        Tensor。 `atom14_alt_gt_positions` 与  `atom14_pred_positions` 更接近的位置为1,否则是0,shape为 :math:`(N_{res},)` 。
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mindspore/mindscience.git
git@gitee.com:mindspore/mindscience.git
mindspore
mindscience
mindscience
r0.5

搜索帮助