Skip to content

Commit f9a89f0

Browse files
authored
Merge pull request #112 from nf-core/dev
PR for release 1.1.1
2 parents 57e1ee2 + e78e3fa commit f9a89f0

16 files changed

+651
-434
lines changed

.github/markdownlint.yml

Lines changed: 1 addition & 5 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:
9-
siblings_only: true
5+
siblings_only: true

.github/workflows/branch.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: ampliseq branch protection
2+
# This workflow is triggered on PRs to master branch on the repository
3+
on:
4+
pull_request:
5+
branches:
6+
- master
7+
8+
jobs:
9+
test:
10+
runs-on: ubuntu-latest
11+
steps:
12+
# PRs are only ok if coming from an nf-core dev branch
13+
- uses: actions/checkout@v1
14+
- name: Check PRs
15+
run: |
16+
{ [[ $(git remote get-url origin) == *nf-core/ampliseq ]] && [[ ${GITHUB_BASE_REF} = "master" ]] && [[ ${GITHUB_HEAD_REF} = "dev" ]]; } || [[ ${GITHUB_HEAD_REF} == patch* ]]

.github/workflows/ci.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: nf-core CI
2+
# This workflow is triggered on pushes and PRs to the repository.
3+
# It runs the pipeline with the minimal test dataset to check that it completes without any syntax errors
4+
on: [push, pull_request]
5+
6+
jobs:
7+
test:
8+
runs-on: ubuntu-18.04
9+
strategy:
10+
matrix:
11+
# Nextflow versions: check pipeline minimum and current latest
12+
nxf_ver: ['19.10.0', '']
13+
steps:
14+
- uses: actions/checkout@v1
15+
- name: Install Nextflow
16+
run: |
17+
export NXF_VER=${{ matrix.nxf_ver }}
18+
wget -qO- get.nextflow.io | bash
19+
sudo mv nextflow /usr/local/bin/
20+
- name: Run test
21+
run: |
22+
nextflow run ${GITHUB_WORKSPACE} -profile test,docker
23+
- name: Run multi test
24+
run: |
25+
nextflow run ${GITHUB_WORKSPACE} -profile test_multi,docker
26+

.github/workflows/linting.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: nf-core linting
2+
# This workflow is triggered on pushes and PRs to the repository.
3+
# It runs the `nf-core lint` and markdown lint tests to ensure that the code meets the nf-core guidelines
4+
on: [push, pull_request]
5+
6+
jobs:
7+
Markdown:
8+
runs-on: ubuntu-18.04
9+
steps:
10+
- uses: actions/checkout@v1
11+
- uses: actions/setup-node@v1
12+
with:
13+
node-version: '10'
14+
- name: Install markdownlint
15+
run: |
16+
npm install -g markdownlint-cli
17+
- name: Run Markdownlint
18+
run: |
19+
markdownlint ${GITHUB_WORKSPACE} -c ${GITHUB_WORKSPACE}/.github/markdownlint.yml
20+
nf-core:
21+
runs-on: ubuntu-latest
22+
steps:
23+
- uses: actions/checkout@v1
24+
- name: Install Nextflow
25+
run: |
26+
wget -qO- get.nextflow.io | bash
27+
sudo mv nextflow /usr/local/bin/
28+
- uses: actions/setup-python@v1
29+
with:
30+
python-version: '3.6'
31+
architecture: 'x64'
32+
- name: Install pip
33+
run: |
34+
sudo apt install python3-pip
35+
pip install --upgrade pip
36+
- name: Install nf-core tools
37+
run: |
38+
pip install nf-core
39+
- name: Run nf-core lint
40+
run: |
41+
nf-core lint ${GITHUB_WORKSPACE}

.travis.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,10 @@ 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" ])'
13-
# Pull the docker image first so the test doesn't wait for this
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" ]))' # Pull the docker image first so the test doesn't wait for this
1413
- docker pull nfcore/ampliseq:dev
1514
# Fake the tag locally so that the pipeline runs properly
16-
- docker tag nfcore/ampliseq:dev nfcore/ampliseq:1.1.0
15+
- docker tag nfcore/ampliseq:dev nfcore/ampliseq:dev
1716

1817
install:
1918
# Install Nextflow
@@ -30,7 +29,7 @@ install:
3029
- sudo apt-get install npm && npm install -g markdownlint-cli
3130

