Skip to content

Commit 3187a1d

Browse files
authored
Merge pull request #115 from drpatelh/master
Address comments for PR #114 (Dev > Master)
2 parents eab7575 + 7456784 commit 3187a1d

File tree

7 files changed

+55
-27
lines changed

7 files changed

+55
-27
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ install:
3030
- sudo apt-get install npm && npm install -g markdownlint-cli
3131

3232
env:
33-
- NXF_VER='19.04.0' # Specify a minimum NF version that should be tested and work
33+
- NXF_VER='19.10.0' # Specify a minimum NF version that should be tested and work
3434
- NXF_VER='' # Plus: get the latest NF version and check that it works
3535

3636
script:

CHANGELOG.md

Lines changed: 30 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,33 +5,54 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
66
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
77

8-
## [1.1.0] - 2019-11-01
8+
## [1.1.0] - 2019-11-05
99

1010
### `Added`
1111

1212
* [#46](https://github.com/nf-core/atacseq/issues/46) - Missing gene_bed path in igenomes config
13-
* Capitalised process names
14-
* Add quick start information to main README
1513
* Update template to tools `1.7`
1614
* Add `--trim_nextseq` parameter
17-
* Added `CITATIONS.md` file
15+
* Add `CITATIONS.md` file
16+
* Capitalised process names
1817

1918
### `Fixed`
2019

20+
* **Change all parameters from `camelCase` to `snake_case` (see [Deprecated](#Deprecated))**
2121
* [#44](https://github.com/nf-core/atacseq/issues/44) - Output directory missing: macs2/consensus/deseq2
2222
* [#45](https://github.com/nf-core/atacseq/issues/45) - Wrong x-axis scale for the HOMER: Peak annotation Counts tab plot?
2323
* [#46](https://github.com/nf-core/atacseq/issues/46) - Stage blacklist file in channel properly
2424
* [#50](https://github.com/nf-core/atacseq/issues/50) - HOMER number of peaks does not correspond to found MACS2 peaks
25+
* Fixed bug in UpSetR peak intersection plot
2526
* Increase default resource requirements in `base.config`
2627
* Increase process-specific requirements based on user-reported failures
27-
* Change parameter `saveGenomeIndex` to `save_reference`
28-
* Change parameter `--design` to `--input`
29-
* Change all parameters from `camelCase` to `snake_case`
30-
* Fixed bug in UpSetR peak intersection plot
3128

3229
### `Dependencies`
3330

34-
* Bump Nextflow version to `19.04.0`
31+
* Update Nextflow `0.32.0` -> `19.10.0`
32+
33+
### `Deprecated`
34+
35+
| Deprecated | Replacement |
36+
|------------------------------|---------------------------|
37+
| `--design` | `--input` |
38+
| `--singleEnd` | `--single_end` |
39+
| `--saveGenomeIndex` | `--save_reference` |
40+
| `--skipTrimming` | `--skip_trimming` |
41+
| `--saveTrimmed` | `--save_trimmed` |
42+
| `--keepDups` | `--keep_dups` |
43+
| `--keepMultiMap` | `--keep_multi_map` |
44+
| `--saveAlignedIntermediates` | `--save_align_intermeds` |
45+
| `--narrowPeak` | `--narrow_peak` |
46+
| `--saveMACSPileup` | `--save_macs_pileup` |
47+
| `--skipDiffAnalysis` | `--skip_diff_analysis` |
48+
| `--skipFastQC` | `--skip_fastqc` |
49+
| `--skipPicardMetrics` | `--skip_picard_metrics` |
50+
| `--skipPreseq` | `--skip_preseq` |
51+
| `--skipPlotProfile` | `--skip_plot_profile` |
52+
| `--skipPlotFingerprint` | `--skip_plot_fingerprint` |
53+
| `--skipSpp` | `--skip_spp` |
54+
| `--skipIGV` | `--skip_igv` |
55+
| `--skipMultiQC` | `--skip_multiqc` |
3556

3657
## [1.0.0] - 2019-06-06
3758

Dockerfile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,12 @@ FROM nfcore/base:1.7
22
LABEL authors="Philip Ewels" \
33
description="Docker image containing all requirements for nf-core/chipseq pipeline"
44

5+
# Install the conda environment
56
COPY environment.yml /
67
RUN conda env create -f /environment.yml && conda clean -a
7-
RUN conda env export --name nf-core-chipseq-1.1.0 > nf-core-chipseq-1.1.0.yml
8+
9+
# Add conda installation dir to PATH (instead of doing 'conda activate')
810
ENV PATH /opt/conda/envs/nf-core-chipseq-1.1.0/bin:$PATH
11+
12+
# Dump the details of the installed packages to a file for posterity
13+
RUN conda env export --name nf-core-chipseq-1.1.0 > nf-core-chipseq-1.1.0.yml

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# ![nf-core/chipseq](docs/images/nf-core-chipseq_logo.png)
22

33
[![Build Status](https://travis-ci.com/nf-core/chipseq.svg?branch=master)](https://travis-ci.com/nf-core/chipseq)
4-
[![Nextflow](https://img.shields.io/badge/nextflow-%E2%89%A519.04.0-brightgreen.svg)](https://www.nextflow.io/)
4+
[![Nextflow](https://img.shields.io/badge/nextflow-%E2%89%A519.10.0-brightgreen.svg)](https://www.nextflow.io/)
55

66
[![install with bioconda](https://img.shields.io/badge/install%20with-bioconda-brightgreen.svg)](http://bioconda.github.io/)
77
[![Docker](https://img.shields.io/docker/automated/nfcore/chipseq.svg)](https://hub.docker.com/r/nfcore/chipseq/)

conf/base.config

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,3 @@ process {
4343
}
4444

4545
}
46-
47-
params {
48-
// Defaults only, expecting to be overwritten
49-
max_memory = 128.GB
50-
max_cpus = 16
51-
max_time = 240.h
52-
igenomes_base = 's3://ngi-igenomes/igenomes/'
53-
}

main.nf

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -256,17 +256,17 @@ summary['Working Dir'] = workflow.workDir
256256
summary['Script Dir'] = workflow.projectDir
257257
summary['User'] = workflow.userName
258258
if (workflow.profile == 'awsbatch') {
259-
summary['AWS Region'] = params.awsregion
260-
summary['AWS Queue'] = params.awsqueue
259+
summary['AWS Region'] = params.awsregion
260+
summary['AWS Queue'] = params.awsqueue
261261
}
262262
summary['Config Profile'] = workflow.profile
263263
if (params.config_profile_description) summary['Config Description'] = params.config_profile_description
264264
if (params.config_profile_contact) summary['Config Contact'] = params.config_profile_contact
265265
if (params.config_profile_url) summary['Config URL'] = params.config_profile_url
266266
if (params.email || params.email_on_fail) {
267-
summary['E-mail Address'] = params.email
268-
summary['E-mail on failure'] = params.email_on_fail
269-
summary['MultiQC Max Size'] = params.max_multiqc_email_size
267+
summary['E-mail Address'] = params.email
268+
summary['E-mail on failure'] = params.email_on_fail
269+
summary['MultiQC Max Size'] = params.max_multiqc_email_size
270270
}
271271
log.info summary.collect { k,v -> "${k.padRight(20)}: $v" }.join("\n")
272272
log.info "-\033[2m--------------------------------------------------\033[0m-"

nextflow.config

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ params {
6969
// Options: Other
7070
help = false
7171
outdir = './results'
72-
igenomes_base = "./iGenomes"
72+
igenomes_base = 's3://ngi-igenomes/igenomes/'
7373
igenomes_ignore = false
7474
max_multiqc_email_size = 25.MB
7575
tracedir = "${params.outdir}/pipeline_info"
@@ -81,6 +81,11 @@ params {
8181
hostnames = false
8282
clusterOptions = false
8383

84+
// Defaults only, expecting to be overwritten
85+
max_memory = 128.GB
86+
max_cpus = 16
87+
max_time = 240.h
88+
8489
}
8590

8691
// Container slug. Stable releases should specify release tag!
@@ -120,6 +125,11 @@ if (!params.igenomes_ignore) {
120125
// Increase time available to build conda environment
121126
conda { createTimeout = "60 min" }
122127

128+
// Export this variable to prevent local Python libraries from conflicting with those in the container
129+
env {
130+
PYTHONNOUSERSITE = 1
131+
}
132+
123133
// Capture exit codes from upstream processes when piping
124134
process.shell = ['/bin/bash', '-euo', 'pipefail']
125135

@@ -146,7 +156,7 @@ manifest {
146156
homePage = 'https://github.com/nf-core/chipseq'
147157
description = 'ChIP-seq peak-calling and differential analysis pipeline.'
148158
mainScript = 'main.nf'
149-
nextflowVersion = '>=19.04.0'
159+
nextflowVersion = '>=19.10.0'
150160
version = '1.1.0'
151161
}
152162

0 commit comments

Comments
 (0)