Skip to main content

Wormbase/PudMed API Access

Project description

pub_worm

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/

Tbale1

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

https://eutils.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi?db=nlmcatalog&term=journalspmc[All%20Fields]

Search nlmcatalog only get pubmed journals

https://eutils.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi?db=nlmcatalog&term=nlmcatalog%20pubmed[subset]

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

https://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=nlmcatalog&retmode=xml&id=101682128,101233170

https://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=nlmcatalog&retmode=xml&id=297618,7505876

https://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=nuccore&id=34577062,24475906&rettype=fasta&retmode=text

https://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=pubmed&query_key=1&WebEnv=MCID_6570ac6193da3159df3e2274

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" }

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pub_worm-0.2.8.tar.gz (393.9 kB view details)

Uploaded Source

File details

Details for the file pub_worm-0.2.8.tar.gz.

File metadata

  • Download URL: pub_worm-0.2.8.tar.gz
  • Upload date:
  • Size: 393.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for pub_worm-0.2.8.tar.gz
Algorithm Hash digest
SHA256 984e9b97bf00d31e2912aae5429db7f7dd1db2cbd89a860f2f18a28f179afa0e
MD5 262076fdbad8ba1d25ff3a47f7c71fb3
BLAKE2b-256 514051943d1557acd97d0bd3c5e4ea9131e52649895cce775d41150299780858

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page