deepfold.data.multimer.msa_pairing.reorder_paired_rows

deepfold.data.multimer.msa_pairing.reorder_paired_rows(all_paired_msa_rows_dict: Dict[int, ndarray]) ndarray[source]

Creates a list of indices of paired MSA rows across chains.

Parameters:

all_paired_msa_rows_dict – a mapping from the number of paired chains to the paired indices.

Returns:

a list of lists, each containing indices of paired MSA rows across chains. The paired-index lists are ordered by:

  1. the number of chains in the paired alignment, i.e, all-chain pairings will come first.

  2. e-values