Skip to content

Commit

Permalink
Update mpox accession exclusions in real time. (#1700)
Browse files Browse the repository at this point in the history
  • Loading branch information
jgadling authored Aug 16, 2024
1 parent 064d406 commit dec5228
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/backend/Dockerfile.nextstrain
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ RUN mkdir /mpox && \
git remote add origin https://github.com/chanzuckerberg/monkeypox.git && \
git fetch origin subsampling && \
git reset --hard fd74f4b5f219035c9cbb7909b6f84f8a06fda76d
RUN chown nextstrain:nextstrain /mpox/config/exclude_accessions_mpxv.txt

RUN mkdir -p /ncov/auspice
RUN mkdir -p /ncov/logs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ echo "* set \$aspen_s3_db_bucket"
aspen_s3_db_bucket="$(jq -r .S3_db_bucket <<< "$genepi_config")"
set -x

# Download the latest mpox exclusions list. This happens at RUN time, not BUILD time so that
# we are always building trees with the latest upstream filters.
wget https://raw.githubusercontent.com/nextstrain/mpox/master/phylogenetic/defaults/exclude_accessions.txt -O /mpox/config/exclude_accessions_mpxv.txt

mkdir -p /mpox/data
key_prefix="phylo_run/${S3_FILESTEM}/${WORKFLOW_ID}"
s3_prefix="s3://${aspen_s3_db_bucket}/${key_prefix}"
Expand Down

0 comments on commit dec5228

Please sign in to comment.