Multi-copy trajectory of a protein-protein complex. Quite basic.
ComplexTraj keeps the reference PDBModel of the normal Trajectory but,
additionally, knows which chains in the reference belong to the receptor
and which chains belong to the ligand. It tries to keep the 2 lists of
chain indices ( cr and cl ) up-to-date, even if chains are removed or
re-ordered.
Appending of atoms/chains (e.g. with concatAtoms) is currently not
considered and will most likely leed to additional chains that are
ignored by the complex-specific functions.
|
__init__(self,
traj=None,
recChains=[0],
n_members=10,
rec=None)
Use:
|
str
|
version(self)
Version of Dock.Complex
|
EnsembleTraj
|
ligTraj(self)
Returns
ligand part of this Trajectory (copy)
|
EnsembleTraj
|
recTraj(self)
Returns
receptor part of this Trajectory (copy)
|
PDBModel
|
refRec(self)
Returns
copy of the receptor part of the reference model
|
PDBModel
|
refLig(self)
Returns
copy of the ligand part of the reference model
|
|
refCom(self)
Returns
Complex
|
|
__getitem__(self,
i)
|
Complex
|
getComplex(self,
index)
Use:
|
|
replaceContent(self,
traj)
Replace content of this trajectory by content of given traj.
|
{int:int}
|
__translateChainIndices(self,
atomIndices,
newChainMap)
Translate current chain indices into what they would look like in
a PDBModel containing only the given atoms in the given order.
|
ComplexTraj
|
takeAtoms(self,
indices,
returnClass=None)
takeAtoms( indices, [returnClass] ) -> ComplexTraj
|
ComplexTraj
|
concatAtoms(self,
recChains,
*traj)
Concatenate 2 trajectories of same (frame) length 'horizontally',
i.e.
|
matrix
|
atomContacts(self,
index,
cutoff=4.5,
rec_mask=None,
lig_mask=None)
Use:
|
matrix
|
averageContacts(self,
step=10,
cutoff=4.5)
Use:
|
|
plotContactDensity(self,
step=1,
cutoff=4.5)
Example.
|