-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathDockerfile
More file actions
44 lines (28 loc) · 941 Bytes
/
Dockerfile
File metadata and controls
44 lines (28 loc) · 941 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
FROM kbase/sdkpython:3.8.10
RUN apt update && apt install -y wget
# TODO what is this for?
ENV NSLOTS=4
WORKDIR /kb/module
# copy everything in, we need the version file
COPY ./ /kb/module
# add SAMTools (don't need yet)
#RUN apt-get update && apt-get install -y samtools
# install BBTools
RUN BBMAP_VERSION=$(cat /kb/module/bbmap_version) \
&& BBMAP=BBMap_$BBMAP_VERSION.tar.gz \
&& wget -O $BBMAP https://sourceforge.net/projects/bbmap/files/$BBMAP/download \
&& tar -xf $BBMAP \
&& rm $BBMAP
# build BBTools small C-lib
RUN cd /kb/module/bbmap/jni \
&& make -f makefile.linux
# Per BB, don't use this, removed in later versions. Causing test failures
RUN sed -i 's/jni=t//g' /kb/module/bbmap/rqcfilter2.sh
# copy local ref files
RUN mkdir /global
COPY data/rqc_data/global /global
RUN mkdir -p /kb/module/work
RUN chmod -R a+rw /kb/module
RUN make all
ENTRYPOINT [ "./scripts/entrypoint.sh" ]
CMD [ ]