schrodinger.application.glide.structure_images module

APIs for visualizing structures.

Copyright Schrodinger, LLC. All rights reserved.

schrodinger.application.glide.structure_images.draw_ligand_2D_svg(ligand: Ligand)

Generates a 2D representation of the ligand.

Parameters:

ligand – The input ligand to dock

Return type:

str

Returns:

2D drawing of the ligand as an SVG.

schrodinger.application.glide.structure_images.highlight_rotatable_bonds(st: Structure, rot_bonds: list[RotatableBond])
Highlights the rotatable bonds in the structure.
  • PERIPHERAL bonds are colored green

  • CORE bonds are colored red

Return type:

str

Returns:

2D drawing of the ligand with rotatable bonds coloured and atoms numbered as an SVG.