Skip to content

Commit

Permalink
Add support files
Browse files Browse the repository at this point in the history
  • Loading branch information
jiadong324 committed Dec 2, 2021
1 parent a52071f commit 0da734c
Show file tree
Hide file tree
Showing 7 changed files with 59 additions and 0 deletions.
29 changes: 29 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#FROM python:3.6
#
#WORKDIR .
#
#ADD . .
#
#RUN pip install -r requirements.txt
#
#CMD ["python", "SVision"]

FROM continuumio/miniconda3

WORKDIR .

COPY . .
RUN conda env create -f environment.yml

# Make RUN commands use the new environment:
SHELL ["conda", "run", "-n", "svisionenv", "/bin/bash", "-c"]

# Demonstrate the environment is activated:
RUN echo "Make sure tensorflow is installed:"
RUN python -c "import tensorflow"

ENV PATH /opt/conda/envs/svisionenv/bin:$PATH

# The code to run when container is started:
#COPY SVision .
ENTRYPOINT ["conda", "run", "--no-capture-output", "-n", "svisionenv", "python"]
19 changes: 19 additions & 0 deletions environment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: svisionenv
channels:
- anaconda
- conda-forge
- bioconda
- defaults
dependencies:
- python=3.6
- tensorflow=1.14.0
- pip=21.1.3
- pysam=0.16.0
- pip:
- numpy==1.16.4
- scipy==1.5.4
- pandas==1.1.3
- opencv-python-headless==4.5.4.58
- beautifulsoup4==4.9.3
- intervaltree==3.1.0
- pyvcf==0.6.8
11 changes: 11 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
tensorflow==1.14.0
pysam==0.16.0
numpy==1.16.4
scipy==1.5.4
pandas==1.1.3
opencv-python==4.5.4.58
beautifulsoup4==4.9.3
intervaltree==3.1.0
soupsieve==2.2.1
sortedcontainers==2.4.0
pyvcf==0.6.8
Binary file added supports/HG002_benchmark.pdf
Binary file not shown.
Binary file added supports/HG00733.svision.demo.bam
Binary file not shown.
Binary file added supports/HG00733.svision.demo.bam.bai
Binary file not shown.
Binary file added supports/example_isomorphic_graphs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0da734c

Please sign in to comment.