deepfold.common.protein.ideal_atom_mask

deepfold.common.protein.ideal_atom_mask(prot: Protein) ndarray[source]

Computes an ideal atom mask.

Protein.atom_mask typically is defined according to the atoms that are reported in the PDB. This function computes a mask according to heavy atoms that should be present in the given sequence of amino acids.

Parameters:

protProtein whose fields are numpy.ndarray objects.

Returns:

An ideal atom mask.