From 80d86de380da6d5a78e993f384717745e2ac46e9 Mon Sep 17 00:00:00 2001 From: Matthieu Muffato Date: Tue, 21 May 2024 10:08:14 +0100 Subject: [PATCH] Switched to the newer endpoint --- bin/generate_config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/generate_config.py b/bin/generate_config.py index cc95dbd9..37a39ea5 100755 --- a/bin/generate_config.py +++ b/bin/generate_config.py @@ -8,7 +8,7 @@ import typing import yaml -NCBI_TAXONOMY_API = "https://api.ncbi.nlm.nih.gov/datasets/v1/taxonomy/taxon/%s" +NCBI_TAXONOMY_API = "https://api.ncbi.nlm.nih.gov/datasets/v2alpha/taxonomy/taxon/%s" NCBI_DATASETS_API = "https://api.ncbi.nlm.nih.gov/datasets/v2alpha/genome/accession/%s/dataset_report" RANKS = [ @@ -37,7 +37,7 @@ def parse_args(args=None): "--accession", dest="ACCESSION", help="Accession number of the assembly (optional).", default=None ) parser.add_argument("--busco", dest="REQUESTED_BUSCOS", help="Requested BUSCO lineages.", default=None) - parser.add_argument("--version", action="version", version="%(prog)s 1.2") + parser.add_argument("--version", action="version", version="%(prog)s 1.3") return parser.parse_args(args)