Skip to content

Commit 73097ae

Browse files
committed
Update mpox accession exclusions in real time.
1 parent 064d406 commit 73097ae

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/backend/Dockerfile.nextstrain

+1
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ RUN mkdir /mpox && \
5858
git remote add origin https://github.com/chanzuckerberg/monkeypox.git && \
5959
git fetch origin subsampling && \
6060
git reset --hard fd74f4b5f219035c9cbb7909b6f84f8a06fda76d
61+
RUN chown nextstrain:nextstrain /mpox/config/exclude_accessions_mpxv.txt
6162

6263
RUN mkdir -p /ncov/auspice
6364
RUN mkdir -p /ncov/logs

src/backend/aspen/workflows/nextstrain_run/run_nextstrain_mpx.sh

+4
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ echo "* set \$aspen_s3_db_bucket"
3131
aspen_s3_db_bucket="$(jq -r .S3_db_bucket <<< "$genepi_config")"
3232
set -x
3333

34+
# Download the latest mpox exclusions list. This happens at RUN time, not BUILD time so that
35+
# we are always building trees with the latest upstream filters.
36+
wget https://raw.githubusercontent.com/nextstrain/mpox/master/phylogenetic/defaults/exclude_accessions.txt -O /mpox/config/exclude_accessions_mpxv.txt
37+
3438
mkdir -p /mpox/data
3539
key_prefix="phylo_run/${S3_FILESTEM}/${WORKFLOW_ID}"
3640
s3_prefix="s3://${aspen_s3_db_bucket}/${key_prefix}"

0 commit comments

Comments
 (0)