Skip to main content

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

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


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.2.tar.gz (6.6 kB view hashes)

Uploaded Source

Built Distributions

potsim2-0.3.2-cp311-cp311-win_amd64.whl (60.0 kB view hashes)

Uploaded CPython 3.11 Windows x86-64

potsim2-0.3.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (93.6 kB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

potsim2-0.3.2-cp311-cp311-macosx_11_0_arm64.whl (58.7 kB view hashes)

Uploaded CPython 3.11 macOS 11.0+ ARM64

potsim2-0.3.2-cp311-cp311-macosx_10_9_x86_64.whl (60.6 kB view hashes)

Uploaded CPython 3.11 macOS 10.9+ x86-64

potsim2-0.3.2-cp310-cp310-win_amd64.whl (60.0 kB view hashes)

Uploaded CPython 3.10 Windows x86-64

potsim2-0.3.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (93.6 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

potsim2-0.3.2-cp310-cp310-macosx_11_0_arm64.whl (58.7 kB view hashes)

Uploaded CPython 3.10 macOS 11.0+ ARM64

potsim2-0.3.2-cp310-cp310-macosx_10_9_x86_64.whl (60.6 kB view hashes)

Uploaded CPython 3.10 macOS 10.9+ x86-64

potsim2-0.3.2-cp39-cp39-win_amd64.whl (59.7 kB view hashes)

Uploaded CPython 3.9 Windows x86-64

potsim2-0.3.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (93.5 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

potsim2-0.3.2-cp39-cp39-macosx_11_0_arm64.whl (58.8 kB view hashes)

Uploaded CPython 3.9 macOS 11.0+ ARM64

potsim2-0.3.2-cp39-cp39-macosx_10_9_x86_64.whl (60.7 kB view hashes)

Uploaded CPython 3.9 macOS 10.9+ x86-64

potsim2-0.3.2-cp38-cp38-win_amd64.whl (57.6 kB view hashes)

Uploaded CPython 3.8 Windows x86-64

potsim2-0.3.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (93.2 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

potsim2-0.3.2-cp38-cp38-macosx_11_0_arm64.whl (58.6 kB view hashes)

Uploaded CPython 3.8 macOS 11.0+ ARM64

potsim2-0.3.2-cp38-cp38-macosx_10_9_x86_64.whl (60.5 kB view hashes)

Uploaded CPython 3.8 macOS 10.9+ x86-64

Supported by

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