Skip to main content

Simple package to segment and compare protein potential grids

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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

potsim2-0.3.5-cp313-cp313-win_amd64.whl (64.9 kB view details)

Uploaded CPython 3.13Windows x86-64

potsim2-0.3.5-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (77.6 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

potsim2-0.3.5-cp313-cp313-macosx_11_0_arm64.whl (62.5 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

potsim2-0.3.5-cp313-cp313-macosx_10_13_x86_64.whl (64.1 kB view details)

Uploaded CPython 3.13macOS 10.13+ x86-64

potsim2-0.3.5-cp312-cp312-win_amd64.whl (64.8 kB view details)

Uploaded CPython 3.12Windows x86-64

potsim2-0.3.5-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (76.4 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

potsim2-0.3.5-cp312-cp312-macosx_11_0_arm64.whl (62.4 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

potsim2-0.3.5-cp312-cp312-macosx_10_13_x86_64.whl (64.0 kB view details)

Uploaded CPython 3.12macOS 10.13+ x86-64

potsim2-0.3.5-cp311-cp311-win_amd64.whl (64.8 kB view details)

Uploaded CPython 3.11Windows x86-64

potsim2-0.3.5-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (76.8 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

potsim2-0.3.5-cp311-cp311-macosx_11_0_arm64.whl (63.7 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

potsim2-0.3.5-cp311-cp311-macosx_10_9_x86_64.whl (65.2 kB view details)

Uploaded CPython 3.11macOS 10.9+ x86-64

potsim2-0.3.5-cp310-cp310-win_amd64.whl (63.8 kB view details)

Uploaded CPython 3.10Windows x86-64

potsim2-0.3.5-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (75.5 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

potsim2-0.3.5-cp310-cp310-macosx_11_0_arm64.whl (62.4 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

potsim2-0.3.5-cp310-cp310-macosx_10_9_x86_64.whl (63.7 kB view details)

Uploaded CPython 3.10macOS 10.9+ x86-64

potsim2-0.3.5-cp39-cp39-win_amd64.whl (63.8 kB view details)

Uploaded CPython 3.9Windows x86-64

potsim2-0.3.5-cp39-cp39-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (75.7 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

potsim2-0.3.5-cp39-cp39-macosx_11_0_arm64.whl (62.5 kB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

potsim2-0.3.5-cp39-cp39-macosx_10_9_x86_64.whl (63.8 kB view details)

Uploaded CPython 3.9macOS 10.9+ x86-64

File details

Details for the file potsim2-0.3.5-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: potsim2-0.3.5-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 64.9 kB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.9.21

File hashes

Hashes for potsim2-0.3.5-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 8c6a53285b596fb59730e68b8496c90bdcb2e2aa6ac8cb36d11b61f9c22eb425
MD5 f261291ded00d302e0b9d815b1df6003
BLAKE2b-256 a350020218f389dc543971df7e65c2a5135525a1727ff6b110b217eb996939c8

See more details on using hashes here.

File details

Details for the file potsim2-0.3.5-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for potsim2-0.3.5-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f4aba2960182fb21da69c3a540c766a9b01fb1fcc57be7dd3dee10b094208966
MD5 2d85f51395336b2f8c8a5987f3eabb15
BLAKE2b-256 4b074f12d9b7b5b8dc0587e8d1860758bc33cd0e2c9e213883f845e1c2faffe1

See more details on using hashes here.

File details

Details for the file potsim2-0.3.5-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for potsim2-0.3.5-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 170ced239bb652ba38a2c8fb3ef67b5f89f361824bad83e80399c11829fceb38
MD5 e7a0bb703f0f06cbd583e675408dc7c3
BLAKE2b-256 cbcc135aad40fb306c6e2c48ebb3b1c9476c0c1ed945064d0d8915bdfe2c1bff

See more details on using hashes here.

File details

Details for the file potsim2-0.3.5-cp313-cp313-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for potsim2-0.3.5-cp313-cp313-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 f0add874435bee6296b954741fc5c72e451f3000992d6f609251b5f9d12843bc
MD5 5aef9cba4074e7bfece483292a75ff8a
BLAKE2b-256 38eab7494e39018b149116fcd05f2c562e41e99530648090c3c48f83f9e05e5d

See more details on using hashes here.

File details

Details for the file potsim2-0.3.5-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: potsim2-0.3.5-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 64.8 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.9.21

File hashes

Hashes for potsim2-0.3.5-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 ba03b9df609623fd25f3f4da0bda4af4eacc3d413bfefad01e03908df84d068f
MD5 cdca952e1c411a196edd5971af0f09f8
BLAKE2b-256 fde1796bdaa43fb1efbdd8171e0039d7ed67498be990debfd3e1c0832096b4fe

See more details on using hashes here.

File details

Details for the file potsim2-0.3.5-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for potsim2-0.3.5-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6d58bd7567ac2f4db6f275f38ce6f2fb5d134c344b7a9ac3ea340dbd4be37ec4
MD5 347b6237c591e4551e002a078daf3ed2
BLAKE2b-256 d010a5db0f0dd108ed811cb7b52150b487f33d10c4b2ea879cae831f39161228

See more details on using hashes here.

File details

Details for the file potsim2-0.3.5-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for potsim2-0.3.5-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 fda51523410547f559ef571c5567e55400648cfc9b77a1031851ddc2c17e7927
MD5 b807992a88f2ac08c1841bd457e52335
BLAKE2b-256 f70897a2d9e66ee2316c626a6443cd9dab6ad74604eb31346403f26a28763c38

See more details on using hashes here.

File details

Details for the file potsim2-0.3.5-cp312-cp312-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for potsim2-0.3.5-cp312-cp312-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 a247ddaeeab901cce4eef68bcf4f73597ac18986ae04181c109519323ba52f53
MD5 d1b8fcdb77c3ecb2d8a0149eb9c1f856
BLAKE2b-256 75afef395773836d9a6d4cbc8c9dc768d982cb4caded7e32689e64f6f03d2f11

See more details on using hashes here.

File details

Details for the file potsim2-0.3.5-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: potsim2-0.3.5-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 64.8 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.9.21

File hashes

Hashes for potsim2-0.3.5-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 acb138e9cb9dc4955bedee75ce82be7386522f30538d88baa446a729f3802353
MD5 74763d7ada989e29b359f9d4ae225ab9
BLAKE2b-256 ea0c6098f572344eed1e88e959182efa77d74facffb1e1ca03f9ebd7cfde88f7

See more details on using hashes here.

File details

Details for the file potsim2-0.3.5-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for potsim2-0.3.5-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1dafbe58b8be2dda1e5906401e03c2ec16431afe9070571e361988e582f46d70
MD5 3d021a304a9ef354fcebc3643e361988
BLAKE2b-256 7b72c2ad88b686ebc806876feb7c5cadf5b0ffedba0b2204291dbb8557f97d3c

See more details on using hashes here.

File details

Details for the file potsim2-0.3.5-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for potsim2-0.3.5-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 251e117093d56523a5646edd7409d33d701f5ce8846759bab3fa88d1e928bcd8
MD5 e587e8b96bec2820267618156fedbc0c
BLAKE2b-256 cb5723f73c9cd3429d8639b86f7754028ea2524c6011f36e65a18cfbe4ed3585

See more details on using hashes here.

File details

Details for the file potsim2-0.3.5-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for potsim2-0.3.5-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 b33e7e4bcb5c5d1a289ed9780a3b9968c91fa78c9d187de96f652cb918a03ed9
MD5 4db4666c1219e3a84fc46c45c28fda21
BLAKE2b-256 74116e6672aad3495ddbfe61e9d882201e0304def086eed4b2199d519adac328

See more details on using hashes here.

File details

Details for the file potsim2-0.3.5-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: potsim2-0.3.5-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 63.8 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.9.21

File hashes

Hashes for potsim2-0.3.5-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 d65ac14cdcdcc2aab71e43dab5ce85e633238138c4a041d9d33a086932c0165a
MD5 1c8ff57fe216ab3bddf9a0755aad9555
BLAKE2b-256 6999b66a929c34e48d8cb15d594ef7a3fdb28ac66f3a54647a3ce8846bbf264e

See more details on using hashes here.

File details

Details for the file potsim2-0.3.5-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for potsim2-0.3.5-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 937002a3a8e2f9d91d6b4980e14af9045e3cc52dfa5c2ffa6fb38085c06c8d8a
MD5 faa47e55554a1bf3c71fd464d965d47f
BLAKE2b-256 a0c6b48d1974df2df58d4b343d6b7eec8343be74ede937ac17ead4fa710aefe7

See more details on using hashes here.

File details

Details for the file potsim2-0.3.5-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for potsim2-0.3.5-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d8633a2e9723464526a65542cc86745515a60fa9bb2b3b66ac187d340b06dbed
MD5 1c0df56e651b4db3e245b6f08f0fa7ed
BLAKE2b-256 aa5c178fc4d308831ad1cdbebff0dd5e9bc5afee462bc8240977df8b4046d1cf

See more details on using hashes here.

File details

Details for the file potsim2-0.3.5-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for potsim2-0.3.5-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 86f86f539624d794654c9e32cadeb503d9a67f6bc2bba11aa729157e202b9869
MD5 b00cdd1e457fefe1f893a34f7b3244fa
BLAKE2b-256 61142aed51c3f879a0eb4f4e812af7cade8518cb0b1f1e126741d75efea1c7f9

See more details on using hashes here.

File details

Details for the file potsim2-0.3.5-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: potsim2-0.3.5-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 63.8 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.9.21

File hashes

Hashes for potsim2-0.3.5-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 8521d0dd44f15e6d725d70350ca23508b3e68b266dd9115564f9908188f2a412
MD5 aab49a2dd9afa09f1f980bc22b18211e
BLAKE2b-256 dc519bc90a31e9c8c189af3e48d0fdaac275f65c055417d5182d28077ba0cbf1

See more details on using hashes here.

File details

Details for the file potsim2-0.3.5-cp39-cp39-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for potsim2-0.3.5-cp39-cp39-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ffb73e7990f5320b2584bbf26ccc7558f98f72a5fcaa50e1f53050ef6b5d627d
MD5 c54220620360884ddc106502fca4ab88
BLAKE2b-256 0ccfd3f175b6844c894ac4545c76485781ca7f901bc656e7ac8f205ef3cf0b8c

See more details on using hashes here.

File details

Details for the file potsim2-0.3.5-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for potsim2-0.3.5-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b457a933a724768d36701a12fbbd2ddcca0c5afcfbc2fc89444a725bf629b981
MD5 895d9f2e7ee16e3f9e7f3462f226da7e
BLAKE2b-256 5229d05d7bdb9a10555f85dd461888780a5ac1a38150b37473a5dd177b9422b6

See more details on using hashes here.

File details

Details for the file potsim2-0.3.5-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for potsim2-0.3.5-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 a118bc7511d7419364a1c31c1ef96de0952905569ccc4f9d01f4ecbf82d7023d
MD5 8903b3c572d1bd32f6e3c35825da24b0
BLAKE2b-256 4fd770ba1f25c1474ca8716b1ecf9439e533143deb707a907d19f9ad20795825

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