Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now

Object-oriented processing of Protein Databank (PDB) files

Project description

PDB Objects

Set of classes for object-oriented processing of records from PDB files

© 2019 George D. Watson, University of York (https://georgewatson.me)

Available under an MIT license. See the LICENSE file.

This package is described in a post on my blog.

Supports the following record types:

  • ATOM
  • HETATM
  • TER
  • HELIX
  • SHEET

No other record types are currently implemented, but can be implemented upon request.

Exposes the following classes:

  • PDBRecord (should not normally be used directly, except to implement another record type)
  • Residue
  • Coords
  • Atom (for ATOM and HETATM records)
  • Helix
  • Sheet
  • Ter

Exposes the following public functions:

  • read_atom
  • read_helix
  • read_sheet
  • read_ter
  • read_record
  • read_pdb

See class, function, and method docstrings for more information.

Installation

Available on PyPI. Use pip3 install pdb-objects to install, then put import pdb_objects at the top of your script.

Alternatively, clone this repository.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
pdb_objects-0.1.3-py3-none-any.whl (6.6 kB) Copy SHA256 hash SHA256 Wheel py3
pdb_objects-0.1.3.tar.gz (5.3 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page