Skip to content

Commit

Permalink
update install samtools
Browse files Browse the repository at this point in the history
  • Loading branch information
lbergelson committed Dec 17, 2024
1 parent e6c7a8f commit 4f263fb
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions scripts/install-samtools.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
#!/bin/sh
set -ex
wget https://github.com/samtools/samtools/releases/download/1.19.1/samtools-1.19.1.tar.bz2
tar -xjvf samtools-1.19.1.tar.bz2
cd samtools-1.19.1 && ./configure --prefix=/usr && make && sudo make install
#ubuntu specific
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install -y libncurses-dev libbz2-dev liblzma-dev

#install from the github tar
export SAMTOOLS_VERSION=1.19.1
wget https://github.com/samtools/samtools/releases/download/${SAMTOOLS_VERSION}/samtools-${SAMTOOLS_VERSION}.tar.bz2
tar -xjvf samtools-${SAMTOOLS_VERSION}.tar.bz2
cd samtools-{SAMTOOLS_VERSION} && ./configure --prefix=/usr && make && sudo make install

0 comments on commit 4f263fb

Please sign in to comment.