GithubHelp home page GithubHelp logo

georgewatson / pdb_objects Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 21 KB

Object-oriented processing of PDB files in Python

Home Page: https://georgewatson.me/blog/science/2019/06/04/object-oriented-processing-of-pdb-files-in-python/

License: MIT License

Python 100.00%
pdb protein-data-bank python structural-biology

pdb_objects's Introduction

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.

pdb_objects's People

Contributors

georgewatson avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.