Skip to content

Commit

Permalink
add minimap2 v2.24.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ddesvillechabrol committed Apr 11, 2023
1 parent a6b09b8 commit f2e742e
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
18 changes: 18 additions & 0 deletions damona/software/minimap2/Singularity.minimap2_2.24.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
Bootstrap: docker
From: alpine:3.17

%labels
Author Sequana Team

%post
MINIMAP2_VERSION=2.24

apk update && apk upgrade && apk add bash libc6-compat curl

curl -L https://github.com/lh3/minimap2/releases/download/v${MINIMAP2_VERSION}/minimap2-${MINIMAP2_VERSION}_x64-linux.tar.bz2 | tar -jxf - minimap2-${MINIMAP2_VERSION}_x64-linux/minimap2 \
&& mv ./minimap2-${MINIMAP2_VERSION}_x64-linux/minimap2 /usr/local/bin

apk del curl

%runscript
exec minimap2 "$@"
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
Bootstrap: docker
From: alpine:3.17

%labels
Author Sequana Team

%post
SAMTOOLS_VERSION=1.17
MINIMAP2_VERSION=2.24

apk update && apk upgrade && apk add bash libc6-compat curl
# samtools deps
apk add autoconf automake make gcc musl-dev perl zlib-dev bzip2-dev xz-dev curl-dev ncurses-dev

curl -L https://github.com/lh3/minimap2/releases/download/v${MINIMAP2_VERSION}/minimap2-${MINIMAP2_VERSION}_x64-linux.tar.bz2 | tar -jxf - minimap2-${MINIMAP2_VERSION}_x64-linux/minimap2 \
&& mv ./minimap2-${MINIMAP2_VERSION}_x64-linux/minimap2 /usr/local/bin
curl -L https://github.com/samtools/samtools/releases/download/${SAMTOOLS_VERSION}/samtools-${SAMTOOLS_VERSION}.tar.bz2 | tar -jxf - \
&& cd samtools-${SAMTOOLS_VERSION} \
&& ./configure && make all all-htslib && make install
rm -rf samtools-${SAMTOOLS_VERSION}

apk del curl autoconf automake make gcc musl-dev ncurses-dev

0 comments on commit f2e742e

Please sign in to comment.