pypdb


Namepypdb JSON
Version 2.4 PyPI version JSON
download
home_pagehttps://github.com/williamgilpin/pypdb
SummaryA Python wrapper for the RCSB Protein Data Bank (PDB) API
upload_time2024-05-15 13:54:46
maintainerNone
docs_urlNone
authorWilliam Gilpin
requires_pythonNone
licenseNone
keywords protein data restful api
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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`](demos/demos.ipynb). For advanced search and query logic, see the examples in [`search/EXAMPLES.md`](pypdb/clients/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`](demos/demos.ipynb). For advanced search and query logic, see the examples in [`data/EXAMPLES.md`](pypdb/clients/data/EXAMPLES.md).

## 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](https://www.rcsb.org/search/advanced). 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.





            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/williamgilpin/pypdb",
    "name": "pypdb",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "protein, data, RESTful, api",
    "author": "William Gilpin",
    "author_email": "firstnamelastname@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/64/84/8df3a471ad6f05ae1fe57ea119072559a0d9448f7c87f95325c777932208/pypdb-2.4.tar.gz",
    "platform": null,
    "description": "# PyPDB\n\nA 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.\n\nIf you use this module for any published work, please consider citing the accompanying paper\n\n      Gilpin, W. \"PyPDB: A Python API for the Protein Data Bank.\"\n      Bioinformatics, Oxford Journals, 2016.\n\n## Installation\n\nInstall using pip:\n\n    $ pip install pypdb\n\nTo install the development version, which contains the latest features and fixes, install directly from GitHub using\n\n    $ pip install git+https://github.com/williamgilpin/pypdb\n\nIf you need to  install directly from setup.py,\n\n    $ python setup.py install\n\nTest the installation, and check that the code successfully connects to the PDB, navigate to the root directory and run\n\n    $ pytest\n\nThis code has been designed and tested for Python 3.\n\n## Usage\n\n### PDB Text Search\nThis 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`](demos/demos.ipynb). For advanced search and query logic, see the examples in [`search/EXAMPLES.md`](pypdb/clients/search/EXAMPLES.md).\n\n### PDB Data Fetch\nGiven 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`](demos/demos.ipynb). For advanced search and query logic, see the examples in [`data/EXAMPLES.md`](pypdb/clients/data/EXAMPLES.md).\n\n## Issues and Feature Requests\n\nIf 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.\n\nIf posting a feature request, please check that your request is possible using [the current GUI on current RCSB website](https://www.rcsb.org/search/advanced). 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.\n\n\n\n\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "A Python wrapper for the RCSB Protein Data Bank (PDB) API",
    "version": "2.4",
    "project_urls": {
        "Download": "https://github.com/williamgilpin/pypdb/tarball/0.6",
        "Homepage": "https://github.com/williamgilpin/pypdb"
    },
    "split_keywords": [
        "protein",
        " data",
        " restful",
        " api"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "590a42903eb57c4d5ee9057533bfa05a81d178896ac18f227e142e0d118b18c7",
                "md5": "7956bb0f071ea353059f9193b7ad36a5",
                "sha256": "86aaed60889e480430e9aaed362eeb4469d9bd65b48323ecf34034d6bb219391"
            },
            "downloads": -1,
            "filename": "pypdb-2.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "7956bb0f071ea353059f9193b7ad36a5",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 40602,
            "upload_time": "2024-05-15T13:54:45",
            "upload_time_iso_8601": "2024-05-15T13:54:45.127865Z",
            "url": "https://files.pythonhosted.org/packages/59/0a/42903eb57c4d5ee9057533bfa05a81d178896ac18f227e142e0d118b18c7/pypdb-2.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "64848df3a471ad6f05ae1fe57ea119072559a0d9448f7c87f95325c777932208",
                "md5": "22d5fbd72b7abcc87a194e94a5e5df9b",
                "sha256": "2e865f9cb41c789d78988a73e12d2e329a50d65f28da26d2011202073fde7365"
            },
            "downloads": -1,
            "filename": "pypdb-2.4.tar.gz",
            "has_sig": false,
            "md5_digest": "22d5fbd72b7abcc87a194e94a5e5df9b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 33230,
            "upload_time": "2024-05-15T13:54:46",
            "upload_time_iso_8601": "2024-05-15T13:54:46.932613Z",
            "url": "https://files.pythonhosted.org/packages/64/84/8df3a471ad6f05ae1fe57ea119072559a0d9448f7c87f95325c777932208/pypdb-2.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-05-15 13:54:46",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "williamgilpin",
    "github_project": "pypdb",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "pypdb"
}
        
Elapsed time: 0.37686s