Skip to content

Commit b8d3dec

Browse files
authored
Merge pull request #223 from nf-core/dev
PR for 2.0.7 release - please merge ASAP
2 parents bc55df3 + 406b088 commit b8d3dec

30 files changed

Lines changed: 1390 additions & 657 deletions

.github/CONTRIBUTING.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ We try to manage the required tasks for nf-core/eager using GitHub issues, you p
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/eager then the best place to go is the Gitter chatroom where you can ask us questions directly: https://gitter.im/nf-core/Lobby
9+
> If you need help using or modifying nf-core/eager then the best place to ask is on the pipeline channel on [Slack](https://nf-core-invite.herokuapp.com/).
10+
11+
1012

1113
## Contribution workflow
1214
If you'd like to write some code for nf-core/eager, the standard workflow
@@ -30,7 +32,7 @@ Typically, pull-requests are only fully reviewed when these tests are passing, t
3032
There are typically two types of tests that run:
3133

3234
### Lint Tests
33-
The nf-core has a [set of guidelines](http://nf-co.re/developer_docs) which all pipelines must adhere to.
35+
The nf-core has a [set of guidelines](http://nf-co.re/guidelines) which all pipelines must adhere to.
3436
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.
3537

3638
If any failures or warnings are encountered, please follow the listed URL for more documentation.
@@ -42,4 +44,4 @@ If there are any failures then the automated tests fail.
4244
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.
4345

4446
## Getting help
45-
For further information/help, please consult the [nf-core/eager documentation](https://github.com/nf-core/eager#documentation) and don't hesitate to get in touch on [Gitter](https://gitter.im/nf-core/Lobby)
47+
For further information/help, please consult the [nf-core/eager documentation](https://github.com/nf-core/eager#documentation) and don't hesitate to get in touch on the pipeline channel on [Slack](https://nf-core-invite.herokuapp.com/).

.github/markdownlint.yml

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

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ data/
44
results/
55
.DS_Store
66
tests/test_data
7+
*.pyc

.travis.yml

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,25 @@ before_install:
1313
# Pull the docker image first so the test doesn't wait for this
1414
- docker pull nfcore/eager:dev
1515
# Fake the tag locally so that the pipeline runs properly
16-
- docker tag nfcore/eager:dev nfcore/eager:2.0.6
16+
# 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/eager:dev nfcore/eager:2.0.7
1718

1819
install:
1920
# Install Nextflow
2021
- mkdir /tmp/nextflow && cd /tmp/nextflow
2122
- wget -qO- get.nextflow.io | bash
2223
- sudo ln -s /tmp/nextflow/nextflow /usr/local/bin/nextflow
2324
# Install nf-core/tools
25+
- pip install --upgrade pip
2426
- pip install nf-core
2527
# Install Conda
2628
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
2729
- bash Miniconda3-latest-Linux-x86_64.sh -b -f -p $HOME/miniconda
2830
- export PATH="$HOME/miniconda/bin:$PATH"
2931
# Reset
3032
- mkdir ${TRAVIS_BUILD_DIR}/tests && cd ${TRAVIS_BUILD_DIR}/tests
33+
# Install markdownlint-cli
34+
- sudo apt-get install npm && npm install -g markdownlint-cli
3135

3236
env:
3337
- NXF_VER='0.32.0' # Specify a minimum NF version that should be tested and work
@@ -38,23 +42,32 @@ script:
3842
- nf-core lint ${TRAVIS_BUILD_DIR}
3943
# Run the basic pipeline with the test profile
4044
- nextflow run ${TRAVIS_BUILD_DIR} -profile test,docker --pairedEnd --saveReference
45+
# Test using PMD tools
46+
- nextflow run ${TRAVIS_BUILD_DIR} -profile test,docker --run_pmdtools --pairedEnd
4147
# Run the basic pipeline with single end data (pretending its single end actually)
42-
- nextflow run ${TRAVIS_BUILD_DIR} -profile test,docker --singleEnd --bwa_index results/reference_genome/bwa_index/bwa_index/
48+
- nextflow run ${TRAVIS_BUILD_DIR} -profile test,docker --singleEnd --bwa_index results/reference_genome/bwa_index/BWAIndex/Mammoth_MT_Krause.fasta
4349
# Run the basic pipeline with paired end data without collapsing
4450
- nextflow run ${TRAVIS_BUILD_DIR} -profile test,docker --pairedEnd --skip_collapse --saveReference
4551
# Run the basic pipeline with paired end data without trimming
4652
- nextflow run ${TRAVIS_BUILD_DIR} -profile test,docker --pairedEnd --skip_trim --saveReference
4753
# Run the basic pipeline with paired end data without adapterRemoval
4854
- nextflow run ${TRAVIS_BUILD_DIR} -profile test,docker --pairedEnd --skip_adapterremoval --saveReference
55+
# Run the basic pipeline with output unmapped reads as fastq
56+
- nextflow run ${TRAVIS_BUILD_DIR} -profile test,docker --pairedEnd --strip_input_fastq
4957
# Run the same pipeline testing optional step: fastp, complexity
50-
- nextflow run ${TRAVIS_BUILD_DIR} -profile test,docker --pairedEnd --complexity_filter --bwa_index results/reference_genome/bwa_index/bwa_index/
58+
- nextflow run ${TRAVIS_BUILD_DIR} -profile test,docker --pairedEnd --complexity_filter --bwa_index results/reference_genome/bwa_index/BWAIndex/Mammoth_MT_Krause.fasta
5159
# Test BAM Trimming
52-
- nextflow run ${TRAVIS_BUILD_DIR} -profile test,docker --pairedEnd --trim_bam --bwa_index results/reference_genome/bwa_index/bwa_index/
60+
- nextflow run ${TRAVIS_BUILD_DIR} -profile test,docker --pairedEnd --trim_bam --bwa_index results/reference_genome/bwa_index/BWAIndex/Mammoth_MT_Krause.fasta
5361
# Test running with CircularMapper
5462
- nextflow run ${TRAVIS_BUILD_DIR} -profile test,docker --pairedEnd --circularmapper --circulartarget 'NC_007596.2'
5563
# Test running with BWA Mem
56-
- nextflow run ${TRAVIS_BUILD_DIR} -profile test,docker --pairedEnd --bwamem --bwa_index results/reference_genome/bwa_index/bwa_index/
64+
- nextflow run ${TRAVIS_BUILD_DIR} -profile test,docker --pairedEnd --bwamem --bwa_index results/reference_genome/bwa_index/BWAIndex/Mammoth_MT_Krause.fasta
5765
# Test with zipped reference input
5866
- nextflow run ${TRAVIS_BUILD_DIR} -profile test,docker --pairedEnd --fasta 'https://raw.githubusercontent.com/nf-core/test-datasets/eager2/reference/Test.fasta.gz'
5967
# Run the basic pipeline with the bam input profile
6068
- nextflow run ${TRAVIS_BUILD_DIR} -profile testbam,docker --bam
69+
# Run the basic pipeline with FastA reference with `fna` extension
70+
- nextflow run ${TRAVIS_BUILD_DIR} -profile test_fna,docker --pairedEnd --saveReference
71+
# Test using pre-computed indices from a separate run beforehand
72+
- nextflow run ${TRAVIS_BUILD_DIR} -profile test_fna,docker --pairedEnd --bwa_index results/reference_genome/bwa_index/BWAIndex/Mammoth_MT_Krause.fna --fasta_index results/reference_genome/fasta_index/Mammoth_MT_Krause.fna.fai --seq_dict results/reference_genome/seq_dict/Mammoth_MT_Krause.dict
73+

CHANGELOG.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,45 @@
11
# nf-core/eager: Changelog
2+
23
All notable changes to this project will be documented in this file.
34

45
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
56
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
67

8+
## [2.0.7] - 2019-06-10
9+
10+
### `Added`
11+
12+
* [#189](https://github.com/nf-core/eager/pull/189) - Outputing unmapped reads in a fastq files with the --strip_input_fastq flag
13+
* [#186](https://github.com/nf-core/eager/pull/186) - Make FastQC skipping [possible]
14+
/(https://github.com/nf-core/eager/issues/182)
15+
* Merged in [nf-core/tools](https://github.com/nf-core/tools) release V1.6 template changes
16+
* A lot more automated tests using Travis CI
17+
* Don't ignore DamageProfiler errors anymore
18+
* [#220](https://github.com/nf-core/eager/pull/220) - Added post-mapping filtering statistics module and corresponding MultiQC statistics [#217](https://github.com/nf-core/eager/issues/217)
19+
20+
### `Fixed`
21+
22+
* [#152](https://github.com/nf-core/eager/pull/152) - DamageProfiler errors [won't crash entire pipeline anymore](https://github.com/nf-core/eager/issues/171)
23+
* [#176](https://github.com/nf-core/eager/pull/176) - Increase runtime for DamageProfiler on [large reference genomes](https://github.com/nf-core/eager/issues/173)
24+
* [#172](https://github.com/nf-core/eager/pull/152) - DamageProfiler errors [won't crash entire pipeline anymore](https://github.com/nf-core/eager/issues/171)
25+
* [#174](https://github.com/nf-core/eager/pull/190) - Publish DeDup files [properly](https://github.com/nf-core/eager/issues/183)
26+
* [#196](https://github.com/nf-core/eager/pull/196) - Fix reference [issues](https://github.com/nf-core/eager/issues/150)
27+
* [#196](https://github.com/nf-core/eager/pull/196) - Fix issues with PE data being mapped incompletely
28+
* [#200](https://github.com/nf-core/eager/pull/200) - Fix minor issue with some [typos](https://github.com/nf-core/eager/pull/196)
29+
* [#210](https://github.com/nf-core/eager/pull/210) - Fix PMDTools [encoding issue](https://github.com/pontussk/PMDtools/issues/6) from `samtools calmd` generated files by running through `sa]mtools view` first
30+
* [#221](https://github.com/nf-core/eager/pull/221) - Fix BWA Index [not being reused by multiple samples](https://github.com/nf-core/eager/issues/219)
31+
32+
### `Dependencies`
33+
34+
* Added DeDup v0.12.5 (json support)
35+
* Added mtnucratio v0.5 (json support)
36+
* Updated Picard 2.18.27 -> 2.20.2
37+
* Updated GATK 4.1.0.0 -> 4.1.2.0
38+
* Updated damageprofiler 0.4.4 -> 0.4.5
39+
* Updated r-rmarkdown 1.11 -> 1.12
40+
* Updated fastp 0.19.7 -> 0.20.0
41+
* Updated qualimap 2.2.2b -> 2.2.2c
42+
743
## [2.0.6] - 2019-03-05
844

945
### `Added`
@@ -19,28 +55,33 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
1955
* [#145](https://github.com/nf-core/eager/pull/145) - Added Picard Memory Handling [fix](https://github.com/nf-core/eager/issues/144)
2056

2157
### `Dependencies`
58+
2259
* Picard Tools 2.18.23 -> 2.18.27
2360
* GATK 4.0.12.0 -> 4.1.0.0
2461
* FastP 0.19.6 -> 0.19.7
2562

2663
## [2.0.5] - 2019-01-28
2764

2865
### `Added`
66+
2967
* [#127](https://github.com/nf-core/eager/pull/127) - Added a second testcase for testing the pipeline properly
3068
* [#129](https://github.com/nf-core/eager/pull/129) - Support BAM files as [input format](https://github.com/nf-core/eager/issues/41)
3169
* [#131](https://github.com/nf-core/eager/pull/131) - Support different [reference genome file extensions](https://github.com/nf-core/eager/issues/130)
3270

3371
### `Fixed`
72+
3473
* [#128](https://github.com/nf-core/eager/issues/128) - Fixed reference genome handling errors
3574

3675
### `Dependencies`
76+
3777
* Picard Tools 2.18.21 -> 2.18.23
3878
* R-Markdown 1.10 -> 1.11
3979
* FastP 0.19.5 -> 0.19.6
4080

4181
## [2.0.4] - 2019-01-09
4282

4383
### `Added`
84+
4485
* [#111](https://github.com/nf-core/eager/pull/110) - Allow [Zipped FastA reference input](https://github.com/nf-core/eager/issues/91)
4586
* [#113](https://github.com/nf-core/eager/pull/113) - All files are now staged via channels, which is considered best practice by Nextflow
4687
* [#114](https://github.com/nf-core/eager/pull/113) - Add proper runtime defaults for multiple processes
@@ -55,27 +96,33 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
5596
## [2.0.3] - 2018-12-12
5697

5798
### `Added`
99+
58100
* [#80](https://github.com/nf-core/eager/pull/80) - BWA Index file handling
59101
* [#77](https://github.com/nf-core/eager/pull/77) - Lots of documentation updates by [@jfy133](https://github.com/jfy133)
60102
* [#81](https://github.com/nf-core/eager/pull/81) - Renaming of certain BAM options
61103
* [#92](https://github.com/nf-core/eager/issues/92) - Complete restructure of BAM options
62104

63105
### `Fixed`
106+
64107
* [#84](https://github.com/nf-core/eager/pull/85) - Fix for [Samtools index issues](https://github.com/nf-core/eager/issues/84)
65108
* [#96](https://github.com/nf-core/eager/issues/96) - Fix for [MarkDuplicates issues](https://github.com/nf-core/eager/issues/96) found by [@nilesh-tawari](https://github.com/nilesh-tawari)
66109

67110
### Other
111+
68112
* Added Slack button to repository readme
69113

70114
## [2.0.2] - 2018-11-03
71115

72116
### `Changed`
117+
73118
* [#70](https://github.com/nf-core/eager/issues/70) - Uninitialized `readPaths` warning removed
74119

75120
### `Added`
121+
76122
* [#73](https://github.com/nf-core/eager/pull/73) - Travis CI Testing of Conda Environment added
77123

78124
### `Fixed`
125+
79126
* [#72](https://github.com/nf-core/eager/issues/72) - iconv Issue with R in conda environment
80127

81128
## [2.0.1] - 2018-11-02

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 the [Gitter channel](https://gitter.im/nf-core/Lobby). 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-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.
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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ FROM nfcore/base
33
LABEL description="Docker image containing all requirements for nf-core/eager pipeline"
44
COPY environment.yml /
55
RUN conda env create -f /environment.yml && conda clean -a
6-
ENV PATH /opt/conda/envs/nf-core-eager-2.0.6/bin:$PATH
6+
ENV PATH /opt/conda/envs/nf-core-eager-2.0.7/bin:$PATH

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) 2018 Alexander Peltzer
3+
Copyright (c) Alexander Peltzer, Stephen Clayton, James A. Fellows Yates, Maxime Borry
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: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# ![nf-core/eager](docs/images/eager_logo.png)
22

3-
[![Build Status](https://travis-ci.org/nf-core/eager.svg?branch=master)](https://travis-ci.org/nf-core/eager)
3+
**A fully reproducible ancient and modern DNA pipeline in Nextflow and with cloud support.**.
4+
5+
[![Build Status](https://travis-ci.com/nf-core/eager.svg?branch=master)](https://travis-ci.com/nf-core/eager)
46
[![Nextflow](https://img.shields.io/badge/nextflow-%E2%89%A50.32.0-brightgreen.svg)](https://www.nextflow.io/)
57
[![Slack Status](https://nf-core-invite.herokuapp.com/badge.svg)](https://nf-core-invite.herokuapp.com)[![install with bioconda](https://img.shields.io/badge/install%20with-bioconda-brightgreen.svg)](http://bioconda.github.io/)
68
[![Docker Container available](https://img.shields.io/docker/automated/nfcore/eager.svg)](https://hub.docker.com/r/nfcore/eager/)
79
![Singularity Container available](https://img.shields.io/badge/singularity-available-7E4C74.svg)
810
[![DOI](https://zenodo.org/badge/135918251.svg)](https://zenodo.org/badge/latestdoi/135918251)
911

10-
11-
1212
## Introduction
1313

1414
**nf-core/eager** is a bioinformatics best-practice analysis pipeline for NGS
@@ -44,7 +44,7 @@ Additional functionality contained by the pipeline currently includes:
4444

4545
## Quick Start
4646

47-
1. Install [`nextflow`](docs/installation.md)
47+
1. Install [`nextflow`](https://nf-co.re/usage/installation)
4848

4949
2. Install one of [`docker`](https://docs.docker.com/engine/installation/), [`singularity`](https://www.sylabs.io/guides/3.0/user-guide/) or [`conda`](https://conda.io/miniconda.html)
5050

@@ -73,22 +73,24 @@ as described in the documentation.
7373

7474
## Documentation
7575

76-
The nf-core/eager pipeline comes with documentation about the pipeline, found in the `docs/` directory:
76+
The nf-core/eager pipeline comes with documentation about the pipeline, found in the `docs/` directory or on the main homepage of the nf-core project:
7777

78-
1. [Installation](docs/installation.md)
78+
1. [Nextflow Installation](https://nf-co.re/usage/installation)
7979
2. Pipeline configuration
80-
* [Local installation](docs/configuration/local.md)
81-
* [Adding your own system](docs/configuration/adding_your_own.md)
80+
* [Pipeline installation](https://nf-co.re/usage/local_installation)
81+
* [Adding your own system config](https://nf-co.re/usage/adding_own_config)
82+
* [Reference genomes](https://nf-co.re/usage/reference_genomes)
8283
3. [Running the pipeline](docs/usage.md)
8384
4. [Output and how to interpret the results](docs/output.md)
84-
5. [Troubleshooting](docs/troubleshooting.md)
85+
5. [Troubleshooting](https://nf-co.re/usage/troubleshooting)
86+
6. [EAGER Troubleshooting](docs/troubleshooting.md)
8587

8688

8789
## Credits
8890

8991
This pipeline was written by Alexander Peltzer ([apeltzer](https://github.com/apeltzer)),
9092
with major contributions from Stephen Clayton, ideas and documentation from
91-
James Fellows Yates, Raphael Eisenhofer and Judith Neukamm. If you want to
93+
James A. Fellows Yates, Raphael Eisenhofer, Maxime Borry and Judith Neukamm. If you want to
9294
contribute, please open an issue and ask to be added to the project - happy to
9395
do so and everyone is welcome to contribute here!
9496

Singularity

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)