Atom Mappings#

Tools for mapping atoms in one molecule to those in another. Used to generate efficient ligand networks.

Abstract Base Class

LigandAtomMapper

Suggest atom mappings between two SmallMoleculeComponent instances.

Implementations

LomapAtomMapper

Wraps the MCS atom mapper from Lomap.

PersesAtomMapper

Suggest atom mappings with the Perses atom mapper.

Data Types

LigandAtomMapping

Container for an atom mapping between two small molecule components.

Atom Map Scorers#

Scoring functions for a mapping between ligands. These are used as objective functions for Network Planners.

Lomap Scorers#

Scorers implemented by the LOMAP package.

default_lomap_score

The default score function from Lomap2

ecr_score

mcsr_score

Maximum command substructure rule

mncar_score

Minimum number of common atoms rule

atomic_number_score

A score on the elemental changes happening in the mapping

hybridization_score

Score calculated as:

sulfonamides_score

Checks if a sulfonamide appears and disallow this.

heterocycles_score

Checks if a heterocycle is formed from a -H

transmuting_methyl_into_ring_score

Penalises having a non-mapped ring atoms become a non-ring

transmuting_ring_sizes_score

Checks if mapping alters a ring size

Perses Scorers#

Scorers implemented by the Perses package.

default_perses_scorer

Score an atom mapping with the default Perses score function.