deepfold.data.multimer.input_features.add_assembly_features

deepfold.data.multimer.input_features.add_assembly_features(all_chain_features: MutableMapping[str, dict]) MutableMapping[str, dict][source]

Add features to distinguish between chains.

Parameters:

all_chain_features – A dictionary which maps chain_id to a dictionary of features for each chain.

Returns:

A dictionary which maps strings of the form

<seq_id>_<sym_id> to the corresponding chain features. E.g. two chains from a homodimer would have keys A_1 and A_2. Two chains from a heterodimer would have keys A_1 and B_1.

Return type:

all_chain_features