Skip to main content

Tools for analyzing protein structures

Project description

pdbstruct

pdbstruct - tools for efficient protein analysis in python:

  1. pdbstruct hollow - generates hollow atoms for hi-res display of voids, pockets and channels.
  2. pdbstruct volume - volume calculator and generator of fake atoms that fill the space.
  3. pdstruct asa - calculates and saves atomic ASA to the bfactor column.

This was formerly known as Hollow but was renamed because significant improvements in v2.0 means the package can serve as a general module for efficient protein analysis:

  • modern packaging and cli
  • mmCIF parsers and writers
  • memory efficient representation of protein
  • spatial hashing for fast close-pair search
  • 3d boolean grid

Quick install

  1. If you have uv installed, then for a global install:

    >> uv tool install pdbstruct@latest
    
  2. Or you can use ux to run the command in an isolated enviornment:

    >> uvx pdbstruct
    
  3. Another alternative is to use pipx to install a gloabl cli:

    >> pipx install pdbstruct
    
  4. Or drop into your venv python environment:

    >> pip install pdbstruct
    

Hollow

Hollow was originally developed by Bosco Ho and Franz Gruswitz to solve the problem of displaying protein channels in high resolution. Read more about Hollow.

Change log

  • Version 2.0 (Jun 2025). Renamed to pdbstruct. Python 3. Pypi. MmCif. Memory effient representation of protein. Spatial hashing to speed pair-wise search. Removed idle functions.
  • Version 1.3 (May 2020). Python 3/2 compatible.
  • Version 1.2 (Aug 2011). Changed exceptions to work with Python 2.7 (thanks Joshua Adelman)
  • Version 1.1 (Feb 2009). Faster initialization of grid. Works in the IDLE Python interpreter.

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

pdbstruct-2.0rc2.tar.gz (31.9 kB view details)

Uploaded Source

Built Distribution

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

pdbstruct-2.0rc2-py3-none-any.whl (37.5 kB view details)

Uploaded Python 3

File details

Details for the file pdbstruct-2.0rc2.tar.gz.

File metadata

  • Download URL: pdbstruct-2.0rc2.tar.gz
  • Upload date:
  • Size: 31.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.5

File hashes

Hashes for pdbstruct-2.0rc2.tar.gz
Algorithm Hash digest
SHA256 ad6ed7a0aa1ac946a1a98efb49d6f279fe1d98574df24e6ae58d11c206ccf184
MD5 7bd58f2fb036d1cc861a0357a82d3043
BLAKE2b-256 6d912166b8535989703212830e120d9854d3ee5c6dbca558d7511fe106ec68bd

See more details on using hashes here.

File details

Details for the file pdbstruct-2.0rc2-py3-none-any.whl.

File metadata

  • Download URL: pdbstruct-2.0rc2-py3-none-any.whl
  • Upload date:
  • Size: 37.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.5

File hashes

Hashes for pdbstruct-2.0rc2-py3-none-any.whl
Algorithm Hash digest
SHA256 aa664d7c9f8dd1eb53b946015919480c4cf66653bfee33022880518d742c9163
MD5 646ef17082af9427253c74ca53129e46
BLAKE2b-256 376ff2f8c46f530143c43964c5f3ef73cf292c73544d696aacbfdd49f3734b81

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