From cf5cf0a6ee9378b34997fccbcda95deac4494e12 Mon Sep 17 00:00:00 2001 From: Cornelius Roemer Date: Fri, 10 May 2024 04:00:34 +0200 Subject: [PATCH] feat(ingest): Use NCBI API key, and don't retry, to not exceed request limits --- ingest/Snakefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ingest/Snakefile b/ingest/Snakefile index 8b47ecc2a..3c0a6a610 100644 --- a/ingest/Snakefile +++ b/ingest/Snakefile @@ -38,14 +38,15 @@ rule all: rule fetch_ncbi_dataset_package: + # TODO: #1844 Set API key through secret output: dataset_package="results/ncbi_dataset.zip", - retries: 5 shell: """ datasets download virus genome taxon {TAXON_ID} \ --no-progressbar \ - --filename {output.dataset_package} + --filename {output.dataset_package} \ + --api-key 15c4ff96de265753f878bb08d88ca64df909 \ """