Skip to content

Instantly share code, notes, and snippets.

@epicfaace
Created January 31, 2021 14:42
Show Gist options
  • Save epicfaace/3788c484693de9387751fdbd2e31fdac to your computer and use it in GitHub Desktop.
Save epicfaace/3788c484693de9387751fdbd2e31fdac to your computer and use it in GitHub Desktop.
install htslib with docker
# 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