Dedicated library to query and retrieve data from Entrez databases at NCBI
Project description
Entrezpy README
Synopsis
$ pip install entrezpy --user
>>> import entrezpy.conduit >>> w = entrezpy.conduit.Conduit('myemail') >>> fetch_influenza = w.new_pipeline() >>> sid = fetch_influenza.add_search({'db' : 'nucleotide', 'term' : 'H3N2 [organism] AND HA', 'rettype':'count', 'sort' : 'Date Released', 'mindate': 2000, 'maxdate':2019, 'datetype' : 'pdat'}) >>> fid = fetch_influenza.add_fetch({'retmax' : 10, 'retmode' : 'text', 'rettype': 'fasta'}, dependency=sid) >>> w.run(fetch_influenza)
Entrezpy is a dedicated Python library to interact with NCBI Entrez databases [Entrez2016] via the E-Utilities ([Sayers2018], E-Utilities). Entrezpy facilitates the implementation of queries to query or download data from the Entrez databases, e.g. search for specific sequences or publications or fetch your favorite genome. For more complex queries entrezpy offers the class entrezpy.conduit.Conduit to run query pipelines or cache results.
Licence and Copyright
entrezpy is licensed under the GNU Lesser General Public License v3 (LGPLv3) or later. Please see https://www.ncbi.nlm.nih.gov/home/about/policies/ concerning the copyright of the material available through E-Utilities.
Please cite the publication if you use entrezpy.
Installation
Entrezpy requires at least Python 3.6 and the Standars Python Library.
PyPi
Install entrezpy via PyPi and check:
$ pip install entrezpy --user
If you want to incude entrezpy as part of your pipeline, check the documentation (https://entrezpy.readthedocs.io/en/master/setup/installation.html#append-to-sys-path)
Documentation
Entrezpy is fully documented using Spinx (http://www.sphinx-doc.org/en/stable/). The manual, usage examples and module reference can be found here: http://entrezpy.readthedocs.io/
entrezpy has been published in Bioinformatics: https://doi.org/10.1093/bioinformatics/btz385
References
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file entrezpy-2.1.3.tar.gz
.
File metadata
- Download URL: entrezpy-2.1.3.tar.gz
- Upload date:
- Size: 42.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f73701606bba2c6f82b66f72328f1df76050d6dfe61ecdcf797a7183adc484e |
|
MD5 | 092bef9a141818041cd2e8abb9e5e9d3 |
|
BLAKE2b-256 | 259725555e51f5f7c26671866e4ac9ba70a0cebca22389c1f059d5f067ab8cfc |
File details
Details for the file entrezpy-2.1.3-py3-none-any.whl
.
File metadata
- Download URL: entrezpy-2.1.3-py3-none-any.whl
- Upload date:
- Size: 87.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9223b61cd6b88181114b19abc45b746b75ad26a35384d5256ce00665de121802 |
|
MD5 | 9cb79f4eddd3d5e9af1ab24e33a68e0c |
|
BLAKE2b-256 | e8f92f5a3b3aa9df0a507f27338dc0e8a55aa1b180ddacbf326fa6b4c4687576 |