-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a6b09b8
commit f2e742e
Showing
2 changed files
with
40 additions
and
0 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 |
---|---|---|
@@ -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 "$@" |
22 changes: 22 additions & 0 deletions
22
damona/software/samtools_minimap2/Singularity.samtools_1.17_minimap2_2.24.0
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 |
---|---|---|
@@ -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 |