Skip to content

Commit 2206cad

Browse files
committed
first chain="A"
for multimers, update asym_id so first chain is A
1 parent 787ffc6 commit 2206cad

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

colabfold/batch.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -403,6 +403,7 @@ def predict_structure(
403403
if "multimer" in model_type:
404404
# TODO: add multimer padding
405405
input_features = processed_feature_dict
406+
input_features["asym_id"] = input_features["asym_id"] - input_features["asym_id"][...,0]
406407
else:
407408
# TODO: move asym_id processing to "process_features"
408409
r = processed_feature_dict["aatype"].shape[0]

0 commit comments

Comments
 (0)