Created
January 31, 2021 14:42
-
-
Save epicfaace/3788c484693de9387751fdbd2e31fdac to your computer and use it in GitHub Desktop.
install htslib with docker
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
# Install htslib (for bgzip) | |
RUN mkdir /opt/htslib | |
RUN curl -L https://github.com/samtools/htslib/releases/download/1.11/htslib-1.11.tar.bz2 --out htslib-1.11.tar.bz2 && \ | |
tar -xf htslib-1.11.tar.bz2 && \ | |
cd htslib-1.11 && \ | |
./configure --disable-bz2 --disable-lzma --prefix=/opt/htslib/ && \ | |
make && \ | |
make install | |
ENV PATH="${PATH}:/opt/htslib/bin" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment