PubmedZenbu
Project description
pubmed-zenbu
- This tool collects literature data (title_only or title_and_abstract) of your interest.
- This tool also extracts metadata from literature data using ChatGPT if you set the parameters.
How to use
conda create -n pubmedzenbu python=3.9- Create a
config.yml
# Sample config.yml
pubmed_search:
# (Required) NCBI API Key
ncbi_api_key: YOUR_NCBI_API_KEY
# (Required) Search query to obtain the PubMed articles of your interest
search_query: prime editing pig
# (Required) How far back in time you want to search.
search_oldest_year: 2010
# (Required) `title` or `abstract`. If choose `abstract`, it means you get the joined string of title and abstract.
which_text_to_use: title
openai:
# (Required) if use, add 'yes'. If not, keep it empty.
use_openai: yes
# (Optional) if use_openai is true, add your openai_api_key. Otherwise, keep it empty.
openai_api_key: YOUR_OPENAI_API_KEY
# (Optional) Prompt to ask ChatGPT. If you don't use it, keep it empty.
prompt: "extract gene and species from the following text \n"
# (Required) Set the output path. If use_openai is false, literature data will be written out.
output_path: ./extract_result_20231004.csv
pubmedzenbu PATH_TO_YOUR_config.yml_FILE
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
PubmedZenbu-0.3.7.tar.gz
(7.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file PubmedZenbu-0.3.7.tar.gz.
File metadata
- Download URL: PubmedZenbu-0.3.7.tar.gz
- Upload date:
- Size: 7.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
390593d3d896cb887d054e9a743f07a7f8cc101061eb16991e80e1253e5050d3
|
|
| MD5 |
eaec5891d7faf563c79b5363743f8cc9
|
|
| BLAKE2b-256 |
331161f50dae798242904daa451ffa3af20e2e381390f68bc7cb6024083b5a86
|
File details
Details for the file PubmedZenbu-0.3.7-py3-none-any.whl.
File metadata
- Download URL: PubmedZenbu-0.3.7-py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
423a8a3d04af692d2c2b63f7e20a6d32d77dcad55aa888d6de5601106c6a0661
|
|
| MD5 |
5c8a5cab34fc3d234e8abbc3308938be
|
|
| BLAKE2b-256 |
2eb2f15e6e18478979bc8c067e9a7efe864c45ecfccf50e8ab7b8621df0a4d81
|