Pubmed Search
Project description
Example
Installation
pip install pubmed_searchx
Running from command line
python -m pubmed_searchx PATH_TO_GENE_LIST PATH_TO_TERM_LIST {-r: Optional for using hreflink pubmed} {-d PATH_TO_RESULT_DIR}
Example:
Input:
gene_test.txt:
REST
CJKG
CORIN
EGF1
term_test.txt:
depression
migraine
python -m pubmed_searchx -g gene_test.txt -t term_test.txt -d "./"
Output example: Folder: REST_CJKG_CORIN_EGF1_depression_{time_stamp}/
- pubmed_id_results.csv:
Gene | Pubmed_Ids |
---|---|
REST | 35216520,35231204,31376646,34555652,32739332,34388482,35522984,34709765,25785575,30761967,23856279,28488270,30979801,17653294,30962366,24256499,15167093,27185312,21677641,24313703 |
CJKG | No_Hit |
CORIN | 26667411,7759658,36097420,30148170,32257992,37895290,7798487,2766190,1825625,3383412 |
EGF1 | 15892860 |
(With -r option, the pubmed_id becomes: 35216520(https://pubmed.ncbi.nlm.nih.gov/35216520))
- cout_hist.csv:
Gene | #Hits |
---|---|
REST | 20 |
CJKG | 0 |
CORIN | 10 |
EGF1 | 1 |
- json_dir/*.json: (e.g. CORIN.json)
[ { "authors": "Monroe SM;Harkness KL", "title": "Major Depression and Its Recurrences: Life Course Matters.", "year": "2022", "pubmed_id": "35216520" }, .... ]
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
pubmed_searchx-0.1.6.tar.gz
(6.5 kB
view details)
Built Distribution
File details
Details for the file pubmed_searchx-0.1.6.tar.gz
.
File metadata
- Download URL: pubmed_searchx-0.1.6.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
80132b63a836a438a599e75b44d319768fbe97a44a1cf9ed0b52736ed486495c
|
|
MD5 |
2ecbc53aaa30f6a99e53fa4379c80c69
|
|
BLAKE2b-256 |
57ee880d0055938a0fc6a4176a58cc4b84a7e1a17459bb12080ea92ca449d6e2
|
File details
Details for the file pubmed_searchx-0.1.6-py3-none-any.whl
.
File metadata
- Download URL: pubmed_searchx-0.1.6-py3-none-any.whl
- Upload date:
- Size: 6.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
d83b267a5582d15528f6d855378df18c2e6701b3d9c88952c5a13cbc80f5a334
|
|
MD5 |
67e09f6e0c55ab4b483d8135a7598829
|
|
BLAKE2b-256 |
c6a6d1d220c330b4cf1ba87bfaee84e263d9aee02c7ac73ffd124ccd42211c0d
|