forked from mandricigor/imrep
-
Notifications
You must be signed in to change notification settings - Fork 4
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 #6 from Mangul-Lab-USC/imrep-docker
Add docker support to ImRep
- Loading branch information
Showing
4 changed files
with
64 additions
and
9 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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
FROM ubuntu:18.04 | ||
|
||
RUN apt-get update --fix-missing | ||
RUN apt-get install -y build-essential \ | ||
wget \ | ||
bzip2 \ | ||
samtools \ | ||
libbam-dev \ | ||
libhts-dev \ | ||
python-minimal | ||
|
||
RUN apt-get clean && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
ENV PATH="/root/miniconda3/bin:${PATH}" | ||
ARG PATH="/root/miniconda3/bin:${PATH}" | ||
|
||
RUN wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh \ | ||
&& mkdir /root/.conda \ | ||
&& bash Miniconda3-latest-Linux-x86_64.sh -b \ | ||
&& rm -f Miniconda3-latest-Linux-x86_64.sh | ||
|
||
RUN pip install --upgrade pip | ||
|
||
WORKDIR /imrep | ||
COPY . . | ||
|
||
RUN cd suffix_tree && python ./setup.py install --user | ||
|
||
RUN pip install -r requirements.txt | ||
|
||
ENTRYPOINT ["python", "./imrep.py"] |
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
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,9 +1,4 @@ | ||
pip install pysam --user | ||
pip install biopython==1.76 --user | ||
pip install intervaltree --user | ||
pip install jellyfish==0.5.4 --user | ||
pip install numpy --user | ||
pip install networkx --user | ||
pip install -r requirements.txt | ||
cd suffix_tree | ||
python setup.py install --user | ||
cd .. |
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
biopython==1.76.0 | ||
intervaltree==3.1.0 | ||
jellyfish==0.4.0 | ||
networkx==2.5.1 | ||
numpy==1.20.3 | ||
pysam==0.16.0.1 |