No project description provided
Project description
PotSim2: Simple package to segment and compare protein potential grids
Using gridDataFormats to read the grids and MDAnalysis to make pdb atom selections
Installation
It requires pybind11 to compile the C++ extension
pip install pybind11
git clone https://github.com/chembl/potsim2.git
pip install potsim2/
Usage: Open two grids and calculate PIPSA like scores
The protein electrostatic potential grids can generated with APBS
from potsim2 import PotGrid
# read grids
grid1 = PotGrid('A__02_01.pdb', 'A__02_01.pkl')
grid2 = PotGrid('A__11_01.pdb', 'A__11_01.pkl')
# calculate skin for grid1
skin_mask1 = grid1.get_skin_mask()
grid1.apply_mask(skin_mask1)
# calculate skin for grid2
skin_mask2 = grid2.get_skin_mask()
grid2.apply_mask(skin_mask2)
# calc the Hodgkin similarity index and PIPSA like distance
hsi, dis = grid1.score(grid2)
# export the skins in uncompressed OpenDX format to be visualized in PyMol/ChimeraX
grid1.export('A__02_01.dx')
grid2.export('A__11_01.dx')
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
potsim2-0.3.1.tar.gz
(6.7 kB
view hashes)
Built Distributions
Close
Hashes for potsim2-0.3.1-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f01f3d3e786ae7ef5d66abd681c5dbb5c78e673a25905233cafaf70df8c230e8 |
|
MD5 | 79fae67aca7c0ba3938af255934db33c |
|
BLAKE2b-256 | 37003dc908b706c7b592e71733dc7f954b277ca8ec6faf5e7952ea33aeaffccd |
Close
Hashes for potsim2-0.3.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b9abf70b3723aebf511deb0e8bc1b1665a9afe7e61972414b83bd2284da9ce8 |
|
MD5 | 254e08a9f4e977434dd2485ace602d90 |
|
BLAKE2b-256 | 82923813251bf4097970123132c458bf713af8bd294046dbd26697913d329f5e |
Close
Hashes for potsim2-0.3.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 451282070baa6356d60643a7d52babc4bc978292fb12f078329202c72c5ee16d |
|
MD5 | 5119240afcdf69fe4ffa93933c039724 |
|
BLAKE2b-256 | 32ae015b03c6b1174be181f0c92b6beb4e9b330b485bf0df7022c44cd75658f4 |
Close
Hashes for potsim2-0.3.1-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad72026584a445d5c836b7a39921c66fa879e70f94bb091a053288be803ac1c8 |
|
MD5 | 73a0b8050c71c3df85e1720cb84b1460 |
|
BLAKE2b-256 | 1b97e086905f4fb371bdc2536d6342af2eaf67ba24ce28cbeab349c3e3109a5a |
Close
Hashes for potsim2-0.3.1-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d70b9a7d262d7bec12febc120f9c066cff7e80be3a8eb310bfc4699735abacaa |
|
MD5 | f9935d87efd07114ac2e176fdd455968 |
|
BLAKE2b-256 | be77d1a47ee5a47c4ac4bb20e99931d44bd216247f783c15a9aaaf43aa608a68 |
Close
Hashes for potsim2-0.3.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5fb4084d636602e46e55ede54d38d7fa55a6912e9c85ea37f0d8e04a5e2d833 |
|
MD5 | c9ad442ee707f3f6eaa3260ef34e9b34 |
|
BLAKE2b-256 | c7cd64481d581087cc1ec9304d01a9730b775d9a527cd6ee72f18c3aa5a02304 |
Close
Hashes for potsim2-0.3.1-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea4d2ed08c4d92f3dee3a184c4b54ed9d91046651953d92cbc5abcf1e617d46d |
|
MD5 | 1bafea52cac70b46a9f5781ac874f307 |
|
BLAKE2b-256 | 9af6b851dccd4a2dee2d7d2cfe5ee95ce44fcce18f7038da486e62d96deb97ad |
Close
Hashes for potsim2-0.3.1-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 097d4f446772dcc5a18f5f0fa6608ea48d29cec48ff9421f401ab0d894ed9ca6 |
|
MD5 | 266e6e065a629819859bd2bcd58ffb95 |
|
BLAKE2b-256 | 6c258d1339ed7f2d69ee1314aaa80e445dc531a754bae8b4cef9e4eac5200eed |
Close
Hashes for potsim2-0.3.1-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68b1e92dcb623712939f61fbd1730c9f1c3ad84201446607b94c9a0038cfe97b |
|
MD5 | 8e2b661938dd0e79c5a329f9093a6302 |
|
BLAKE2b-256 | c32ca6ed97fac300a0b39fb83ac40f1b55756da2d33f10f966f853a71cabbe71 |
Close
Hashes for potsim2-0.3.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9987dfcc28b6d0e1badbe9da12c3e58468fd582cda83bf6afa6d3d7263f489c |
|
MD5 | 2d8e7d783362d5c8a5a894b0f4ec4ab0 |
|
BLAKE2b-256 | c50285120159da1cf58ccb182594d4b2049383cc8ad18407e6e039d316934cf2 |
Close
Hashes for potsim2-0.3.1-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13a56e018103ec67e4489dab765b9853230f3d7ca01248c721ec66f60073beaf |
|
MD5 | 04b4e9e25c66d78d38b7c4ab0db458f3 |
|
BLAKE2b-256 | a714b18e7278586b31ae35384136b3220a76780b857a509addea3e68343e20a0 |
Close
Hashes for potsim2-0.3.1-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85aba0688e1d79303a3715fa849fcdeaeb7e21b70534f3101a08c7694b1cb07b |
|
MD5 | 97fe7d81e922e0e17abf6732674edbff |
|
BLAKE2b-256 | fc634ea198cc6a36697ab1d68a9a535f7c203734425059e65e3c6baf58c9188e |
Close
Hashes for potsim2-0.3.1-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a40ea28e53f34ccbca5753b4d32904927d69bcebf14e4352f07450058c40d688 |
|
MD5 | 76bcff1257e372f388bf5ff2382a29a7 |
|
BLAKE2b-256 | 5a2e8226891d43ed37f148ee1aaad6ff44332dc6d34ba477d26c352c871d67e2 |
Close
Hashes for potsim2-0.3.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4830ff81308094b387b83864ade8599fd6fdb3275731e3081497c13c2414924 |
|
MD5 | eb0461f22a7f94434ad825d851ea1c05 |
|
BLAKE2b-256 | b4b96ccc8235733deabba54c0df0eae63bd0d3839dab4cf7a4e32cca40fc7c1f |
Close
Hashes for potsim2-0.3.1-cp38-cp38-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8833e42e28611d10e9f42ff764a95a6db5587066b73afaa61baf315c5b79fa65 |
|
MD5 | ee3c74a0a2ea1cc3c680e2e8eb9017ab |
|
BLAKE2b-256 | 3bea3c98ffcfde8d95cb3aede0d095c82055d94d91eeef7bf5d537f7235185e4 |
Close
Hashes for potsim2-0.3.1-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4f9a6f4c23c477a4311566423342465a423ea7bd12f5f93bb2413cea2627b69 |
|
MD5 | d6c9d99337bef9dc32fb5a09254c5d89 |
|
BLAKE2b-256 | 08e7ef9a7db29841de34c3edb677ebc106065cafa75bf9b9bdca9d7fb461f498 |