You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In data_transforms.py, the function make_msa_feat make protein's target_feat, and add has_beak is cat to target_feat, why?
if i only want get the (N,21), can i get ride of first columns datas, thanks.
def make_msa_feat(protein):
"""Create and concatenate MSA features."""
# Whether there is a domain break. Always zero for chains, but keeping for
# compatibility with domain datasets.
has_break = torch.clip(
protein["between_segment_residues"].to(torch.float32), 0, 1
)
aatype_1hot = make_one_hot(protein["aatype"], 21)
target_feat = [
torch.unsqueeze(has_break, dim=-1),
aatype_1hot, # Everyone gets the original sequence.
]
The text was updated successfully, but these errors were encountered:
In data_transforms.py, the function make_msa_feat make protein's target_feat, and add has_beak is cat to target_feat, why?
if i only want get the (N,21), can i get ride of first columns datas, thanks.
def make_msa_feat(protein):
"""Create and concatenate MSA features."""
# Whether there is a domain break. Always zero for chains, but keeping for
# compatibility with domain datasets.
has_break = torch.clip(
protein["between_segment_residues"].to(torch.float32), 0, 1
)
aatype_1hot = make_one_hot(protein["aatype"], 21)
The text was updated successfully, but these errors were encountered: