Skip to content

Commit

Permalink
Update Dockerfile - adding bedtools and impg
Browse files Browse the repository at this point in the history
  • Loading branch information
davidebolo1993 authored Apr 23, 2024
1 parent a19a352 commit 8aa4ef9
Showing 1 changed file with 23 additions and 8 deletions.
31 changes: 23 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@ LABEL about.license="GPLv3"

ARG DEBIAN_FRONTEND=noninteractive
#install basic libraries and python
#this is useful for having all the dependencies for which no official docker exist
#odgi is out there
#pggb same
#this is useful for having control on all the depenendencies
#odgi and pggb are excluded here

WORKDIR /opt

Expand Down Expand Up @@ -51,16 +50,15 @@ ENV PATH="/root/.cargo/bin:${PATH}"

#and update
RUN rustup update

#and pgr-tk dependency
RUN cargo install --locked maturin

#install numpy
RUN pip3 install numpy \
pandas \
matplotlib \
scikit-learn \
scipy
scipy \
pyfaidx

#ln python to python3 -not used right now but, who knows?
RUN ln -s /usr/bin/python3 /usr/bin/python
Expand Down Expand Up @@ -99,9 +97,17 @@ RUN wget https://github.com/lh3/minimap2/releases/download/v2.28/minimap2-2.28_x

ENV PATH /opt/minimap2-2.28_x64-linux:$PATH

##install bedtools

RUN wget https://github.com/arq5x/bedtools2/releases/download/v2.31.0/bedtools.static \
&& chmod +x bedtools.static \
&& mv bedtools.static bedtools

ENV PATH /opt:$PATH

##install gafpack
##checkout to a specific version
##we need to git bisect in order to understand what is not working properly with the newest version
##we need to git bisect in order to understand what is not working properly with the newest version - git bisect (?)

RUN git clone https://github.com/ekg/gafpack.git \
&& cd gafpack \
Expand All @@ -118,6 +124,15 @@ RUN git clone https://github.com/ekg/gfainject.git \

ENV PATH /opt/gfainject/target/release:$PATH

##install impg

RUN git clone https://github.com/ekg/impg.git \
&& cd impg \
&& cargo install --force --path .

ENV PATH /opt/impg/target/release:$PATH


##install cosigt

RUN git clone https://github.com/davidebolo1993/cosigt.git \
Expand All @@ -126,4 +141,4 @@ RUN git clone https://github.com/davidebolo1993/cosigt.git \
&& go mod tidy \
&& go build cosigt

ENV PATH /opt/cosigt:$PATH
ENV PATH /opt/cosigt:$PATH

0 comments on commit 8aa4ef9

Please sign in to comment.