Skip to content

Commit

Permalink
Add docker
Browse files Browse the repository at this point in the history
  • Loading branch information
smortezah committed Dec 17, 2021
1 parent 29792f9 commit 44bb7cd
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 5 deletions.
12 changes: 12 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
FROM ubuntu:20.04
LABEL maintainer "Morteza Hosseini"

ENV DEBIAN_FRONTEND=noninteractive
RUN apt update && apt install -y cmake g++ wget unzip

RUN wget https://github.com/smortezah/smashpp/archive/refs/heads/master.zip
RUN unzip master.zip && rm -f master.zip
RUN mv smashpp-master smashpp

WORKDIR /smashpp
RUN bash install.sh
20 changes: 15 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,14 @@ A fast tool to find and visualize rearrangements in DNA sequences.

To install Smash++ on various operating systems, follow the instructions below. It requires CMake (>= 3.9) and a C++14 compliant compiler. Note that a precompiled executable is available for 64 bit operating systems in the `experiment/bin` directory.

### Conda

Install [Miniconda](https://docs.conda.io/en/latest/miniconda.html), then run the following:

### Docker
Pull the image by
```bash
conda install -c bioconda -y smashpp
docker pull smortezah/smashpp
```
and run it:
```bash
docker run -it smortezah/smashpp
```

### Ubuntu
Expand Down Expand Up @@ -59,6 +61,14 @@ cd smashpp

**Note**: in all operating systems, in the case of permission denial, you can use `sudo bash install.sh` instead of `./install.sh`.

### Conda

Install [Miniconda](https://docs.conda.io/en/latest/miniconda.html), then run the following:

```bash
conda install -c bioconda -y smashpp
```

## Run

```text
Expand Down

0 comments on commit 44bb7cd

Please sign in to comment.