Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

Commit

Permalink
Add bedr package to Docker and dependencies (#225)
Browse files Browse the repository at this point in the history
* Add bedr package to Docker and dependencies

* Apparently bedr loading will mean the others installed properly

* Change zlib

* Comment on library(bedr)
  • Loading branch information
jaclyn-taroni authored Nov 4, 2019
1 parent 3f1819d commit d210b46
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -107,5 +107,41 @@ RUN apt-get update -qq && apt-get -y --no-install-recommends install \
&& install2.r --error \
flextable

# Required for mapping segments to genes
# Add bedtools
RUN wget https://github.com/arq5x/bedtools2/releases/download/v2.28.0/bedtools-2.28.0.tar.gz
RUN tar -zxvf bedtools-2.28.0.tar.gz
RUN cd bedtools2 && \
make && \
mv bin/* /usr/local/bin

# Required for installing htslib
RUN apt-get update -qq && apt-get -y --no-install-recommends install \
zlib1g \
libbz2-dev \
liblzma-dev

# Add bedops per the BEDOPS documentation
RUN wget https://github.com/bedops/bedops/releases/download/v2.4.37/bedops_linux_x86_64-v2.4.37.tar.bz2
RUN tar -jxvf bedops_linux_x86_64-v2.4.37.tar.bz2
RUN cp bin/* /usr/local/bin

# HTSlib
RUN wget https://github.com/samtools/htslib/releases/download/1.9/htslib-1.9.tar.bz2
RUN tar -jxvf htslib-1.9.tar.bz2
RUN cd htslib-1.9 && \
./configure && \
make && \
make install
RUN mv bin/* /usr/local/bin

# bedr package
RUN apt-get update -qq && apt-get -y --no-install-recommends install \
&& install2.r --error \
bedr

# Check to make sure the binaries are available by loading the bedr library
RUN Rscript -e "library(bedr)"

#### Please install your dependencies here
#### Add a comment to indicate what analysis it is required for

0 comments on commit d210b46

Please sign in to comment.