deepfold.data.multimer.msa_pairing.pad_features

deepfold.data.multimer.msa_pairing.pad_features(feature: ndarray, feature_name: str) ndarray[source]

Add a ‘padding’ row at the end of the features list.

The padding row will be selected as a ‘paired’ row in the case of partial alignment - for the chain that doesn’t have paired alignment.

Parameters:
  • feature – The feature to be padded.

  • feature_name – The name of the feature to be padded.

Returns:

The feature with an additional padding row.