1
1
# ############ OVERVIEW #############
2
2
# genome-seek trim_map docker image,
3
- # uses genome-seek as a base image:
4
- FROM skchronicles/genome-seek:v0.1.0
3
+ # uses previous version of genome-seek
4
+ # trim_map (v0.1.0) as a base image:
5
+ FROM skchronicles/genome-seek_trim_map:v0.1.0
5
6
6
7
# Base image already contains:
7
- # samblaster and samtools
8
- # @INSTALLS:
9
- # • fastp, bwa_mem2
8
+ # samblaster, samtools, fastp, bwa_mem2
10
9
WORKDIR /opt2
11
10
12
- # ############# INSTALL #############
13
- # Install fastp, for more info see:
14
- # https://github.com/OpenGene/fastp/
15
- RUN mkdir -p /opt2/fastp/0.23.2/ \
16
- && wget http://opengene.org/fastp/fastp.0.23.2 -P /opt2/fastp/0.23.2/ \
17
- && mv /opt2/fastp/0.23.2/fastp.0.23.2 /opt2/fastp/0.23.2/fastp \
18
- && chmod -R a+rx /opt2/fastp/0.23.2/fastp
19
- ENV PATH="${PATH}:/opt2/fastp/0.23.2"
20
-
21
- # Install bwa_mem2, for more info see:
22
- # https://github.com/bwa-mem2/bwa-mem2
23
- RUN mkdir -p /opt2/bwa_mem2/2.2.1/ \
24
- && wget https://github.com/bwa-mem2/bwa-mem2/releases/download/v2.2.1/bwa-mem2-2.2.1_x64-linux.tar.bz2 -P /opt2/bwa_mem2/2.2.1/ \
25
- && tar -xjvf /opt2/bwa_mem2/2.2.1/bwa-mem2-2.2.1_x64-linux.tar.bz2 -C /opt2/bwa_mem2/2.2.1/ \
26
- && rm /opt2/bwa_mem2/2.2.1/bwa-mem2-2.2.1_x64-linux.tar.bz2
27
- ENV PATH="${PATH}:/opt2/bwa_mem2/2.2.1/bwa-mem2-2.2.1_x64-linux"
28
-
11
+ # ############# INSTALL ##############
12
+ # Add bwa-mem2-wrapper to select the
13
+ # correct bwa-mem2 pre-compiled binary
14
+ # for Intel and AMD (Zen4) processors.
15
+ # AMD (Zen4) processors require are not
16
+ # compatible with the AVX-512bw Intel
17
+ # pre-compiled binary. This wrapper will
18
+ # select the AVX2 binary if run on an
19
+ # AMD processor; otherwise, it will
20
+ # let bwa-mem2 select the best binary.
21
+ ADD bin/bwa-mem2-wrapper /opt2/bwa_mem2/2.2.1/bwa-mem2-2.2.1_x64-linux/bwa-mem2-wrapper
22
+ RUN chmod a+rx /opt2/bwa_mem2/2.2.1/bwa-mem2-2.2.1_x64-linux/bwa-mem2-wrapper
29
23
30
24
# ############### POST #################
31
25
# Add Dockerfile and export env variables
32
- ADD Dockerfile /opt2/genome-seek_trim_map.dockerfile
33
- RUN chmod -R a+rX /opt2
34
- WORKDIR /data2
26
+ ADD Dockerfile /opt2/genome-seek_trim_map_v0.1.1.dockerfile
27
+ WORKDIR /data2
0 commit comments