Skip to content
This repository was archived by the owner on Mar 12, 2018. It is now read-only.

Commit 6c7b87c

Browse files
committed
Bumped version, updated docs.
1 parent ae3e5e7 commit 6c7b87c

4 files changed

Lines changed: 22 additions & 10 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
# NGI-MethylSeq
22

3-
## v0.3dev
3+
## [v0.3](https://github.com/SciLifeLab/NGI-MethylSeq/releases/tag/0.3) - 2017-09-01
44
* Fix `--rrbs` mode ([#24](https://github.com/SciLifeLab/NGI-MethylSeq/issues/24))
55
* Fixed fairly major bug where only a single sample would run past alignment
66
* Merged test scripts and rewrote to use command line flags / new travis script.
77
* Refactored software version collection code to be more resilient and cleaner / easier to maintain.
8+
* Dropped support for environment modules and added support for use of Singularity on UPPMAX
89

910
## [v0.2](https://github.com/SciLifeLab/NGI-MethylSeq/releases/tag/0.2) - 2017-07-17
1011
First (semi-) stable release of the new NGI-MethylSeq pipeline, as we head towards deployment in production.

docs/installation.md

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,16 +142,20 @@ If you are able to use [Docker](https://www.docker.com/), you can use the [sclif
142142

143143
We recommend using [Bioconda](https://bioconda.github.io/) to install the required software as the process is quite easy in our experience.
144144

145-
## 3.3) Configuration: Docker
145+
## 3.3) Configuration: Docker and Singularity
146146
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.
147147

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.
149150

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
150154
First, install docker on your system : [Docker Installation Instructions](https://docs.docker.com/engine/installation/)
151155

152156
Then, simply run the analysis pipeline:
153157
```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
155159
```
156160

157161
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
160164

161165
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.
162166

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+
163176
## 3.4) Configuration: Amazon EC2
164177
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.
165178

docs/usage.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -186,12 +186,7 @@ projects or different sets of reference genomes.
186186

187187
**NB:** Single hyphen (core Nextflow option)
188188

189-
Note - you can use this to override defaults. For example, we run on UPPMAX but don't want to use the MultiQC
190-
environment module as is the default. So we specify a config file using `-c` that contains the following:
191-
192-
```groovy
193-
process.$multiqc.module = []
194-
```
189+
Note - you can use this to override defaults.
195190

196191
### `--clusterOptions`
197192
Submit arbitrary SLURM options (UPPMAX profile only). For instance, you could use `--clusterOptions '-p devcore'`

nextflow.config

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ profiles {
3434
testing {
3535
includeConfig 'conf/testing.config'
3636
}
37+
base {
38+
includeConfig 'conf/base.config'
39+
}
3740
none {
3841
// Don't load any config (for use with custom home configs)
3942
}

0 commit comments

Comments
 (0)