forked from gkarthik/ivar
-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #166 from andersen-lab/issue_165
Update Dockerfile htslib version and ubuntu version
- Loading branch information
Showing
1 changed file
with
5 additions
and
5 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,18 +1,18 @@ | ||
FROM ubuntu:18.04 | ||
FROM ubuntu:20.04 | ||
MAINTAINER Karthik G <[email protected]> | ||
|
||
RUN apt-get update | ||
RUN apt-get install -y build-essential autoconf zlib1g-dev python3 wget libbz2-dev liblzma-dev libncurses-dev git bedtools python3-pip vim nano | ||
# HTSlib | ||
RUN cd root/ &&\ | ||
wget https://github.com/samtools/htslib/releases/download/1.9/htslib-1.9.tar.bz2 &&\ | ||
tar xvf htslib-1.9.tar.bz2 &&\ | ||
cd htslib-1.9/ &&\ | ||
wget https://github.com/samtools/htslib/releases/download/1.10.2/htslib-1.10.2.tar.bz2 &&\ | ||
tar xvf htslib-1.10.2.tar.bz2 &&\ | ||
cd htslib-1.10.2/ &&\ | ||
./configure &&\ | ||
make &&\ | ||
make install &&\ | ||
cd ../ &&\ | ||
rm htslib-1.9.tar.bz2 | ||
rm htslib-1.10.2.tar.bz2 | ||
ENV LD_LIBRARY_PATH /usr/local/lib:$LD_LIBRARY_PATH | ||
# SAMtools | ||
RUN cd root &&\ | ||
|