You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/installation.md
+16-3Lines changed: 16 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -142,16 +142,20 @@ If you are able to use [Docker](https://www.docker.com/), you can use the [sclif
142
142
143
143
We recommend using [Bioconda](https://bioconda.github.io/) to install the required software as the process is quite easy in our experience.
144
144
145
-
## 3.3) Configuration: Docker
145
+
## 3.3) Configuration: Docker and Singularity
146
146
Docker is a great way to run NGI-MethylSeq, as it manages all software installations and allows the pipeline to be run in an identical software environment across a range of systems.
147
147
148
-
Nextflow has [excellent integration](https://www.nextflow.io/docs/latest/docker.html) with Docker, and beyond installing the two tools, not much else is required.
148
+
On UPPMAX, we use this pipeline with [Singularity](http://singularity.lbl.gov/) instead of Docker. Singularity similar to Docker, but designed for long-running jobs in HPC environments.
149
+
Singularity images are automatically created from Docker images, so only a Docker image has to be maintained.
149
150
151
+
Nextflow has [excellent integration](https://www.nextflow.io/docs/latest/docker.html) with Docker and Singularity, and beyond installing Nextflow and Docker / Singularity, not much else is required.
152
+
153
+
#### Docker
150
154
First, install docker on your system : [Docker Installation Instructions](https://docs.docker.com/engine/installation/)
151
155
152
156
Then, simply run the analysis pipeline:
153
157
```bash
154
-
nextflow run SciLifeLab/NGI-MethylSeq -profile docker # rest of normal launch command
158
+
nextflow run SciLifeLab/NGI-MethylSeq -profile base -with-docker scilifelab/ngi-methylseq# rest of normal launch command
155
159
```
156
160
157
161
Nextflow will recognise `SciLifeLab/NGI-MethylSeq` and download the pipeline from GitHub. The `-profile docker` configuration lists the [sclifelab/ngi-methylseq](https://hub.docker.com/r/scilifelab/ngi-methylseq/) image that we have created and is hosted at dockerhub, and this is downloaded.
@@ -160,6 +164,15 @@ A reference genome is still required by the pipeline. Specifying a path to a FAS
160
164
161
165
A test suite for docker comes with the pipeline, and can be run by moving to the [`tests` directory](https://github.com/ewels/NGI-MethylSeq/tree/master/tests) and running `./docker_test.sh`. This will download a small lambda genome and some data, and attempt to run the pipeline through docker on that small dataset. This is automatically run using [Travis](https://travis-ci.org/SciLifeLab/NGI-MethylSeq/) whenever changes are made to the pipeline.
162
166
167
+
#### Singularity
168
+
Running with singularity is very similar. Nextflow will pull the docker image from dockerhub, build a singularity image from this and run using that.
169
+
170
+
The command is as follows:
171
+
```bash
172
+
nextflow run SciLifeLab/NGI-MethylSeq -profile base -with-singularity docker://scilifelab/ngi-methylseq # rest of normal launch command
173
+
```
174
+
175
+
163
176
## 3.4) Configuration: Amazon EC2
164
177
There are multiple ways of running this pipeline over Amazon's EC2 service. Please see the [NGI-RNAseq pipeline docs](https://github.com/SciLifeLab/NGI-RNAseq/blob/master/docs/amazon_web_services.md) for more information.
0 commit comments