Skip to content

Commit 21be314

Browse files
authored
Merge pull request #114 from nf-core/dev
Dev > Master
2 parents 333bba3 + 3187a1d commit 21be314

29 files changed

+1284
-1320
lines changed

.github/CONTRIBUTING.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ We try to manage the required tasks for nf-core/chipseq using GitHub issues, you
66

77
However, don't be put off by this template - other more general issues and suggestions are welcome! Contributions to the code are even more welcome ;)
88

9-
> If you need help using or modifying nf-core/chipseq then the best place to ask is on the pipeline channel on [Slack](https://nf-core-invite.herokuapp.com/).
9+
> If you need help using or modifying nf-core/chipseq then the best place to ask is on the pipeline channel on [Slack](https://nf-co.re/join/slack/).
1010
1111

1212

@@ -26,13 +26,13 @@ If you're not used to this workflow with git, you can start with some [basic doc
2626

2727

2828
## Tests
29-
When you create a pull request with changes, [Travis CI](https://travis-ci.org/) will run automatic tests.
29+
When you create a pull request with changes, [Travis CI](https://travis-ci.com/) will run automatic tests.
3030
Typically, pull-requests are only fully reviewed when these tests are passing, though of course we can help out before then.
3131

3232
There are typically two types of tests that run:
3333

3434
### Lint Tests
35-
The nf-core has a [set of guidelines](http://nf-co.re/guidelines) which all pipelines must adhere to.
35+
The nf-core has a [set of guidelines](https://nf-co.re/developers/guidelines) which all pipelines must adhere to.
3636
To enforce these and ensure that all pipelines stay in sync, we have developed a helper tool which runs checks on the pipeline code. This is in the [nf-core/tools repository](https://github.com/nf-core/tools) and once installed can be run locally with the `nf-core lint <pipeline-directory>` command.
3737

3838
If any failures or warnings are encountered, please follow the listed URL for more documentation.
@@ -44,4 +44,4 @@ If there are any failures then the automated tests fail.
4444
These tests are run both with the latest available version of Nextflow and also the minimum required version that is stated in the pipeline code.
4545

4646
## Getting help
47-
For further information/help, please consult the [nf-core/chipseq documentation](https://github.com/nf-core/chipseq#documentation) and don't hesitate to get in touch on the pipeline channel on [Slack](https://nf-core-invite.herokuapp.com/).
47+
For further information/help, please consult the [nf-core/chipseq documentation](https://github.com/nf-core/chipseq#documentation) and don't hesitate to get in touch on the [nf-core/chipseq pipeline channel](https://nfcore.slack.com/channels/chipseq) on [Slack](https://nf-co.re/join/slack/).

.github/markdownlint.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
# Markdownlint configuration file
22
default: true,
33
line-length: false
4-
no-multiple-blanks: 0
5-
blanks-around-headers: false
6-
blanks-around-lists: false
7-
header-increment: false
84
no-duplicate-header:
95
siblings_only: true

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ matrix:
99

1010
before_install:
1111
# PRs to master are only ok if coming from dev branch
12-
- '[ $TRAVIS_PULL_REQUEST = "false" ] || [ $TRAVIS_BRANCH != "master" ] || ([ $TRAVIS_PULL_REQUEST_SLUG = $TRAVIS_REPO_SLUG ] && [ $TRAVIS_PULL_REQUEST_BRANCH = "dev" ])'
12+
- '[ $TRAVIS_PULL_REQUEST = "false" ] || [ $TRAVIS_BRANCH != "master" ] || ([ $TRAVIS_PULL_REQUEST_SLUG = $TRAVIS_REPO_SLUG ] && ([ $TRAVIS_PULL_REQUEST_BRANCH = "dev" ] || [ $TRAVIS_PULL_REQUEST_BRANCH = "patch" ]))'
1313
# Pull the docker image first so the test doesn't wait for this
1414
- docker pull nfcore/chipseq:dev
1515
# Fake the tag locally so that the pipeline runs properly
1616
# Looks weird when this is :dev to :dev, but makes sense when testing code for a release (:dev to :1.0.1)
17-
- docker tag nfcore/chipseq:dev nfcore/chipseq:1.0.0
17+
- docker tag nfcore/chipseq:dev nfcore/chipseq:1.1.0
1818

1919
install:
2020
# Install Nextflow
@@ -30,7 +30,7 @@ install:
3030
- sudo apt-get install npm && npm install -g markdownlint-cli
3131

3232
env:
33-
- NXF_VER='0.32.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:
@@ -39,4 +39,4 @@ script:
3939
# Lint the documentation
4040
- markdownlint ${TRAVIS_BUILD_DIR} -c ${TRAVIS_BUILD_DIR}/.github/markdownlint.yml
4141
# Run the pipeline with the test profile
42-
- nextflow run ${TRAVIS_BUILD_DIR} -profile test,docker
42+
- nextflow run ${TRAVIS_BUILD_DIR} -profile test,docker -ansi-log false

CHANGELOG.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,55 @@ 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-05
9+
10+
### `Added`
11+
12+
* [#46](https://github.com/nf-core/atacseq/issues/46) - Missing gene_bed path in igenomes config
13+
* Update template to tools `1.7`
14+
* Add `--trim_nextseq` parameter
15+
* Add `CITATIONS.md` file
16+
* Capitalised process names
17+
18+
### `Fixed`
19+
20+
* **Change all parameters from `camelCase` to `snake_case` (see [Deprecated](#Deprecated))**
21+
* [#44](https://github.com/nf-core/atacseq/issues/44) - Output directory missing: macs2/consensus/deseq2
22+
* [#45](https://github.com/nf-core/atacseq/issues/45) - Wrong x-axis scale for the HOMER: Peak annotation Counts tab plot?
23+
* [#46](https://github.com/nf-core/atacseq/issues/46) - Stage blacklist file in channel properly
24+
* [#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
26+
* Increase default resource requirements in `base.config`
27+
* Increase process-specific requirements based on user-reported failures
28+
29+
### `Dependencies`
30+
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` |
56+
857
## [1.0.0] - 2019-06-06
958

1059
Initial release of nf-core/chipseq pipeline.

CITATIONS.md

Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
# nf-core/chipseq: Citations
2+
3+
## Pipeline tools
4+
5+
* [Nextflow](https://www.ncbi.nlm.nih.gov/pubmed/28398311/)
6+
> Di Tommaso P, Chatzou M, Floden EW, Barja PP, Palumbo E, Notredame C. Nextflow enables reproducible computational workflows. Nat Biotechnol. 2017 Apr 11;35(4):316-319. doi: 10.1038/nbt.3820. PubMed PMID: 28398311.
7+
8+
* [BWA](https://www.ncbi.nlm.nih.gov/pubmed/19451168/)
9+
> Li H, Durbin R. Fast and accurate short read alignment with Burrows-Wheeler transform. Bioinformatics. 2009 Jul 15;25(14):1754-60. doi: 10.1093/bioinformatics/btp324. Epub 2009 May 18. PubMed PMID: 19451168; PubMed Central PMCID: PMC2705234.
10+
11+
* [BEDTools](https://www.ncbi.nlm.nih.gov/pubmed/20110278/)
12+
> Quinlan AR, Hall IM. BEDTools: a flexible suite of utilities for comparing genomic features. Bioinformatics. 2010 Mar 15;26(6):841-2. doi: 10.1093/bioinformatics/btq033. Epub 2010 Jan 28. PubMed PMID: 20110278; PubMed Central PMCID: PMC2832824.
13+
14+
* [SAMtools](https://www.ncbi.nlm.nih.gov/pubmed/19505943/)
15+
> Li H, Handsaker B, Wysoker A, Fennell T, Ruan J, Homer N, Marth G, Abecasis G, Durbin R; 1000 Genome Project Data Processing Subgroup. The Sequence Alignment/Map format and SAMtools. Bioinformatics. 2009 Aug 15;25(16):2078-9. doi: 10.1093/bioinformatics/btp352. Epub 2009 Jun 8. PubMed PMID: 19505943; PubMed Central PMCID: PMC2723002.
16+
17+
* [BamTools](https://www.ncbi.nlm.nih.gov/pubmed/21493652/)
18+
> Barnett DW, Garrison EK, Quinlan AR, Strömberg MP, Marth GT. BamTools: a C++ API and toolkit for analyzing and managing BAM files. Bioinformatics. 2011 Jun 15;27(12):1691-2. doi: 10.1093/bioinformatics/btr174. Epub 2011 Apr 14. PubMed PMID: 21493652; PubMed Central PMCID: PMC3106182.
19+
20+
* [UCSC tools](https://www.ncbi.nlm.nih.gov/pubmed/20639541/)
21+
> Kent WJ, Zweig AS, Barber G, Hinrichs AS, Karolchik D. BigWig and BigBed: enabling browsing of large distributed datasets. Bioinformatics. 2010 Sep 1;26(17):2204-7. doi: 10.1093/bioinformatics/btq351. Epub 2010 Jul 17. PubMed PMID: 20639541; PubMed Central PMCID: PMC2922891.
22+
23+
* [preseq](https://www.ncbi.nlm.nih.gov/pubmed/23435259/)
24+
> Daley T, Smith AD. Predicting the molecular complexity of sequencing libraries. Nat Methods. 2013 Apr;10(4):325-7. doi: 10.1038/nmeth.2375. Epub 2013 Feb 24. PubMed PMID: 23435259; PubMed Central PMCID: PMC3612374.
25+
26+
* [deepTools](https://www.ncbi.nlm.nih.gov/pubmed/27079975/)
27+
> Ramírez F, Ryan DP, Grüning B, Bhardwaj V, Kilpert F, Richter AS, Heyne S, Dündar F, Manke T. deepTools2: a next generation web server for deep-sequencing data analysis. Nucleic Acids Res. 2016 Jul 8;44(W1):W160-5. doi: 10.1093/nar/gkw257. Epub 2016 Apr 13. PubMed PMID: 27079975; PubMed Central PMCID: PMC4987876.
28+
29+
* [MACS2](https://www.ncbi.nlm.nih.gov/pubmed/18798982/)
30+
> Zhang Y, Liu T, Meyer CA, Eeckhoute J, Johnson DS, Bernstein BE, Nusbaum C, Myers RM, Brown M, Li W, Liu XS. Model-based analysis of ChIP-Seq (MACS). Genome Biol. 2008;9(9):R137. doi: 10.1186/gb-2008-9-9-r137. Epub 2008 Sep 17. PubMed PMID: 18798982; PubMed Central PMCID: PMC2592715.
31+
32+
* [HOMER](https://www.ncbi.nlm.nih.gov/pubmed/20513432/)
33+
> Heinz S, Benner C, Spann N, Bertolino E, Lin YC, Laslo P, Cheng JX, Murre C, Singh H, Glass CK. Simple combinations of lineage-determining transcription factors prime cis-regulatory elements required for macrophage and B cell identities. Mol Cell. 2010 May 28;38(4):576-89. doi: 10.1016/j.molcel.2010.05.004. PubMed PMID: 20513432; PubMed Central PMCID: PMC2898526.
34+
35+
* [phantompeakqualtools](https://www.ncbi.nlm.nih.gov/pubmed/22955991/)
36+
> Landt SG, Marinov GK, Kundaje A, Kheradpour P, Pauli F, Batzoglou S, Bernstein BE, Bickel P, Brown JB, Cayting P, Chen Y, DeSalvo G, Epstein C, Fisher-Aylor KI, Euskirchen G, Gerstein M, Gertz J, Hartemink AJ, Hoffman MM, Iyer VR, Jung YL, Karmakar S, Kellis M, Kharchenko PV, Li Q, Liu T, Liu XS, Ma L, Milosavljevic A, Myers RM, Park PJ, Pazin MJ, Perry MD, Raha D, Reddy TE, Rozowsky J, Shoresh N, Sidow A, Slattery M, Stamatoyannopoulos JA, Tolstorukov MY, White KP, Xi S, Farnham PJ, Lieb JD, Wold BJ, Snyder M. ChIP-seq guidelines and practices of the ENCODE and modENCODE consortia. Genome Res. 2012 Sep;22(9):1813-31. doi: 10.1101/gr.136184.111. PubMed PMID: 22955991; PubMed Central PMCID: PMC3431496.
37+
38+
* [featureCounts](https://www.ncbi.nlm.nih.gov/pubmed/24227677/)
39+
> Liao Y, Smyth GK, Shi W. featureCounts: an efficient general purpose program for assigning sequence reads to genomic features. Bioinformatics. 2014 Apr 1;30(7):923-30. doi: 10.1093/bioinformatics/btt656. Epub 2013 Nov 13. PubMed PMID: 24227677.
40+
41+
* [MultiQC](https://www.ncbi.nlm.nih.gov/pubmed/27312411/)
42+
> Ewels P, Magnusson M, Lundin S, Käller M. MultiQC: summarize analysis results for multiple tools and samples in a single report. Bioinformatics. 2016 Oct 1;32(19):3047-8. doi: 10.1093/bioinformatics/btw354. Epub 2016 Jun 16. PubMed PMID: 27312411; PubMed Central PMCID: PMC5039924.
43+
44+
* [FastQC](https://www.bioinformatics.babraham.ac.uk/projects/fastqc/)
45+
46+
* [Trim Galore!](https://www.bioinformatics.babraham.ac.uk/projects/trim_galore/)
47+
48+
* [picard-tools](http://broadinstitute.github.io/picard)
49+
50+
* [pysam](https://github.com/pysam-developers/pysam)
51+
52+
## R packages
53+
54+
* [R](https://www.R-project.org/)
55+
> R Core Team (2017). R: A language and environment for statistical computing. R Foundation for Statistical Computing, Vienna, Austria.
56+
57+
* [DESeq2](https://www.ncbi.nlm.nih.gov/pubmed/25516281/)
58+
> Love MI, Huber W, Anders S. Moderated estimation of fold change and dispersion for RNA-seq data with DESeq2. Genome Biol. 2014;15(12):550. PubMed PMID: 25516281; PubMed Central PMCID: PMC4302049.
59+
60+
* [vsn](https://bioconductor.org/packages/release/bioc/html/vsn.html)
61+
> Wolfgang Huber, Anja von Heydebreck, Holger Sueltmann, Annemarie Poustka and Martin Vingron. Variance Stabilization Applied to Microarray Data Calibration and to the Quantification of Differential Expression. Bioinformatics 18, S96-S104 (2002).
62+
63+
* [UpSetR](https://CRAN.R-project.org/package=UpSetR)
64+
> Nils Gehlenborg (2017). UpSetR: A More Scalable Alternative to Venn and Euler Diagrams for Visualizing Intersecting Sets.
65+
66+
* [ggplot2](https://cran.r-project.org/web/packages/ggplot2/index.html)
67+
> H. Wickham. ggplot2: Elegant Graphics for Data Analysis. Springer-Verlag New York, 2016.
68+
69+
* [reshape2](http://www.jstatsoft.org/v21/i12/)
70+
> Hadley Wickham (2007). Reshaping Data with the reshape Package. Journal of Statistical Software, 21(12), 1-20.
71+
72+
* [scales](https://CRAN.R-project.org/package=scales)
73+
> Hadley Wickham (2018). scales: Scale Functions for Visualization.
74+
75+
* [pheatmap](https://CRAN.R-project.org/package=pheatmap)
76+
> Raivo Kolde (2018). pheatmap: Pretty Heatmaps.
77+
78+
* [lattice](https://cran.r-project.org/web/packages/lattice/index.html)
79+
> Sarkar, Deepayan (2008) Lattice: Multivariate Data Visualization with R. Springer, New York. ISBN 978-0-387-75968-5.
80+
81+
* [RColorBrewer](https://CRAN.R-project.org/package=RColorBrewer)
82+
> Erich Neuwirth (2014). RColorBrewer: ColorBrewer Palettes.
83+
84+
* [optparse](https://CRAN.R-project.org/package=optparse)
85+
> Trevor L Davis (2018). optparse: Command Line Option Parser.
86+
87+
* [xfun](https://CRAN.R-project.org/package=xfun)
88+
> Yihui Xie (2018). xfun: Miscellaneous Functions by 'Yihui Xie'.
89+
90+
## Software packaging/containerisation tools
91+
92+
* [Bioconda](https://www.ncbi.nlm.nih.gov/pubmed/29967506/)
93+
> Grüning B, Dale R, Sjödin A, Chapman BA, Rowe J, Tomkins-Tinch CH, Valieris R, Köster J; Bioconda Team. Bioconda: sustainable and comprehensive software distribution for the life sciences. Nat Methods. 2018 Jul;15(7):475-476. doi: 10.1038/s41592-018-0046-7. PubMed PMID: 29967506.
94+
95+
* [Anaconda](https://anaconda.com)
96+
> Anaconda Software Distribution. Computer software. Vers. 2-2.4.0. Anaconda, Nov. 2016. Web.
97+
98+
* [Singularity](https://www.ncbi.nlm.nih.gov/pubmed/28494014/)
99+
> Kurtzer GM, Sochat V, Bauer MW. Singularity: Scientific containers for mobility of compute. PLoS One. 2017 May 11;12(5):e0177459. doi: 10.1371/journal.pone.0177459. eCollection 2017. PubMed PMID: 28494014; PubMed Central PMCID: PMC5426675.
100+
101+
* [Docker](https://www.docker.com/)

CODE_OF_CONDUCT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ This Code of Conduct applies both within project spaces and in public spaces whe
3434

3535
## Enforcement
3636

37-
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team on [Slack](https://nf-core-invite.herokuapp.com/). The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
37+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team on [Slack](https://nf-co.re/join/slack/). The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
3838

3939
Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
4040

Dockerfile

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
1-
FROM nfcore/base
1+
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-
ENV PATH /opt/conda/envs/nf-core-chipseq-1.0.0/bin:$PATH
8+
9+
# Add conda installation dir to PATH (instead of doing 'conda activate')
10+
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

0 commit comments

Comments
 (0)