Skip to content

Commit

Permalink
Include samtools package in gwas.sif
Browse files Browse the repository at this point in the history
Fixes #219
  • Loading branch information
espenhgn committed Jan 31, 2024
1 parent 4b7a034 commit a53654a
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 7 deletions.
6 changes: 3 additions & 3 deletions docker/scripts/install_bcftools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ set -euo pipefail

# deps
apt-get update && apt-get install -y --no-install-recommends \
libcurl4-gnutls-dev=7.68.0-1ubuntu2.19 \
libperl-dev=5.30.0-9ubuntu0.4 \
libcurl4-gnutls-dev=7.68.0-1ubuntu2.21 \
libperl-dev=5.30.0-9ubuntu0.5 \
&& \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

# bcfools
# bcftools
git clone --recurse-submodules --depth 1 -b 1.12 https://github.com/samtools/bcftools.git && \
cd bcftools && \
autoheader && autoconf && ./configure --enable-libgsl --enable-perl-filters --with-htslib=/usr/ && \
Expand Down
2 changes: 1 addition & 1 deletion docker/scripts/install_htslib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set -euo pipefail
apt-get update && apt-get install --no-install-recommends \
libbz2-dev=1.0.8-2 \
liblzma-dev=5.2.4-1ubuntu1.1 \
libssl-dev=1.1.1f-1ubuntu2.19 \
libssl-dev=1.1.1f-1ubuntu2.20 \
-y && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
Expand Down
2 changes: 1 addition & 1 deletion docker/scripts/install_minimac4.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -euo pipefail
# install some deps for installing cget
apt-get update && \
apt-get install --no-install-recommends \
python3-pip=20.0.2-5ubuntu1.9 \
python3-pip=20.0.2-5ubuntu1.10 \
python3-click=7.0-3 \
python3-six=1.14.0-2 \
-y && \
Expand Down
10 changes: 8 additions & 2 deletions docker/scripts/install_samtools.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
#!/bin/sh
set -euo pipefail

# bcfools
apt-get update && apt-get install -y --no-install-recommends \
libncurses-dev=6.2-0ubuntu2.1 \
&& \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

# samtools
git clone --depth 1 -b 1.12 https://github.com/samtools/samtools.git && \
cd bcftools && \
cd samtools && \
autoheader && \
autoconf -Wno-syntax && \
./configure --with-htslib=/usr/ && \
Expand Down

0 comments on commit a53654a

Please sign in to comment.