-
Notifications
You must be signed in to change notification settings - Fork 244
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
e6c7a8f
commit 4f263fb
Showing
1 changed file
with
10 additions
and
3 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,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 |