Skip to content

Commit

Permalink
Switched to the newer endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
muffato committed May 21, 2024
1 parent 533676b commit 80d86de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/generate_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down Expand Up @@ -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)


Expand Down

0 comments on commit 80d86de

Please sign in to comment.