Skip to main content

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)

Installation

  1. Install PoseButcher:

pip install git+https://github.com/mwinokan/PoseButcher.git#egg=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.

Project details


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.1.tar.gz (232.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

posebutcher-0.0.1-py3-none-any.whl (239.4 kB view details)

Uploaded Python 3

File details

Details for the file posebutcher-0.0.1.tar.gz.

File metadata

  • Download URL: posebutcher-0.0.1.tar.gz
  • Upload date:
  • Size: 232.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for posebutcher-0.0.1.tar.gz
Algorithm Hash digest
SHA256 929fdf168f109066a8b597aca2ec433c8beb2c1f728d360d7e5700e8479bd4a2
MD5 bb650ddf5238aa1feff409233f404b1b
BLAKE2b-256 0c890a35ff92ea17a73023ae8304c18e882decd428b97a806cdaf4fa6857a069

See more details on using hashes here.

File details

Details for the file posebutcher-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: posebutcher-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 239.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for posebutcher-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e2525bbd49559dd225e860588954622ac73615d552d89e35f9aa9a2a5bd5d4c1
MD5 cb5f6a27e3bb221bdd0405993028c94e
BLAKE2b-256 0793324cb4edb2be3f8c379ed2e8c35ec3664d74c616c2c5d31a0f3a0bc69dfe

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page