50 lines
1.3 KiB
YAML
Executable File
50 lines
1.3 KiB
YAML
Executable File
# bbav20311 API 配置
|
|
# 存放各数据库 API 的访问密钥和配置
|
|
|
|
# NCBI API
|
|
# 申请地址: https://www.ncbi.nlm.nih.gov/account/
|
|
ncbi:
|
|
api_key: "" # 可选,提高速率限制到 10 requests/second
|
|
rate_limit: 0.34 # 无 key 时 3 requests/second,有 key 时 0.1
|
|
|
|
# Phytozome API
|
|
# 申请地址: https://phytozome-next.jgi.doe.gov/
|
|
phytozome:
|
|
api_key: "" # JGI 账户 API key
|
|
rate_limit: 1.0
|
|
|
|
# TAIR API
|
|
# 申请地址: https://www.arabidopsis.org/
|
|
tair:
|
|
api_key: "" # TAIR 订阅用户 API key
|
|
rate_limit: 1.0
|
|
|
|
# 通用配置
|
|
settings:
|
|
# 默认速率限制(秒)
|
|
default_rate_limit: 1.0
|
|
|
|
# 请求超时(秒)
|
|
request_timeout: 30
|
|
|
|
# 最大重试次数
|
|
max_retries: 3
|
|
|
|
# 缓存设置
|
|
cache_enabled: true
|
|
cache_ttl: 3600 # 缓存时间(秒)
|
|
|
|
# 并行查询设置
|
|
max_workers: 5
|
|
query_timeout: 30
|
|
|
|
# 数据库端点(一般不需要修改)
|
|
endpoints:
|
|
ncbi: "https://eutils.ncbi.nlm.nih.gov/entrez/eutils"
|
|
ensembl: "https://rest.ensembl.org"
|
|
pfam: "https://www.ebi.ac.uk/interpro/api"
|
|
plantcare: "http://bioinformatics.psb.ugent.be/webtools/plantcare/html/"
|
|
phytozome: "https://phytozome-next.jgi.doe.gov/api"
|
|
tair: "https://www.arabidopsis.org/api"
|
|
planttfdb: "http://planttfdb.gao-lab.org/api"
|