Wormbase/PudMed API Access
Project description
pub_worm
Wormbase
http://rest.wormbase.org/index.html
API integration of Wormbase and NCBI Utils
Call from the commandline $PYTHONPATH="./src" python -m pub_worm.wormbase.WormbaseREST
Deploy
- Advance the version number in setup.py
conda deactivate # twine is installed in base env
cd <project directory>
rm -rf ./dist
rm -rf ./pub_worm.egg-info
python setup.py sdist
twine check dist/*
twine upload --repository pypi dist/*
git add .
git commit -m "some comment"
git push
Helpful Sites
https://researchguides.library.wisc.edu/c.php?g=1144260&p=8349872
ncbi_utils
ncbi_utils https://www.ncbi.nlm.nih.gov/books/NBK25501/
eInfo
https://eutils.ncbi.nlm.nih.gov/entrez/eutils/einfo.fcgi
https://eutils.ncbi.nlm.nih.gov/entrez/eutils/einfo.fcgi?db=pmc
https://eutils.ncbi.nlm.nih.gov/entrez/eutils/einfo.fcgi?db=nlmcatalog
eSearch
https://eutils.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi?db=pubmed&retmax=20&term=Dennis+Voelker
Search nlmcatalog only get pubmed journals
https://eutils.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi?db=nlmcatalog&term=nlmcatalog%20pubmed[subset]%20Cell Metabolism[All%20Fields]
eSummary
https://eutils.ncbi.nlm.nih.gov/entrez/eutils/esummary.fcgi?db=pubmed&id=37144896
eFetch
Pull Article
https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8322431/pdf/41598_2021_Article_94902.pdf
https://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi" efetch_params = { "db": "pubmed", "id": ",".join(papers), # Join IDs with comma "retmode": "json", "rettype": "abstract" }
Pytest
- Run a specific test from the command line
cd /Users/dan/Code/Python/pub_worm/tests export PYTHONPATH=..;python -m pytest ncbi/test_entreze_api.py::test_entreze_esearch
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
File details
Details for the file pub_worm-0.3.4.tar.gz
.
File metadata
- Download URL: pub_worm-0.3.4.tar.gz
- Upload date:
- Size: 397.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d790c3b33550839a056df1cdd67bca29ec91dd01a4e2471ad3157c12ff7f06d9 |
|
MD5 | db93747d2a55d82b9a3f75bb14f4b617 |
|
BLAKE2b-256 | 4e3cd7b15b0ca8d9ef436dd08e08a40d7b1e039c3a9e786a5e9dfa8101d02dd7 |