mdciao.contacts
Computation, bookkeeping, and manipulation of residue-residue contacts.
The methods wrap around a modified version of mdtraj.compute_contacts to extract residue-residue distances. The modifications consist in including the indices of the closest atom-pairs in the returned values.
The classes contain and abstract these distances into sense-making groups, offering methods to operate directly on all residue-residue distances.
It is recommended to use higher-level methods of the API,
like those exposed by mdciao.cli
to create
ContactPair
or ContactGroup
objects and
then use the methods stated above, but of course experienced
users can instantiate them directly.
Classes
Container for |
|
Container for a contacts between two residues |
|
Container for |
|
Container for |
Functions
Wrapper for |
|
Time-traces of residue-residue distances from a list of trajectories |
|
Group residue pairs into neighborhoods using pre-computed contact frequencies |
|
Strided, chunked computation of lower bounds for all-atom residue-residue distances. |
|
Return a lower bound for all-atom residue-residue distances for each pair in ctc_residxs_pairs, for all trajectories in trajs. |