Skip to content

YumizSui/PairMap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PairMap

PairMap is a comprehensive tool for the calculation of relative binding free energies in complex compound transformations. It involves the exhaustive generation of intermediates and the construction of intermediate-induced perturbation maps.

Installation

conda install -c conda-forge lomap2
pip install .

Dependencies

PairMap requires the following dependencies:

  • lomap2
  • networkx
  • numpy
  • rdkit>=2021.03.1
  • tqdm

These dependencies will be automatically installed when you install PairMap using pip.

Usage

from pairmap import IntermediateGenerator
source_ligand = Chem.MolFromMolFile("/path/to/source_ligand.mol")
target_ligand = Chem.MolFromMolFile("/path/to/target_ligand.mol")

# Generate intermediates
searchIntm = SearchIntermediates(source_ligand, target_ligand)
intermediates = searchIntm.generate_intermediates()

# ligand preparation with openbabel and extract same formal charge
obabel_path = "/path/to/obabel"
intermediates_avail = execute_ligand_preparation(intermediates, obabel_path = obabel_path, extract_same_formal_charge=True)

# Generate map
mapGen = MapGenerator(intermediates_avail, maxPathLength=4, cycleLength=3, maxOptimalPathLength=3, jobs=-1)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages