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 Distribution

potsim2-0.3.6.tar.gz (6.9 kB view details)

Uploaded Source

Built Distributions

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

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

Uploaded CPython 3.13Windows x86-64

potsim2-0.3.6-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.6-cp313-cp313-macosx_11_0_arm64.whl (62.5 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

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

Uploaded CPython 3.13macOS 10.13+ x86-64

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

Uploaded CPython 3.12Windows x86-64

potsim2-0.3.6-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.6-cp312-cp312-macosx_11_0_arm64.whl (62.4 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

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

Uploaded CPython 3.12macOS 10.13+ x86-64

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

Uploaded CPython 3.11Windows x86-64

potsim2-0.3.6-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.6-cp311-cp311-macosx_11_0_arm64.whl (63.7 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

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

Uploaded CPython 3.11macOS 10.9+ x86-64

potsim2-0.3.6-cp310-cp310-win_amd64.whl (63.7 kB view details)

Uploaded CPython 3.10Windows x86-64

potsim2-0.3.6-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.6-cp310-cp310-macosx_11_0_arm64.whl (62.4 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

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

Uploaded CPython 3.10macOS 10.9+ x86-64

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

Uploaded CPython 3.9Windows x86-64

potsim2-0.3.6-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.6-cp39-cp39-macosx_11_0_arm64.whl (62.5 kB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

potsim2-0.3.6-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.6.tar.gz.

File metadata

  • Download URL: potsim2-0.3.6.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.9.21

File hashes

Hashes for potsim2-0.3.6.tar.gz
Algorithm Hash digest
SHA256 3f9a09c1676db431fd6fbc06b9e9d206a23266ff21124b22ce29204c725fb991
MD5 55869e0a204b15d8ed351e27c60ad5d2
BLAKE2b-256 92b3e9e3551625c43090bcdbdeefa66548cb647af44bc90f39cb231db5b6d49a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: potsim2-0.3.6-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.6-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 e87ee1a88f33e17f49672c39b5e092195b49c8a34d8bd500a8ed20a23c83a991
MD5 eb2657d37ea09297f47df2441fff6358
BLAKE2b-256 c1aea49cea1347b30c0cce25cb8ac2e51e3c650055147663ed5ab985a2f3d157

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for potsim2-0.3.6-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 92e3e88f0d139da8497f3c7d832d44fd2d7d82b55532465a1c462dc42c67dd83
MD5 1c685f677eebfe2d79335150cdaf9c8b
BLAKE2b-256 9ac29ac726d4934e1a94a022db1f35c9506057abb093a59d8a8ab41b1e7903a7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for potsim2-0.3.6-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 13930b98512974bd12491a16f5a509d5f71aca8be5b1d692d593f7bcaa01b38d
MD5 55fad46af601f1583dfd41005b25e903
BLAKE2b-256 a06f8380cf2ddda0e34484b8322087a24a182dde6cd8ea9f46c7128c2e98a97e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for potsim2-0.3.6-cp313-cp313-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 e12ff70caa8c173e490e431d2fba533590c188bc0f786d81b84f1ac47a7061ac
MD5 8a3631dd3b15dd69b6416bd94c906151
BLAKE2b-256 8cb0885549554c5157f5dac484b98ca23456494c1ae80a8991df75f91a9fa472

See more details on using hashes here.

File details

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

File metadata

  • Download URL: potsim2-0.3.6-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.6-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 0e097dffa975565822c0ebfd1e525d577833b75b85f6a90545002bfd605e2068
MD5 f66a25ce9eb721439b2680ecbbd94ccb
BLAKE2b-256 854d7e0e4c286d2913f53431584f762cb73bffda5248ce28ef382050cf75be45

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for potsim2-0.3.6-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 01f829bc355734d177a7a62bcc034adebf7a73bfdc99365f9702f315db93e291
MD5 2479912ceaf51f36a16e2cf8e8e15c3a
BLAKE2b-256 4f5dc5d5702a57c68cca1fb7efb076c0e665bc015b26c6124d973b9b38b8a13f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for potsim2-0.3.6-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2eb1e68d66ec3fdd2b38aba3318d275b3ff2dc91fb4f7f4b3356e5aab4edb269
MD5 3b799c90e0a454f62236db7d1c2d507b
BLAKE2b-256 474a7ebe62dcfc1c95c5d077f945e424dee5ba45304046080e180304332536ba

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for potsim2-0.3.6-cp312-cp312-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 b82f15490855922208efc976dd52f0b2d9e1201fc86aef638a1457aa67d0e7ed
MD5 03600b196552879744d74f31c931e652
BLAKE2b-256 b4ba132cd06035bfc22cc23e4fc4e5766c05b8f27ed4d2c494ab8aa5bba9f7de

See more details on using hashes here.

File details

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

File metadata

  • Download URL: potsim2-0.3.6-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.6-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 b398499519df6b489e0dbf813bfbfc2a7b766682b3264f2b187fdf6a952833c7
MD5 2b4aafe36598485509c79de57e77992d
BLAKE2b-256 7f27b22760bd88805108159606ca0e965e25bd82b5259b1ea865e3a8f3228e49

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for potsim2-0.3.6-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c3c3ed50571879e99525b0b24520da4e775f83f9ee069058c86756dcef970d0c
MD5 b23a687fc52f511e6fcf584bb7c9db9e
BLAKE2b-256 83f4e34451b6431eaf4e4cf9d183f44cb55adc0681b9b41ae04d68538540e87f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for potsim2-0.3.6-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f6723d0043ba051c09b746aa23029e4f34b13d6bd23629938c012e5a96122148
MD5 ae43be62dfc2b13bd0eabba0cea81a18
BLAKE2b-256 ff9b022d213f4f0ab2ab612de3633b93548a56b84140f2f5f4d6d968b3f1107d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for potsim2-0.3.6-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 7bac0f2d72a11a6139cd617f08b39cb03aa6dbcdd68ddd72fdac850e33247f13
MD5 ae1351e7d9c6041dc0affa2f40bc01c6
BLAKE2b-256 30e1d9b681fa1d060066228df38c8e2847e2facad6669673f32256cc4120ed02

See more details on using hashes here.

File details

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

File metadata

  • Download URL: potsim2-0.3.6-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 63.7 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.6-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 2b143980653763ca73435d36adddddcb5a13e9a4f64e5a923d566b32a2d1eb82
MD5 da461eec4e43d07c1685733895f71bd0
BLAKE2b-256 c3d955d7b15d45091a4f21592ee2fef6cf3d46c18f7a98f032f754fddce6e5cf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for potsim2-0.3.6-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 488b25fa1d7e1d8fa4d82e3fd5a6e0ab1bcba15b2bfdd852aeb3b25b209283a7
MD5 74ce8db97a21d100eb63e77f262a845f
BLAKE2b-256 fc36f356534d3ad0c3eada7f11ac42a026a635badec21ea9bca957884329d0af

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for potsim2-0.3.6-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 20cf7133db273507a41a5a87785bc3027565b642681bb285bb6b0a4ab9e779a8
MD5 1b4f7fe5053a3d4a7a304396a708d2c5
BLAKE2b-256 83b3d2a294838df9285a39854e64d5a154c89da7c9e72bebd396cdd43286ffbd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for potsim2-0.3.6-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 bbec7ae952f8321909df46b9bb4593814d4e86100177f59a106d719f33f3b0d2
MD5 ca8f3301cbd347e67d551da7b559bd20
BLAKE2b-256 c1fca020ffb3922d484b91d620dd4fa273519518e67e4a8d79dfc5929dc83562

See more details on using hashes here.

File details

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

File metadata

  • Download URL: potsim2-0.3.6-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.6-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 4a72f85ef074524f2820f1ff0b15aeaa9b194f082080edc8b27a083e4ce46be9
MD5 b1a860bb3eb4452671b31e235041ce2a
BLAKE2b-256 84fd1a1f370d5077914152d257e731608cd3bede34d5293f54372784e035cea8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for potsim2-0.3.6-cp39-cp39-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 059bd66faa53417a7bbdf26bdcf0296741f5af7a9373a4b89e2db86c459d0ace
MD5 6734031fc654931917684aa764e38fd3
BLAKE2b-256 82ff6cae118ffadf1e9b3785677a333afae2b9a669963f85cd8c2eb20f71e504

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for potsim2-0.3.6-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 13130089d38cee6a6009e0c632cd553a6cfe429ce1cb13b5ee91861123edd235
MD5 559ed01f376c891f5688dc9b432b3438
BLAKE2b-256 d4f12302454d0806ae565340e884d9f4e19e2c275872fb88892e4917b8bd6e02

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for potsim2-0.3.6-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 0f8a5f2616f9397711b9629054026d14d98a87f68ce157f547fe8055d159d8b4
MD5 bd25627d6b6a03099164f99e602931f5
BLAKE2b-256 194f9a5e71c1d89739e7f1f8f2e2e4790f1bea9ca11d8b16a29756122dc84d77

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