• Stars
    star
    306
  • Rank 135,657 (Top 3 %)
  • Language
    Python
  • License
    MIT License
  • Created over 9 years ago
  • Updated about 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A Python API for the RCSB Protein Data Bank (PDB)

PyPDB

A Python 3 toolkit for performing searches with the RCSB Protein Data Bank (PDB). This can be used to perform advanced searches for PDB IDs matching various criteria, as well as to look up information associated with specific PDB IDs. This tool allows standard operations that can be perfomed from within the PDB website (BLAST, PFAM lookup, etc.) to be performed from within Python scripts.

Examples of each function and its associated output can be found in demos/demos.ipynb.

If you use this module for any published work, please consider citing the accompanying paper

  Gilpin, W. "PyPDB: A Python API for the Protein Data Bank."
  Bioinformatics, Oxford Journals, 2016.

Help wanted: Currently, pypdb is in maintainence-only mode. We would very much appreciate help with adding features and developing a long-term roadmap.

Installation

Install using pip:

$ pip install pypdb

To install the development version, which contains the latest features and fixes, install directly from GitHub using

$ pip install git+https://github.com/williamgilpin/pypdb

If you need to install directly from setup.py,

$ python setup.py install

Test the installation, and check that the code successfully connects to the PDB, navigate to the root directory and run

$ pytest

This code has been designed and tested for Python 3.

Usage

This package can be used to get lists of PDB IDs associated with specific search terms, experiment types, structures, and other common criteria.

Given a list of PDBs, this package can be used to fetch any data associated with those PDBs, including their dates of deposition, lists of authors and associated publications, their sequences or structures, their top BLAST matches, and other query-specific attributes like lists of a ligands or chemical structure.

A set of demos is included in the iPython notebook demos.ipynb. A static version of this notebook (for viewing) is available as demos.html

Issues and Feature Requests

If you run into an issue, or if you find a workaround for an existing issue, we would very much appreciate it if you could post your question or code as a GitHub issue.

If posting a feature request, please check that your request is possible using the current GUI on current RCSB website. If so, please perform your search, and then click the link that says JSON in the upper right hand corner of the Advanced Search box. Please post that JSON code with your feature request.

More Repositories

1

dysts

More than a hundred strange attractors
Jupyter Notebook
391
star
2

cphy

Class materials for computational physics course
Jupyter Notebook
139
star
3

fnn

Embed strange attractors using a regularizer for autoencoders
Jupyter Notebook
131
star
4

convoca

Predict and analyze cellular automata using convolutional neural networks
Python
79
star
5

portbalance

Determine optimal rebalancing of a passive stock portfolio.
Python
40
star
6

cfgen

Parse a text corpus and generate sentences in the same style using context-free grammar combined with a Markov chain.
Python
34
star
7

howto

How to do various tricky computer things
Python
13
star
8

shrec

Reconstructing shared causal drivers from noisy time series
Jupyter Notebook
10
star
9

flowtrace_python

Python implementation of time-resolved flow tracing.
Python
9
star
10

hspmc

Monte Carlo simulation of hard sphere packing using MATLAB
MATLAB
9
star
11

rk4

Numerically solve the Henon-Heiles problem and generate Poincare sections using a simple implementation of RK4 integration
Python
6
star
12

swimpy

Utilities for working with experimental fluid mechanics datasets
Python
5
star
13

diccor

A set of MATLAB routines for generating displacement vector fields from black and white time series of images.
MATLAB
5
star
14

fracdiff

A set of tools for simulation of fractional Brownian motion
Python
4
star
15

lagrange2d

A Mathematica package for Lagrangian analysis of fluid flows.
Mathematica
4
star
16

chaotic_ecosystem

Mathematica code for analysis of a chaotic ecosystem model
Mathematica
3
star
17

stdmap

Generation of phase space portraits illustrating the onset of chaos in the Chirikov standard map
Python
3
star
18

dysts_data

Data files for the main dysts repository
Jupyter Notebook
2
star
19

degas

Plotting utilities for matplotlib
Python
2
star
20

williamgilpin.github.io

HTML
2
star
21

alveoli

Oscillating alveoli model
Jupyter Notebook
2
star
22

flowtrace_imagej

ImageJ / Fiji implementation of time-resolved flow tracing.
2
star
23

netsim

Tools for analyzing Markov models using statistical physics and graph theory
Python
1
star
24

exrepo

An example Python repository
Python
1
star
25

kurep_paper

Code to create avalanches in a repulsive oscillator model.
Jupyter Notebook
1
star
26

flowtrace_matlab

MATLAB implementation of time-resolved flow tracing.
MATLAB
1
star
27

vergas

Simulation of a Lennard-Jones gas using Verlet integration. Calculation of autocorrelation and other descriptive statistics requiring dynamical information.
Python
1
star
28

illotka

Simulate the ill-conditioned Lotka-Volterra model
Jupyter Notebook
1
star