pypdb

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

https://github.com/williamgilpin/pypdb

Science Score: 36.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    2 of 15 committers (13.3%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (15.3%) to scientific vocabulary

Keywords

blast pdb protein-data-bank protein-sequences protein-structure proteins proteomics
Last synced: 5 months ago · JSON representation

Repository

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

Basic Info
  • Host: GitHub
  • Owner: williamgilpin
  • License: mit
  • Language: Python
  • Default Branch: master
  • Size: 601 KB
Statistics
  • Stars: 328
  • Watchers: 19
  • Forks: 77
  • Open Issues: 7
  • Releases: 0
Topics
blast pdb protein-data-bank protein-sequences protein-structure proteins proteomics
Created almost 11 years ago · Last pushed 9 months ago
Metadata Files
Readme License

README.md

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.

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.

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

PDB Text Search

This package can be used to get lists of PDB IDs associated with specific search terms, experiment types, structures, and other common criteria. To use the simple API, see the examples in demos/demos.ipynb. For advanced search and query logic, see the examples in search/EXAMPLES.md.

PDB Data Fetch

Given a list of PDBs, this package can be used to fetch 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. To use the simple API, see the examples in demos/demos.ipynb. For advanced search and query logic, see the examples in data/EXAMPLES.md.

Issues and Feature Requests

If you run into an issue, or if you find a workaround for an existing issue, please 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.

Owner

  • Name: William Gilpin
  • Login: williamgilpin
  • Kind: user
  • Location: United States
  • Company: The University of Texas at Austin

Director of the @GilpinLab at UT Austin.

GitHub Events

Total
  • Watch event: 17
  • Issue comment event: 1
  • Push event: 3
  • Fork event: 2
  • Create event: 1
Last Year
  • Watch event: 17
  • Issue comment event: 1
  • Push event: 3
  • Fork event: 2
  • Create event: 1

Committers

Last synced: over 2 years ago

All Time
  • Total Commits: 135
  • Total Committers: 15
  • Avg Commits per committer: 9.0
  • Development Distribution Score (DDS): 0.704
Past Year
  • Commits: 17
  • Committers: 5
  • Avg Commits per committer: 3.4
  • Development Distribution Score (DDS): 0.647
Top Committers
Name Email Commits
williamgilpin w****n 40
lacoperon e****s@g****m 34
williamgilpin w****n@g****m 33
william w****m@D****t 10
sodiumnitrate i****n@g****m 6
jthornton-0 p****8@p****m 3
jonwells90 j****0@g****m 1
Diego Prada p****a@g****m 1
eac709 e****4@g****m 1
Owen O'Connor t****3@g****m 1
rlangefe l****8@w****u 1
samuelstanton s****5@c****u 1
Katja Linnemann k****4@w****e 1
davidoskky d****y@y****t 1
Antje Relitz r****z@i****e 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 36
  • Total pull requests: 31
  • Average time to close issues: 3 months
  • Average time to close pull requests: 9 days
  • Total issue authors: 31
  • Total pull request authors: 15
  • Average comments per issue: 3.14
  • Average comments per pull request: 1.29
  • Merged pull requests: 28
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 1
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 1
  • Pull request authors: 0
  • Average comments per issue: 1.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • williamgilpin (3)
  • lacoperon (2)
  • inthesomeday000 (2)
  • ynskoroglu (2)
  • tux2603 (1)
  • erfantoloue (1)
  • Chokerino (1)
  • jhxu003 (1)
  • perllaghu (1)
  • Talianash (1)
  • GMC1997 (1)
  • mirix (1)
  • Shkev (1)
  • noahharrison64 (1)
  • chuliangcui (1)
Pull Request Authors
  • lacoperon (14)
  • jbenjoseph (3)
  • ajm13 (2)
  • jthornton-0 (2)
  • sodiumnitrate (2)
  • amorehead (1)
  • rlangefe (1)
  • tux2603 (1)
  • kalinni (1)
  • davidoskky (1)
  • jonathan-wells (1)
  • samuelstanton (1)
  • dataroo (1)
  • dprada (1)
  • echen1214 (1)
Top Labels
Issue Labels
enhancement (3) help wanted (3) bug (1)
Pull Request Labels

Packages

  • Total packages: 2
  • Total downloads:
    • pypi 7,207 last-month
  • Total docker downloads: 292
  • Total dependent packages: 7
    (may contain duplicates)
  • Total dependent repositories: 23
    (may contain duplicates)
  • Total versions: 25
  • Total maintainers: 1
pypi.org: pypdb

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

  • Versions: 19
  • Dependent Packages: 6
  • Dependent Repositories: 21
  • Downloads: 7,207 Last month
  • Docker Downloads: 292
Rankings
Dependent packages count: 1.9%
Docker downloads count: 2.0%
Dependent repos count: 3.2%
Average: 3.7%
Stargazers count: 3.9%
Forks count: 5.0%
Downloads: 6.0%
Maintainers (1)
Last synced: 6 months ago
conda-forge.org: pypdb
  • Versions: 6
  • Dependent Packages: 1
  • Dependent Repositories: 2
Rankings
Dependent repos count: 20.2%
Forks count: 20.9%
Average: 23.7%
Stargazers count: 24.6%
Dependent packages count: 29.0%
Last synced: 6 months ago