Skip to content

Commit 1683f39

Browse files
authored
Merge pull request #302 from nf-core/nf-core-template-merge-2.5.1
Important! Template update for nf-core/tools v2.5.1
2 parents ef3ffb3 + 9204c7d commit 1683f39

File tree

23 files changed

+514
-291
lines changed

23 files changed

+514
-291
lines changed

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ trim_trailing_whitespace = true
88
indent_size = 4
99
indent_style = space
1010

11-
[*.{md,yml,yaml,html,css,scss,js}]
11+
[*.{md,yml,yaml,html,css,scss,js,cff}]
1212
indent_size = 2
1313

1414
# These files are edited and tested upstream in nf-core/modules

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,9 @@ Learn more about contributing: [CONTRIBUTING.md](https://github.com/nf-core/chip
1515

1616
- [ ] This comment contains a description of changes (with reason).
1717
- [ ] If you've fixed a bug or added code that should be tested, add tests!
18-
- [ ] If you've added a new tool - have you followed the pipeline conventions in the [contribution docs](https://github.com/nf-core/chipseq/tree/master/.github/CONTRIBUTING.md)
19-
- [ ] If necessary, also make a PR on the nf-core/chipseq _branch_ on the [nf-core/test-datasets](https://github.com/nf-core/test-datasets) repository.
18+
- [ ] If you've added a new tool - have you followed the pipeline conventions in the [contribution docs](https://github.com/nf-core/chipseq/tree/master/.github/CONTRIBUTING.md)- [ ] If necessary, also make a PR on the nf-core/chipseq _branch_ on the [nf-core/test-datasets](https://github.com/nf-core/test-datasets) repository.
2019
- [ ] Make sure your code lints (`nf-core lint`).
21-
- [ ] Ensure the test suite passes (`nextflow run . -profile test,docker` --outdir <OUTDIR>`).
20+
- [ ] Ensure the test suite passes (`nextflow run . -profile test,docker --outdir <OUTDIR>`).
2221
- [ ] Usage Documentation in `docs/usage.md` is updated.
2322
- [ ] Output Documentation in `docs/output.md` is updated.
2423
- [ ] `CHANGELOG.md` is updated.

.github/workflows/ci.yml

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ on:
1010

1111
env:
1212
NXF_ANSI_LOG: false
13-
CAPSULE_LOG: none
1413

1514
jobs:
1615
test:
@@ -20,27 +19,17 @@ jobs:
2019
runs-on: ubuntu-latest
2120
strategy:
2221
matrix:
23-
# Nextflow versions
24-
include:
25-
# Test pipeline minimum Nextflow version
26-
- NXF_VER: "21.10.3"
27-
NXF_EDGE: ""
28-
# Test latest edge release of Nextflow
29-
- NXF_VER: ""
30-
NXF_EDGE: "1"
22+
NXF_VER:
23+
- "21.10.3"
24+
- "latest-everything"
3125
steps:
3226
- name: Check out pipeline code
3327
uses: actions/checkout@v2
3428

3529
- name: Install Nextflow
36-
env:
37-
NXF_VER: ${{ matrix.NXF_VER }}
38-
# Uncomment only if the edge release is more recent than the latest stable release
39-
# See https://github.com/nextflow-io/nextflow/issues/2467
40-
# NXF_EDGE: ${{ matrix.NXF_EDGE }}
41-
run: |
42-
wget -qO- get.nextflow.io | bash
43-
sudo mv nextflow /usr/local/bin/
30+
uses: nf-core/setup-nextflow@v1
31+
with:
32+
version: "${{ matrix.NXF_VER }}"
4433

4534
- name: Run pipeline with test data
4635
run: |

.github/workflows/linting.yml

Lines changed: 32 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,22 +35,48 @@ jobs:
3535
- name: Run Prettier --check
3636
run: prettier --check ${GITHUB_WORKSPACE}
3737

38+
PythonBlack:
39+
runs-on: ubuntu-latest
40+
steps:
41+
- uses: actions/checkout@v2
42+
43+
- name: Check code lints with Black
44+
uses: psf/black@stable
45+
46+
# If the above check failed, post a comment on the PR explaining the failure
47+
- name: Post PR comment
48+
if: failure()
49+
uses: mshick/add-pr-comment@v1
50+
with:
51+
message: |
52+
## Python linting (`black`) is failing
53+
54+
To keep the code consistent with lots of contributors, we run automated code consistency checks.
55+
To fix this CI test, please run:
56+
57+
* Install [`black`](https://black.readthedocs.io/en/stable/): `pip install black`
58+
* Fix formatting errors in your pipeline: `black .`
59+
60+
Once you push these changes the test should pass, and you can hide this comment :+1:
61+
62+
We highly recommend setting up Black in your code editor so that this formatting is done automatically on save. Ask about it on Slack for help!
63+
64+
Thanks again for your contribution!
65+
repo-token: ${{ secrets.GITHUB_TOKEN }}
66+
allow-repeats: false
67+
3868
nf-core:
3969
runs-on: ubuntu-latest
4070
steps:
4171
- name: Check out pipeline code
4272
uses: actions/checkout@v2
4373

4474
- name: Install Nextflow
45-
env:
46-
CAPSULE_LOG: none
47-
run: |
48-
wget -qO- get.nextflow.io | bash
49-
sudo mv nextflow /usr/local/bin/
75+
uses: nf-core/setup-nextflow@v1
5076

5177
- uses: actions/setup-python@v3
5278
with:
53-
python-version: "3.6"
79+
python-version: "3.7"
5480
architecture: "x64"
5581

5682
- name: Install dependencies

.nf-core.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1 @@
11
repository_type: pipeline
2-
lint:
3-
files_unchanged:
4-
- .github/workflows/branch.yml
5-
- .github/workflows/linting_comment.yml
6-
- .github/workflows/linting.yml
7-
- .github/PULL_REQUEST_TEMPLATE.md
8-
- bin/check_samplesheet.py

CHANGELOG.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
44
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
55

6-
## [2.0.0] - 2022-08-11
6+
## [[2.0.0](https://github.com/nf-core/chipseq/releases/tag/2.0.0)] - 2022-09-30
77

88
### Enhancements & fixes
99

1010
- Pipeline has been re-implemented in [Nextflow DSL2](https://www.nextflow.io/docs/latest/dsl2.html)
1111
- All software containers are now exclusively obtained from [Biocontainers](https://biocontainers.pro/#/registry)
12-
- Updated pipeline template to [nf-core/tools 2.4.1](https://github.com/nf-core/tools/releases/tag/2.4.1)
12+
- Updated pipeline template to [nf-core/tools 2.5.1](https://github.com/nf-core/tools/releases/tag/2.5.1)
1313
- [[#128](https://github.com/nf-core/chipseq/issues/128)] - Filter files with no peaks to avoid errors in downstream processes
1414
- [[#220](https://github.com/nf-core/chipseq/issues/220)] - Fix `phantompeakqualtools` protection stack overflow error
1515
- [[#233](https://github.com/nf-core/chipseq/issues/233)] - Add `chromap` to the available aligners
@@ -88,7 +88,7 @@ Note, since the pipeline is now using Nextflow DSL2, each process will be run wi
8888
> **NB:** Dependency has been **added** if just the new version information is present.
8989
> **NB:** Dependency has been **removed** if version information isn't present.
9090
91-
## [1.2.2] - 2021-04-22
91+
## [[1.2.2](https://github.com/nf-core/chipseq/releases/tag/1.2.2)] - 2021-04-22
9292

9393
- [#206](https://github.com/nf-core/chipseq/issues/206) - Minor patch release to fix Conda environment
9494

@@ -97,11 +97,11 @@ Note, since the pipeline is now using Nextflow DSL2, each process will be run wi
9797
- Update r-base `3.6.2` -> `3.6.3`
9898
- Update r-xfun `0.15` -> `0.20`
9999

100-
## [1.2.1] - 2020-07-29
100+
## [[1.2.1](https://github.com/nf-core/chipseq/releases/tag/1.2.1)] - 2020-07-29
101101

102102
- [#171](https://github.com/nf-core/chipseq/issues/171) - Minor patch release to update pipeline schema
103103

104-
## [1.2.0] - 2020-07-02
104+
## [[1.2.0](https://github.com/nf-core/chipseq/releases/tag/1.2.0)] - 2020-07-02
105105

106106
### `Added`
107107

@@ -179,7 +179,7 @@ Note, since the pipeline is now using Nextflow DSL2, each process will be run wi
179179
- Update trim-galore `0.5.0` -> `0.6.5`
180180
- Update ucsc-bedgraphtobigwig `377` -> `357`
181181

182-
## [1.1.0] - 2019-11-05
182+
## [[1.1.0](https://github.com/nf-core/chipseq/releases/tag/1.1.0)] - 2019-11-05
183183

184184
### `Added`
185185

@@ -228,7 +228,7 @@ Note, since the pipeline is now using Nextflow DSL2, each process will be run wi
228228
| `--skipIGV` | `--skip_igv` |
229229
| `--skipMultiQC` | `--skip_multiqc` |
230230

231-
## [1.0.0] - 2019-06-06
231+
## [[1.0.0](https://github.com/nf-core/chipseq/releases/tag/1.0.0)] - 2019-06-06
232232

233233
Initial release of nf-core/chipseq pipeline.
234234

CITATION.cff

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
cff-version: 1.2.0
2+
message: "If you use `nf-core tools` in your work, please cite the `nf-core` publication"
3+
authors:
4+
- family-names: Ewels
5+
given-names: Philip
6+
- family-names: Peltzer
7+
given-names: Alexander
8+
- family-names: Fillinger
9+
given-names: Sven
10+
- family-names: Patel
11+
given-names: Harshil
12+
- family-names: Alneberg
13+
given-names: Johannes
14+
- family-names: Wilm
15+
given-names: Andreas
16+
- family-names: Ulysse Garcia
17+
given-names: Maxime
18+
- family-names: Di Tommaso
19+
given-names: Paolo
20+
- family-names: Nahnsen
21+
given-names: Sven
22+
title: "The nf-core framework for community-curated bioinformatics pipelines."
23+
version: 2.4.1
24+
doi: 10.1038/s41587-020-0439-x
25+
date-released: 2022-05-16
26+
url: https://github.com/nf-core/tools
27+
prefered-citation:
28+
type: article
29+
authors:
30+
- family-names: Ewels
31+
given-names: Philip
32+
- family-names: Peltzer
33+
given-names: Alexander
34+
- family-names: Fillinger
35+
given-names: Sven
36+
- family-names: Patel
37+
given-names: Harshil
38+
- family-names: Alneberg
39+
given-names: Johannes
40+
- family-names: Wilm
41+
given-names: Andreas
42+
- family-names: Ulysse Garcia
43+
given-names: Maxime
44+
- family-names: Di Tommaso
45+
given-names: Paolo
46+
- family-names: Nahnsen
47+
given-names: Sven
48+
doi: 10.1038/s41587-020-0439-x
49+
journal: nature biotechnology
50+
start: 276
51+
end: 278
52+
title: "The nf-core framework for community-curated bioinformatics pipelines."
53+
issue: 3
54+
volume: 38
55+
year: 2020
56+
url: https://dx.doi.org/10.1038/s41587-020-0439-x

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) Philip Ewels, Jose Espinosa-Carrasco, Harshil Patel
3+
Copyright (c) Espinosa-Carrasco J, Patel H, Wang C, Ewels P
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,14 @@
11
# ![nf-core/chipseq](docs/images/nf-core-chipseq_logo_light.png#gh-light-mode-only) ![nf-core/chipseq](docs/images/nf-core-chipseq_logo_dark.png#gh-dark-mode-only)
22

3-
[![GitHub Actions CI Status](https://github.com/nf-core/chipseq/workflows/nf-core%20CI/badge.svg)](https://github.com/nf-core/chipseq/actions?query=workflow%3A%22nf-core+CI%22)
4-
[![GitHub Actions Linting Status](https://github.com/nf-core/chipseq/workflows/nf-core%20linting/badge.svg)](https://github.com/nf-core/chipseq/actions?query=workflow%3A%22nf-core+linting%22)
5-
[![AWS CI](https://img.shields.io/badge/CI%20tests-full%20size-FF9900?logo=Amazon%20AWS)](https://nf-co.re/chipseq/results)
6-
[![Cite with Zenodo](http://img.shields.io/badge/DOI-10.5281/zenodo.-1073c8)](https://doi.org/10.5281/zenodo.3240506)
3+
[![AWS CI](https://img.shields.io/badge/CI%20tests-full%20size-FF9900?labelColor=000000&logo=Amazon%20AWS)](https://nf-co.re/chipseq/results)[![Cite with Zenodo](http://img.shields.io/badge/DOI-10.5281/zenodo.3240506-1073c8?labelColor=000000)](https://doi.org/10.5281/zenodo.3240506)
74

85
[![Nextflow](https://img.shields.io/badge/nextflow%20DSL2-%E2%89%A521.10.3-23aa62.svg)](https://www.nextflow.io/)
9-
[![run with conda](http://img.shields.io/badge/run%20with-conda-3EB049?logo=anaconda)](https://docs.conda.io/en/latest/)
10-
[![run with docker](https://img.shields.io/badge/run%20with-docker-0db7ed?logo=docker)](https://www.docker.com/)
11-
[![run with singularity](https://img.shields.io/badge/run%20with-singularity-1d355c.svg)](https://sylabs.io/docs/)
6+
[![run with conda](http://img.shields.io/badge/run%20with-conda-3EB049?labelColor=000000&logo=anaconda)](https://docs.conda.io/en/latest/)
7+
[![run with docker](https://img.shields.io/badge/run%20with-docker-0db7ed?labelColor=000000&logo=docker)](https://www.docker.com/)
8+
[![run with singularity](https://img.shields.io/badge/run%20with-singularity-1d355c.svg?labelColor=000000)](https://sylabs.io/docs/)
129
[![Launch on Nextflow Tower](https://img.shields.io/badge/Launch%20%F0%9F%9A%80-Nextflow%20Tower-%234256e7)](https://tower.nf/launch?pipeline=https://github.com/nf-core/chipseq)
1310

14-
[![Get help on Slack](http://img.shields.io/badge/slack-nf--core%20%23chipseq-4A154B?logo=slack)](https://nfcore.slack.com/channels/chipseq)
15-
[![Follow on Twitter](http://img.shields.io/badge/twitter-%40nf__core-1DA1F2?logo=twitter)](https://twitter.com/nf_core)
16-
[![Watch on YouTube](http://img.shields.io/badge/youtube-nf--core-FF0000?logo=youtube)](https://www.youtube.com/c/nf-core)
11+
[![Get help on Slack](http://img.shields.io/badge/slack-nf--core%20%23chipseq-4A154B?labelColor=000000&logo=slack)](https://nfcore.slack.com/channels/chipseq)[![Follow on Twitter](http://img.shields.io/badge/twitter-%40nf__core-1DA1F2?labelColor=000000&logo=twitter)](https://twitter.com/nf_core)[![Watch on YouTube](http://img.shields.io/badge/youtube-nf--core-FF0000?labelColor=000000&logo=youtube)](https://www.youtube.com/c/nf-core)
1712

1813
## Introduction
1914

assets/email_template.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
`._,._,'
77
nf-core/chipseq v${version}
88
----------------------------------------------------
9-
109
Run Name: $runName
1110

1211
<% if (success){

0 commit comments

Comments
 (0)