Package for parsing, writing, and modifying molecular structure files
Project description
PoseButcher
"A good butcher always trims the fat"
PoseButcher is a tool for categorising and segmenting virtual hits with reference to experimental protein structures and (fragment) hits.
Ligand atoms are tagged with categories:
- GOOD:
* fragment space: within the fragment bolus
* pocket X: in a specified catalytic/allosteric pocket X
- BAD:
* protein clash: Clashing with the protein
* solvent space: Heading out of the protein/crystal
Usage at a glance
1. Create the butcher (see PoseButcher.__init__):
from posebutcher import PoseButcher
butcher = PoseButcher(protein, hits, pockets)
2. Chop up a posed virtual hit (rdkit.ROMol with a conformer):
result = butcher.chop(mol)
3. Tag a compound based on its pocket occupancy and clashes:
tags = butcher.tag(mol)
4. (Coming soon) Trim a parts of a compound that clash with a protein or leave the crystal
mol = butcher.trim(mol)
5. (Coming soon) Explore the expansion opportunities from a given atom in a virtual hit
result = butcher.explore(mol, index, direction)
6. (Coming soon) Score how well a virtual hit recapitulates shape and colour of the fragment bolus
score: float = butcher.score(mol)
Sample output
Protein, fragment bolus, and catalytic pockets with Open3D:
A chopped up ligand:
Installation
- Install PoseButcher:
pip install posebutcher
Examples
PoseButcher ships with some open access test data from the XChem group at Diamond Light Source, funded by the ASAP consortium.
To run the "example.ipynb":
git clone git@github.com:mwinokan/PoseButcher
cd PoseButcher
jupyter lab
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
posebutcher-0.0.5.tar.gz
(9.1 kB
view hashes)
Built Distribution
Close
Hashes for posebutcher-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2555140328ee4289a42572576f5b2ea80a3780bbde950a188bf69d0f986eba81 |
|
MD5 | d3d8feba28afd12278c9e4c7fffb6d7e |
|
BLAKE2b-256 | 9b8c9228162a918cb0f7d3d1be6b798117d583bfa06fb109fa1888db218b9905 |