Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
Added update TBDB
  • Loading branch information
evagunawan authored Nov 30, 2023
1 parent 0f1db51 commit 1c1182a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tbprofiler/5.0.1/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,15 @@ ARG MAMBA_DOCKERFILE_ACTIVATE=1

# Version of database can be confirmed at /opt/conda/share/tbprofiler/tbdb.version.json
# can also run 'tb-profiler list_db' to find the same version info
# In 5.0.1 updating_tbdb does not work through this --commit but list_db produces correct version
# RUN tb-profiler update_tbdb --commit ${TBDB_VER}
# In 5.0.1 updating_tbdb does not work with tb-profiler update_tbdb --commit ${TBDB_VER}
RUN tb-profiler update_tbdb

WORKDIR /data

# hardcode 'base' env bin into PATH, so conda env does not have to be "activated" at run time
ENV PATH="/opt/conda/bin:${PATH}"

# Added command to bring help menu up upon running container.
CMD "tb-profiler"

# test stage
Expand All @@ -57,4 +58,4 @@ WORKDIR /tests
# download some TB FASTQs and run through tb-profiler
RUN wget ftp://ftp.sra.ebi.ac.uk/vol1/fastq/ERR166/009/ERR1664619/ERR1664619_1.fastq.gz && \
wget ftp://ftp.sra.ebi.ac.uk/vol1/fastq/ERR166/009/ERR1664619/ERR1664619_2.fastq.gz && \
tb-profiler profile -1 ERR1664619_1.fastq.gz -2 ERR1664619_2.fastq.gz -t 2 -p ERR1664619 --txt
tb-profiler profile -1 ERR1664619_1.fastq.gz -2 ERR1664619_2.fastq.gz -t 2 -p ERR1664619 --txt

0 comments on commit 1c1182a

Please sign in to comment.