Skip to content

get_node_features函数中二面角phi计算好像不对 #1

@imSeaton

Description

@imSeaton

你好呀,看起来src.dataset.mutant_dataset.py 中第318行angles[i, 0] = dihedral(c_coords[i], n_coords[i], c_alpha_coords[i], n_coords[i+1])不对。
image

感觉正确的计算方式应该是 C(i-1)-N(i)-Cα(i)-C(i),可以参考西湖大学反转结构算法PIFold的结构特征编码方式(应该更高效)。不过既然这两都是角度特征且不涉及精确的原子坐标计算,对最终结果的影响应该不大。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions