Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Precompile quast dependencies #38

Merged
merged 1 commit into from
Oct 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ MAINTAINER KBase Developer
# Insert apt-get instructions here to install
# any required dependencies for your module.

RUN apt update && apt install -y g++ nano tree
# libz is for Minimap2 in Quast
RUN apt update && apt install -y g++ nano tree wget libz-dev

RUN python -m pip install --upgrade pip \
&& pip install \
Expand All @@ -18,6 +19,16 @@ RUN python -m pip install --upgrade pip \

# Genemark is not open source for non-academic use, and so can't be used in KBase

# Precompile dependencies vs compiling at first use
# In particular, this allows the container to run @ NERSC
RUN mkdir /quasttemp \
&& cd /quasttemp \
&& wget quast.sf.net/test_data.tar.gz \
&& tar xzf test_data.tar.gz \
&& quast.py --test --debug \
&& cd - \
&& rm -r /quasttemp

# -----------------------------------------

COPY ./ /kb/module
Expand Down
Loading