-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updating adding bwa-mem2 wrapper and increasing patch version
- Loading branch information
1 parent
ee21c9a
commit e4aadb3
Showing
2 changed files
with
24 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,27 @@ | ||
############# OVERVIEW ############# | ||
# genome-seek trim_map docker image, | ||
# uses genome-seek as a base image: | ||
FROM skchronicles/genome-seek:v0.1.0 | ||
# uses previous version of genome-seek | ||
# trim_map (v0.1.0) as a base image: | ||
FROM skchronicles/genome-seek_trim_map:v0.1.0 | ||
|
||
# Base image already contains: | ||
# samblaster and samtools | ||
# @INSTALLS: | ||
# • fastp, bwa_mem2 | ||
# samblaster, samtools, fastp, bwa_mem2 | ||
WORKDIR /opt2 | ||
|
||
############## INSTALL ############# | ||
# Install fastp, for more info see: | ||
# https://github.com/OpenGene/fastp/ | ||
RUN mkdir -p /opt2/fastp/0.23.2/ \ | ||
&& wget http://opengene.org/fastp/fastp.0.23.2 -P /opt2/fastp/0.23.2/ \ | ||
&& mv /opt2/fastp/0.23.2/fastp.0.23.2 /opt2/fastp/0.23.2/fastp \ | ||
&& chmod -R a+rx /opt2/fastp/0.23.2/fastp | ||
ENV PATH="${PATH}:/opt2/fastp/0.23.2" | ||
|
||
# Install bwa_mem2, for more info see: | ||
# https://github.com/bwa-mem2/bwa-mem2 | ||
RUN mkdir -p /opt2/bwa_mem2/2.2.1/ \ | ||
&& 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/ \ | ||
&& tar -xjvf /opt2/bwa_mem2/2.2.1/bwa-mem2-2.2.1_x64-linux.tar.bz2 -C /opt2/bwa_mem2/2.2.1/ \ | ||
&& rm /opt2/bwa_mem2/2.2.1/bwa-mem2-2.2.1_x64-linux.tar.bz2 | ||
ENV PATH="${PATH}:/opt2/bwa_mem2/2.2.1/bwa-mem2-2.2.1_x64-linux" | ||
|
||
############## INSTALL ############## | ||
# Add bwa-mem2-wrapper to select the | ||
# correct bwa-mem2 pre-compiled binary | ||
# for Intel and AMD (Zen4) processors. | ||
# AMD (Zen4) processors require are not | ||
# compatible with the AVX-512bw Intel | ||
# pre-compiled binary. This wrapper will | ||
# select the AVX2 binary if run on an | ||
# AMD processor; otherwise, it will | ||
# let bwa-mem2 select the best binary. | ||
ADD bin/bwa-mem2-wrapper /opt2/bwa_mem2/2.2.1/bwa-mem2-2.2.1_x64-linux/bwa-mem2-wrapper | ||
RUN chmod a+rx /opt2/bwa_mem2/2.2.1/bwa-mem2-2.2.1_x64-linux/bwa-mem2-wrapper | ||
|
||
################ POST ################# | ||
# Add Dockerfile and export env variables | ||
ADD Dockerfile /opt2/genome-seek_trim_map.dockerfile | ||
RUN chmod -R a+rX /opt2 | ||
WORKDIR /data2 | ||
ADD Dockerfile /opt2/genome-seek_trim_map_v0.1.1.dockerfile | ||
WORKDIR /data2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters