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.4.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.4-cp313-cp313-win_amd64.whl (64.9 kB view details)

Uploaded CPython 3.13Windows x86-64

potsim2-0.3.4-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (100.8 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

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

Uploaded CPython 3.13macOS 11.0+ ARM64

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

Uploaded CPython 3.13macOS 10.13+ x86-64

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

Uploaded CPython 3.12Windows x86-64

potsim2-0.3.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (100.9 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

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

Uploaded CPython 3.12macOS 11.0+ ARM64

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

Uploaded CPython 3.12macOS 10.13+ x86-64

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

Uploaded CPython 3.11Windows x86-64

potsim2-0.3.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (101.1 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

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

Uploaded CPython 3.11macOS 11.0+ ARM64

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

Uploaded CPython 3.11macOS 10.9+ x86-64

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

Uploaded CPython 3.10Windows x86-64

potsim2-0.3.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (99.9 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

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

Uploaded CPython 3.10macOS 11.0+ ARM64

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

Uploaded CPython 3.10macOS 10.9+ x86-64

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

Uploaded CPython 3.9Windows x86-64

potsim2-0.3.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (100.0 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

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

Uploaded CPython 3.9macOS 11.0+ ARM64

potsim2-0.3.4-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.4.tar.gz.

File metadata

  • Download URL: potsim2-0.3.4.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.4.tar.gz
Algorithm Hash digest
SHA256 59c71239a45cc1b09dcebe244ae327d4727a2769dda4860f2408246d9b303dfa
MD5 87fd76a8ebb9afaa641e769684eedfc5
BLAKE2b-256 cd941cb06775c5a037376a282a619a450ba9efaa729e5517c0c0ff42d9e3d6ac

See more details on using hashes here.

File details

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

File metadata

  • Download URL: potsim2-0.3.4-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.4-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 bda46f43a5f592ccc7edd8480cec751472d9a5e1264a9be0a79d06551a4a62d6
MD5 93f0cf216f4029a4b68d4b7a103fb66a
BLAKE2b-256 c9e08ba16ae83ce54f5905010f6d537a2e51dd01880e381d94c5917529118de0

See more details on using hashes here.

File details

Details for the file potsim2-0.3.4-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for potsim2-0.3.4-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e7f3953ada32afb39f4e411ef7be32f330ee01eabb045ebe16c860915979d954
MD5 45557620a05af7cec19d525a8a8dc4c7
BLAKE2b-256 62d996b338cfdcdb016eba0f7805e9458bf84da521a7f6189173ea3a3b1d2f98

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for potsim2-0.3.4-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 fa63a5725d245db7eb156301b9458361f8bc50a23daaf646d6d26541440b34c8
MD5 07ae8f9f3ca9bc4f56bd8e8589034eac
BLAKE2b-256 779d19187a70e85ce8ab0abf1a23e5a759d96e49da3d3b9a842c58dbfcf7446a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for potsim2-0.3.4-cp313-cp313-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 6ce5498f93a14a2a905898d2cb927d3cfcba8756b96068ab9279b309cf52a88f
MD5 331d24c740ad6175fc6bcffbba09b747
BLAKE2b-256 8bebd596635cb98219477e1812c465d9a4c8d0278b6e1a941133f6022018dbb1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: potsim2-0.3.4-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.4-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 a148ca786c1a637a90810dc9102cdff5e5630a52023b5fed97b246ef61d4d497
MD5 a21127a4d5a3e3c6ea0d29980f75e926
BLAKE2b-256 b0e6542acca6418b93481736674ca3d976d8b5cf2bd3f014611757b87fede383

See more details on using hashes here.

File details

Details for the file potsim2-0.3.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for potsim2-0.3.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 263006e3318d3e09c021c951b0503e7ee019668790942ffd534f36e6bda08c73
MD5 cf8ebc6a90f7286f84df82611291a490
BLAKE2b-256 06465d2d9e500c88e3dcae8162542836ca73d9863dd5bae26295a7c32d02bd0a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for potsim2-0.3.4-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6b8592f0dbdaabea46f600b61988d29345937261e6fb8a5815c6becf441fa437
MD5 f8aa6681bcad2d903dd8f4c90924ea73
BLAKE2b-256 619ec423a5e20905899274205cd287d5c5a5ebfa0fcd11f6b21879f5d71ac458

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for potsim2-0.3.4-cp312-cp312-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 186102d7c03c2e4471224f80be0e5b9166d124e73f2c39ff645553e549a8562e
MD5 ac2ccb722f8467598cadeba55261bc48
BLAKE2b-256 24bd74e2d76d7ccf5b2134cf34938fb16fd707d38690b3265169f442fb0e9f09

See more details on using hashes here.

File details

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

File metadata

  • Download URL: potsim2-0.3.4-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.4-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 18018b5496e66e3aea5d95beb9eac4d239fd48fba345584396db2d28f14e8b98
MD5 9956069cac6e181692fc85464e9d32d6
BLAKE2b-256 e4d6ec7e3a96410de778b762b4bd36606decb9247903e94e0bc9a0c4bd06682e

See more details on using hashes here.

File details

Details for the file potsim2-0.3.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for potsim2-0.3.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ebfa76413816c567d95038c3f6efee8fdec97df6829bc5b49c78dff325cee4c2
MD5 f94f34071cccac8d44e80ce1c3784bca
BLAKE2b-256 67d9811df54af2e795bbcb58ac1d2e215031e5d5163e689d9a9359821d80ba68

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for potsim2-0.3.4-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c7b0b2e6ead59b9196453192bb62e8594b47767b08517a7a2cca5ae87e60c02d
MD5 01fd81ac790a465e691aae09cd298a2a
BLAKE2b-256 ec38adbbdabb5429c86230959c2a001b10c89cb6faad23704b9ed8d6f6ff61f8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for potsim2-0.3.4-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 058edc99770e415294d942f8781cd8be0bd2abafd1167ba8fb228ff6013fc5de
MD5 44efbd9098fcd81f976e87268bf9dd11
BLAKE2b-256 d93b7b03daa224a3d9f3e62c90a2d0f7c24f87995fc940d3cff7e61a99fb87c1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: potsim2-0.3.4-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.4-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 cf1a3d0a4f28df14d9476baae39929e4b6caf77e6dc43e3f9e5cdb7a10230dab
MD5 53effb660c558e0c2569e56eefff9ff1
BLAKE2b-256 73aec827fa3b5096cda5830038e53b5f9fc2126344f73c8826bebc55933d71a8

See more details on using hashes here.

File details

Details for the file potsim2-0.3.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for potsim2-0.3.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 de95db1007d989fad7f5617e4a9b79db27ccf16f70fada4eb240750f85d4afa0
MD5 8cc78eee52e46e880aa9a0e8c99d4b8d
BLAKE2b-256 757c14bf7f243afdbe8146d79952a8f8cf388396385a97f81f3cb1faf19837c1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for potsim2-0.3.4-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 01578b040970fbf27901017e6487b7ff9be2df678f5fd3ed3dcf5bb75c2787d9
MD5 92980c45820beff92c0224a99300bd7c
BLAKE2b-256 43d6852e61ad54e9f85d0b18e0b7e6eb050c151ee51f217c023b8f768c4a88db

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for potsim2-0.3.4-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 41f6a10950c457a437fdca617c5a3906f420b1f1b49076aaea60bcda05e9cdaf
MD5 816f2bca85ee6def6fa66b24617cb731
BLAKE2b-256 635053c1be1565bd8ee1ea3b0ad510c032b0510f6d01c3590691e6357dbf3923

See more details on using hashes here.

File details

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

File metadata

  • Download URL: potsim2-0.3.4-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.4-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 cebd3cbd7391fbffa803e5c1182afce28abe319bcb79531c217eb04ec4d10a89
MD5 263b0382785bf0db598508c3f90a2ef5
BLAKE2b-256 2966d07514bf070380f6947147b59b219dc871825d17b8d74c1e4b5cb2a86fe7

See more details on using hashes here.

File details

Details for the file potsim2-0.3.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for potsim2-0.3.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 098a949adce1b50a7e186fd1960e78c7e25cd092fdf1d4700da82d35832bc185
MD5 76dca84abc2ef53036c45e8e0a930bd6
BLAKE2b-256 61f027fd8258e287fe5312e0a6158c3f49a94ab02e2b014adcb253730ba174a7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for potsim2-0.3.4-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e1a5447f759c56f2abbb5b0a7d2ff57c98d5b463dbb3f2c2c8a510073f8dea26
MD5 0a579a07d4d9514f9365a11f66e38cf5
BLAKE2b-256 024e470509439286d059e4c6558ce2bf97603a70ad097233f11c78ec219bbb1c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for potsim2-0.3.4-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 7fd0ae12f936850b5f79041b88e2a4b5363857d49e6066dd16132f3a785e28d7
MD5 bb1b4d91e20b00e1c8e2971f1447a1b8
BLAKE2b-256 128644dc42e97f050bb8e768a23016d674ba6f526406f8c7ebd5a0764df99c84

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