OERenderActiveSiteMaps¶
bool OERenderActiveSiteMaps(OEDepict::OEImageBase &image, const OEBio::OEInteractionHintContainer &asite)Renders four protein-ligand maps (interaction, unpaired, b-factor and contact) into separate tabs of an image.
- image
The image in which the active site is drawn.
- asite
The OEInteractionHintContainer object that holds the data for the active site.
Note
This functionality is only available for
.svg
image format.Example:
asite = oechem.OEInteractionHintContainer(protein, ligand) oechem.OEPerceiveInteractionHints(asite) oegrapheme.OEPrepareActiveSiteDepiction(asite) image = oedepict.OEImage(800.0, 600.0) oegrapheme.OERenderActiveSiteMaps(image, asite) oedepict.OEWriteImage("RenderActiveSiteMaps.svg", image)
See also
OERenderActiveSite
function
OERenderBFactorMap
function
OERenderContactMap
function
OERenderUnpairedInteractionMap
functionCode Example
Visualizing Protein-Ligand Maps OpenEye Python Cookbook recipe