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)

Example of using the OERenderActiveSiteMaps function

../../_images/RenderActiveSiteMaps.svg

Code Example