Skip to main content

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.

Source Distribution

pdb_objects-0.1.3.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

pdb_objects-0.1.3-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file pdb_objects-0.1.3.tar.gz.

File metadata

  • Download URL: pdb_objects-0.1.3.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8

File hashes

Hashes for pdb_objects-0.1.3.tar.gz
Algorithm Hash digest
SHA256 cbb72932a33f37addc18cfa595862d107974ab875eb4f1b5adef5ba2704fd76d
MD5 b1a4a85fe9b35f6793d4aec3e06a284e
BLAKE2b-256 27b0c1395e12b6a9b2c9af288e6e4c4172a3898dd62ac760e869a0799752b19b

See more details on using hashes here.

File details

Details for the file pdb_objects-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: pdb_objects-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8

File hashes

Hashes for pdb_objects-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 5f51fe50a63f1d48c0e90fc13d28557713665145e9310ac77bfb001303b3d9e6
MD5 5d0c018911d61eeac9cfa8a5a92cd439
BLAKE2b-256 6a9f62690d985268897bfff995e5899bb0e2792e5354008aba2a292d6aecad7d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page