diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..53dccac3 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +.snakemake/ +example_data/output/ +example_data/reference/STARIndex/ +example_data/reference/SalmonIndex/ \ No newline at end of file diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000..d54f1452 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,9 @@ +FROM continuumio/miniconda3 + +WORKDIR /app + +# Prepare environment +RUN conda config --add channels bioconda +RUN conda config --add channels conda-forge +RUN conda install -y -c conda-forge mamba=0.23.3 +RUN mamba install -y -c bioconda snakemake=6.10.0 diff --git a/README.md b/README.md index 75e1f677..8269fc00 100755 --- a/README.md +++ b/README.md @@ -19,6 +19,11 @@ git clone https://github.com/csoneson/ARMOR.git cd ARMOR && snakemake --use-conda ``` +Or using docker: +``` +docker-compose up +``` + To use the ARMOR workflow on your own data, follow the steps outlined in the [wiki](https://github.com/csoneson/ARMOR/wiki). ## Workflow graph diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 00000000..ce515c7e --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,7 @@ +version: "3.9" +services: + armor: + build: . + volumes: + - ./:/app + command: snakemake --use-conda --cores all \ No newline at end of file