A helper class to split a receptor-ligand complex structure into
ligand, and receptor structure components, and write the structure
components to new files.
The receptor will have the same properties as the input complex. By
default, the ligand takes the title of the complex but has no other
properties. The ligand title can be selected from one of the complex's
properties with ligand_title_source, and a list of properties to transfer
to the ligand can be specified with ligand_properties.
|
__init__(self,
st,
ligand_asl=None,
ligand_title_source=None,
ligand_properties=None) |
|
|
|
_split(self)
Extracts the ligand from the ligand-receptor complex, creates the
ligand structure attribute, and deletes the ligand from the complex
to form the receptor attribute. |
|
|
|
writePv(self,
file_name)
Writes receptor and ligand to disk, in pv file format. |
|
|
|
writeLigand(self,
file_name)
Writes the ligand structure to the passed filename, clobbering as
needed. |
|
|
|
appendLigand(self,
file_name)
Appends the ligand structure to the passed filename. |
|
|
|
writeReceptor(self,
file_name)
Writes the receptor structure to the passed filename, clobbering as
needed. |
|
|
|
appendReceptor(self,
file_name)
Appends the receptor structure to the passed filename. |
|
|