deepfold.data.multimer.input_features.crop_chains

deepfold.data.multimer.input_features.crop_chains(chains_list: List[dict], msa_crop_size: int, pair_msa_sequences: bool, max_templates: int) List[dict][source]

Crops the MSAs for a set of chains.

Parameters:
  • chains_list – A list of chains to be cropped.

  • msa_crop_size – The total number of sequences to crop from the MSA.

  • pair_msa_sequences – Whether we are operating in sequence-pairing mode.

  • max_templates – The maximum templates to use per chain.

Returns:

The chains cropped.