3231
env:
33-
- NXF_VER=18.10.1 # Specify a minimum NF version that should be tested and work
32+
- NXF_VER='19.10.0' # Specify a minimum NF version that should be tested and work
3433
- NXF_VER='' # Plus: get the latest NF version and check, that it works
3534

3635
script:

CHANGELOG.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,19 @@
11
# nf-core/ampliseq
22

3+
## nf-core/ampliseq version 1.1.1 - 2019
4+
5+
### Pipeline Updates
6+
7+
* Update from QIIME2 v2018.6 to v2019.10, including DADA2 v1.6 to DADA2 v1.10
8+
9+
### Bugfixes
10+
11+
* [#78](https://github.com/nf-core/ampliseq/issues/78) - All sequenced classifed to the same species
12+
313
## nf-core/ampliseq version 1.1.0 "Silver Lime Bee" - 2019
414

5-
#### Pipeline updates
15+
### Pipeline updates
16+
617
* [#40](https://github.com/nf-core/ampliseq/issues/40) - Added support for data originating from multiple sequencing runs
718
* [#53](https://github.com/nf-core/ampliseq/issues/53) - DADA2 report is always exported
819
* [#49](https://github.com/nf-core/ampliseq/issues/49) - Allowed more filtering options
@@ -13,9 +24,11 @@
1324
* [#63](https://github.com/nf-core/ampliseq/issues/63) - QIIME imports files by using a manifest, giving more freedom with input file names
1425
* [#84](https://github.com/nf-core/ampliseq/issues/84) - Add proper nf-core logo
1526

16-
#### Bug fixes
27+
### Bug fixes
28+
1729
* [#57](https://github.com/nf-core/ampliseq/issues/57) - Indicate exact regex for sequencing file names
1830
* [#60](https://github.com/nf-core/ampliseq/issues/60) - publish demux.qza when --untilQ2import
1931

2032
## nf-core/ampliseq version 1.0.0 "Olive Steel Panda" - 2018-11-23
33+
2134
Initial release of nf-core/ampliseq, created with the [nf-core](http://nf-co.re/) template.

Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1-
FROM nfcore/base
1+
FROM nfcore/base:1.7
22
LABEL description="Docker image containing all requirements for nf-core/ampliseq pipeline"
33
COPY environment.yml /
44
RUN conda env create -f /environment.yml && conda clean -a
5-
ENV PATH /opt/conda/envs/nf-core-ampliseq-1.1.0/bin:$PATH
5+
ENV PATH /opt/conda/envs/nf-core-ampliseq-dev/bin:$PATH
66
## Required to build the container properly
77
RUN mkdir -p /root/.config/matplotlib
88
RUN echo "backend : Agg" > /root/.config/matplotlib/matplotlibrc
99
## Don't recache on each execution, do that once per build process
1010
RUN qiime dev refresh-cache
11-

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
# ![nf-core/ampliseq](docs/images/nfcore-ampliseq_logo.png)
22

3-
[![Build Status](https://travis-ci.com/nf-core/ampliseq.svg?branch=master)](https://travis-ci.com/nf-core/ampliseq)[![Nextflow](https://img.shields.io/badge/nextflow-%E2%89%A518.10.1-brightgreen.svg)](https://www.nextflow.io/)
3+
[![Build Status](https://github.com/nf-core/ampliseq/workflows/ampliseq%20CI/badge.svg)](https://github.com/nf-core/ampliseq/workflows/ampliseq%20CI/badge.svg)
4+
[![Nextflow](https://img.shields.io/badge/nextflow-%E2%89%A519.10.0-brightgreen.svg)](https://www.nextflow.io/)
45

56
[![install with bioconda](https://img.shields.io/badge/install%20with-bioconda-brightgreen.svg)](http://bioconda.github.io/)
67
[![Docker](https://img.shields.io/docker/automated/nfcore/ampliseq.svg)](https://hub.docker.com/r/nfcore/ampliseq)
7-
![Singularity Container available](
8-
https://img.shields.io/badge/singularity-available-7E4C74.svg)
8+
[![DOI](https://zenodo.org/badge/150448201.svg)](https://zenodo.org/badge/latestdoi/150448201)
99

10-
### Introduction
10+
## Introduction
1111

1212
**nfcore/ampliseq** is a bioinformatics analysis pipeline used for 16S rRNA amplicon sequencing data.
1313

14-
The workflow processes raw data from FastQ inputs ([FastQC](https://www.bioinformatics.babraham.ac.uk/projects/fastqc/)), trims primer sequences from the reads ([Cutadapt](https://journal.embnet.org/index.php/embnetjournal/article/view/200)), imports data into [QIIME2](https://qiime2.org/), generates amplicon sequencing variants (ASV, [DADA2](https://www.nature.com/articles/nmeth.3869)), classifies features against the [SILVA](https://www.arb-silva.de/) [v132](https://www.arb-silva.de/documentation/release-132/) database, excludes unwanted taxa, produces absolute and relative feature/taxa count tables and plots, plots alpha rarefaction curves, computes alpha and beta diversity indices and plots thereof, and finally calls differentially abundant taxa ([ANCOM](https://www.ncbi.nlm.nih.gov/pubmed/26028277)). See the [output documentation](docs/output.md) for more details of the results.
14+
The workflow processes raw data from FastQ inputs ([FastQC](https://www.bioinformatics.babraham.ac.uk/projects/fastqc/)), trims primer sequences from the reads ([Cutadapt](https://journal.embnet.org/index.php/embnetjournal/article/view/200)), imports data into [QIIME2](https://www.nature.com/articles/s41587-019-0209-9), generates amplicon sequencing variants (ASV, [DADA2](https://www.nature.com/articles/nmeth.3869)), classifies features against the [SILVA](https://www.arb-silva.de/) [v132](https://www.arb-silva.de/documentation/release-132/) database, excludes unwanted taxa, produces absolute and relative feature/taxa count tables and plots, plots alpha rarefaction curves, computes alpha and beta diversity indices and plots thereof, and finally calls differentially abundant taxa ([ANCOM](https://www.ncbi.nlm.nih.gov/pubmed/26028277)). See the [output documentation](docs/output.md) for more details of the results.
1515

1616
The pipeline is built using [Nextflow](https://www.nextflow.io), a workflow tool to run tasks across multiple compute infrastructures in a very portable manner. It comes with docker / singularity containers making installation trivial and results highly reproducible.
1717

conf/base.config

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ process {
6464
memory = { check_max (16.GB * task.attempt, 'memory' ) }
6565
time = { check_max (2.h * task.attempt, 'time' ) }
6666
}
67+
withName: alpha_diversity {
68+
errorStrategy = { task.exitStatus in [143,137] ? 'retry' : 'ignore' }
69+
}
6770
}
6871

6972
params {

conf/test.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ params {
1717
// Input data
1818
FW_primer = "GTGYCAGCMGCCGCGGTAA"
1919
RV_primer = "GGACTACNVGGGTWTCTAAT"
20-
classifier = "https://github.com/nf-core/test-datasets/raw/ampliseq/testdata/GTGYCAGCMGCCGCGGTAA-GGACTACNVGGGTWTCTAAT-classifier.qza"
20+
classifier = "https://github.com/nf-core/test-datasets/raw/ampliseq/testdata/GTGYCAGCMGCCGCGGTAA-GGACTACNVGGGTWTCTAAT-gg_13_8-85-qiime2_2019.7-classifier.qza"
2121
metadata = "https://github.com/nf-core/test-datasets/raw/ampliseq/testdata/Metadata.tsv"
2222
outdir = "./results"
2323
temp_dir = "./results/tmp_dir"

conf/test_multi.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ params {
1717
// Input data
1818
FW_primer = "GTGYCAGCMGCCGCGGTAA"
1919
RV_primer = "GGACTACNVGGGTWTCTAAT"
20-
classifier = "https://github.com/nf-core/test-datasets/raw/ampliseq/testdata/GTGYCAGCMGCCGCGGTAA-GGACTACNVGGGTWTCTAAT-classifier.qza"
20+
classifier = "https://github.com/nf-core/test-datasets/raw/ampliseq/testdata/GTGYCAGCMGCCGCGGTAA-GGACTACNVGGGTWTCTAAT-gg_13_8-85-qiime2_2019.7-classifier.qza"
2121
metadata = "https://github.com/nf-core/test-datasets/raw/ampliseq/testdata/Metadata_multi.tsv"
2222
outdir = "./results"
2323
temp_dir = "./results/tmp_dir"

0 commit comments

Comments
 (0)