Skip to content

Commit

Permalink
Merge pull request #1 from joaorafaelalmeida/main
Browse files Browse the repository at this point in the history
Dockerize application
  • Loading branch information
pratas authored Sep 30, 2021
2 parents c0e3d6b + 8d1a81b commit d3bbec6
Show file tree
Hide file tree
Showing 8 changed files with 514,424 additions and 1 deletion.
20 changes: 20 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
FROM ubuntu:20.04

ENV PATH="/root/miniconda3/bin:${PATH}"
ARG PATH="/root/miniconda3/bin:${PATH}"

RUN apt update && apt install -y python3-pip wget

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

ADD . /RFSC

WORKDIR /RFSC

RUN ./RFSC.sh --install

CMD tail -f >> /dev/null
257,192 changes: 257,192 additions & 0 deletions Miniconda3-latest-Linux-x86_64.sh

Large diffs are not rendered by default.

257,192 changes: 257,192 additions & 0 deletions Miniconda3-latest-Linux-x86_64.sh.1

Large diffs are not rendered by default.

Binary file removed ORFs/ORFfinder
Binary file not shown.
1 change: 0 additions & 1 deletion ORFs/orfm/orfm

This file was deleted.

Binary file removed ORFs/orfm/orfm-0.7.1_Linux_x86_64
Binary file not shown.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

RFSC is a Reference-Free Sequence Classification Tool that using machine learning classifiers relies on an ensemble of experts in order to provide efficient classification in metagenomic contexts.


## Instalation

```sh
Expand All @@ -14,6 +15,15 @@ cd RFSC
./RFSC.sh --install
```

## Using Docker

```sh
git clone https://github.com/cobilab/RFSC
cd RFSC
docker-compose build
docker-compose up -d && docker exec -it rfsc bash && docker-compose down
```

## Build NCBI Reference Databases

```sh
Expand Down
10 changes: 10 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: "3"

services:
src:
container_name: rfsc
build:
context: .
dockerfile: Dockerfile
volumes:
- ./:/RFSC/

0 comments on commit d3bbec6

Please sign in to comment.