Skip to content

Commit e7bcfda

Browse files
authored
Merge pull request #889 from nf-core/dev
Release 2.14.0
2 parents 9c52c22 + 1f5f806 commit e7bcfda

File tree

116 files changed

+745
-847
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

116 files changed

+745
-847
lines changed

.github/workflows/awsfulltest.yml

Lines changed: 10 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -4,56 +4,36 @@ name: nf-core AWS full size tests
44
# It runs the -profile 'test_full' on AWS batch
55

66
on:
7-
pull_request:
8-
branches:
9-
- main
10-
- master
117
workflow_dispatch:
128
pull_request_review:
139
types: [submitted]
10+
release:
11+
types: [published]
1412

1513
jobs:
1614
run-platform:
1715
name: Run AWS full tests
18-
# run only if the PR is approved by at least 2 reviewers and against the master branch or manually triggered
19-
if: github.repository == 'nf-core/ampliseq' && github.event.review.state == 'approved' && github.event.pull_request.base.ref == 'master' || github.event_name == 'workflow_dispatch'
16+
# run only if the PR is approved by at least 2 reviewers and against the master/main branch or manually triggered
17+
if: github.repository == 'nf-core/ampliseq' && github.event.review.state == 'approved' && (github.event.pull_request.base.ref == 'master' || github.event.pull_request.base.ref == 'main') || github.event_name == 'workflow_dispatch'
2018
runs-on: ubuntu-latest
2119
steps:
22-
- name: Get PR reviews
23-
uses: octokit/request-action@v2.x
24-
if: github.event_name != 'workflow_dispatch'
25-
id: check_approvals
26-
continue-on-error: true
27-
with:
28-
route: GET /repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}/reviews?per_page=100
29-
env:
30-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
31-
32-
- name: Check for approvals
33-
if: ${{ failure() && github.event_name != 'workflow_dispatch' }}
20+
- name: Set revision variable
21+
id: revision
3422
run: |
35-
echo "No review approvals found. At least 2 approvals are required to run this action automatically."
36-
exit 1
23+
echo "revision=${{ (github.event_name == 'workflow_dispatch' || github.event_name == 'release') && github.sha || 'dev' }}" >> "$GITHUB_OUTPUT"
3724
38-
- name: Check for enough approvals (>=2)
39-
id: test_variables
40-
if: github.event_name != 'workflow_dispatch'
41-
run: |
42-
JSON_RESPONSE='${{ steps.check_approvals.outputs.data }}'
43-
CURRENT_APPROVALS_COUNT=$(echo $JSON_RESPONSE | jq -c '[.[] | select(.state | contains("APPROVED")) ] | length')
44-
test $CURRENT_APPROVALS_COUNT -ge 2 || exit 1 # At least 2 approvals are required
4525
- name: Launch workflow via Seqera Platform
4626
uses: seqeralabs/action-tower-launch@v2
4727
with:
4828
workspace_id: ${{ secrets.TOWER_WORKSPACE_ID }}
4929
access_token: ${{ secrets.TOWER_ACCESS_TOKEN }}
5030
compute_env: ${{ secrets.TOWER_COMPUTE_ENV }}
51-
revision: ${{ github.sha }}
52-
workdir: s3://${{ secrets.AWS_S3_BUCKET }}/work/ampliseq/work-${{ github.sha }}
31+
revision: ${{ steps.revision.outputs.revision }}
32+
workdir: s3://${{ secrets.AWS_S3_BUCKET }}/work/ampliseq/work-${{ steps.revision.outputs.revision }}
5333
parameters: |
5434
{
5535
"hook_url": "${{ secrets.MEGATESTS_ALERTS_SLACK_HOOK_URL }}",
56-
"outdir": "s3://${{ secrets.AWS_S3_BUCKET }}/ampliseq/results-${{ github.sha }}"
36+
"outdir": "s3://${{ secrets.AWS_S3_BUCKET }}/ampliseq/results-${{ steps.revision.outputs.revision }}"
5737
}
5838
profiles: test_full
5939

.nf-core.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ lint:
99
- params.report_template
1010
- params.report_css
1111
- params.report_logo
12-
nf_core_version: 3.2.0
12+
nf_core_version: 3.2.1
1313
repository_type: pipeline
1414
template:
1515
author: Daniel Straub, Alexander Peltzer
@@ -21,7 +21,7 @@ template:
2121
outdir: .
2222
skip_features:
2323
- igenomes
24-
version: 2.13.0
24+
version: 2.14.0
2525
update:
2626
https://github.com/nf-core/modules.git:
2727
nf-core:

CHANGELOG.md

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,40 @@
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-
## nf-core/ampliseq version 2.13.0 - 2025-04-01
6+
## nf-core/ampliseq version 2.14.0 - 2025-05-23
7+
8+
### `Added`
9+
10+
- [#879](https://github.com/nf-core/ampliseq/pull/879) - Add `sbdi-gtdb=R10-RS226-1` as parameter to `--dada_ref_taxonomy` and make this version the default for `sbdi-gtdb`.
11+
- [#882](https://github.com/nf-core/ampliseq/pull/882) - Add `gtdb=R10-RS226` as parameter to `--dada_ref_taxonomy` and make this version the default for `gtdb`.
12+
- [#883](https://github.com/nf-core/ampliseq/pull/883) - Add BOLD databases `plantae-bold-its1` & `plantae-bold-trnL`, for plant samples with markers ITS1 and trnL, versions 20240510, for DADA2 as parameter to `--dada2_ref_taxonomy`.
13+
- [#885](https://github.com/nf-core/ampliseq/pull/885) - Add `pr2=5.1.0` as parameter to `--dada_ref_taxonomy` and make this version the default for `pr2`.
14+
15+
### `Changed`
16+
17+
- [#871](https://github.com/nf-core/ampliseq/pull/871) - Multi-region analysis is now easier with custom databases. No alignment file of the reference sequences are needed.
18+
19+
| **Parameter** | **Description** |
20+
| ------------------------- | ------------------------------------------------------------------------------------------------------- |
21+
| **sidle_ref_tax_custom** | Changed: Previously three files, now one file: path to reference taxonomy strings |
22+
| **sidle_ref_seq_custom** | New: Path to reference taxonomy sequences in fasta format |
23+
| **sidle_ref_aln_custom** | New: Path to multiple sequence alignment of reference taxonomy sequences in fasta format |
24+
| **sidle_ref_degenerates** | New: Only effective with `--sidle_ref_tax_custom`, filter reference sequences, default: 5 |
25+
| **sidle_ref_cleaning** | New: Arguments regarding ad-hoc cleaning, with `--sidle_ref_tax_custom` default is '--p-database silva' |
26+
27+
### `Fixed`
28+
29+
- [#872](https://github.com/nf-core/ampliseq/pull/872) - Follow nextflow's strict syntax
30+
- [#876](https://github.com/nf-core/ampliseq/pull/876) - Pulled the updated vsearch/clusters module from nf-core to fix a bug where a wildcard expansion trigging an arguments-too-long error.
31+
- [#878](https://github.com/nf-core/ampliseq/pull/878) - Downgraded nf-schema from 2.3.0 to 2.2.0 due to incompatibilities with nextflow stable versions 25.05 and newer
32+
- [#881](https://github.com/nf-core/ampliseq/pull/881) - Template update for nf-core/tools version 3.2.1
33+
- [#887](https://github.com/nf-core/ampliseq/pull/887) - Updated documentation to include all updates
34+
35+
### `Dependencies`
36+
37+
### `Removed`
38+
39+
## nf-core/ampliseq version 2.13.0 - 2025-04-04
740

841
### `Added`
942

CITATIONS.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,27 +81,31 @@
8181

8282
> M. A. Moynihan & C. Furbo Reeder 2023. nifHdada2 GitHub repository, v2.0.5. Zenodo. doi: http://doi.org/10.5281/zenodo.7996213
8383
84+
- [BOLD Plantae](https://boldsystems.org/)
85+
86+
> Kesisoglou, G., Keisaris, S., & Pechlivanis, N. (2025). BOLD (Plantae - ITS1, ITS2, trnL) training data formatted for DADA2 [Data set]. Zenodo. doi: https://doi.org/10.5281/zenodo.15089110
87+
8488
### Phylogenetic placement
8589

8690
- [nf-core/phyloplace](https://nf-co.re/phyloplace)
8791

88-
> Daniel Lundin. (2023). nf-core/phyloplace: First release (1.0.0). Zenodo. https://doi.org/10.5281/zenodo.7643948
92+
> Daniel Lundin. (2023). nf-core/phyloplace: First release (1.0.0). Zenodo. doi: https://doi.org/10.5281/zenodo.7643948
8993
9094
- [HMMER](https://pubmed.ncbi.nlm.nih.gov/22039361/)
9195

92-
> Eddy, Sean R. “Accelerated Profile HMM Searches.” PLoS Comput Biol 7, no. 10 (October 20, 2011): e1002195. https://doi.org/10.1371/journal.pcbi.1002195.
96+
> Eddy, Sean R. “Accelerated Profile HMM Searches.” PLoS Comput Biol 7, no. 10 (October 20, 2011): e1002195. doi: https://doi.org/10.1371/journal.pcbi.1002195.
9397
9498
- [MAFFT](https://pubmed.ncbi.nlm.nih.gov/12136088/)
9599

96-
> Katoh, Kazutaka, Kazuharu Misawa, Kei‐ichi Kuma, and Takashi Miyata. “MAFFT: A Novel Method for Rapid Multiple Sequence Alignment Based on Fast Fourier Transform.” Nucleic Acids Research 30, no. 14 (July 15, 2002): 3059–66. https://doi.org/10.1093/nar/gkf436.
100+
> Katoh, Kazutaka, Kazuharu Misawa, Kei‐ichi Kuma, and Takashi Miyata. “MAFFT: A Novel Method for Rapid Multiple Sequence Alignment Based on Fast Fourier Transform.” Nucleic Acids Research 30, no. 14 (July 15, 2002): 3059–66. doi: https://doi.org/10.1093/nar/gkf436.
97101
98102
- [EPA-NG](https://pubmed.ncbi.nlm.nih.gov/30165689/)
99103

100-
> Barbera, Pierre, Alexey M Kozlov, Lucas Czech, Benoit Morel, Diego Darriba, Tomáš Flouri, and Alexandros Stamatakis. “EPA-Ng: Massively Parallel Evolutionary Placement of Genetic Sequences.” Systematic Biology 68, no. 2 (March 1, 2019): 365–69. https://doi.org/10.1093/sysbio/syy054.
104+
> Barbera, Pierre, Alexey M Kozlov, Lucas Czech, Benoit Morel, Diego Darriba, Tomáš Flouri, and Alexandros Stamatakis. “EPA-Ng: Massively Parallel Evolutionary Placement of Genetic Sequences.” Systematic Biology 68, no. 2 (March 1, 2019): 365–69. doi: https://doi.org/10.1093/sysbio/syy054.
101105
102106
- [Gappa](https://pubmed.ncbi.nlm.nih.gov/32016344/)
103107

104-
> Czech, Lucas, Pierre Barbera, and Alexandros Stamatakis. “Genesis and Gappa: Processing, Analyzing and Visualizing Phylogenetic (Placement) Data.” Bioinformatics 36, no. 10 (May 1, 2020): 3263–65. https://doi.org/10.1093/bioinformatics/btaa070.
108+
> Czech, Lucas, Pierre Barbera, and Alexandros Stamatakis. “Genesis and Gappa: Processing, Analyzing and Visualizing Phylogenetic (Placement) Data.” Bioinformatics 36, no. 10 (May 1, 2020): 3263–65. doi: https://doi.org/10.1093/bioinformatics/btaa070.
105109
106110
### Multi region analysis (also include Greengenes 13_8 or SILVA 128)
107111

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
[![Cite with Zenodo](http://img.shields.io/badge/DOI-10.5281/zenodo.1493841-1073c8?labelColor=000000)](https://doi.org/10.5281/zenodo.1493841)[![Cite Publication](https://img.shields.io/badge/Cite%20Us!-Cite%20Publication-important?labelColor=000000)](https://doi.org/10.3389/fmicb.2020.550420)
1212

13-
[![Nextflow](https://img.shields.io/badge/nextflow%20DSL2-%E2%89%A524.04.2-23aa62.svg?labelColor=000000)](https://www.nextflow.io/)
13+
[![Nextflow](https://img.shields.io/badge/nextflow%20DSL2-%E2%89%A524.04.2-23aa62.svg)](https://www.nextflow.io/)
1414
[![run with conda](http://img.shields.io/badge/run%20with-conda-3EB049?labelColor=000000&logo=anaconda)](https://docs.conda.io/en/latest/)
1515
[![run with docker](https://img.shields.io/badge/run%20with-docker-0db7ed?labelColor=000000&logo=docker)](https://www.docker.com/)
1616
[![run with singularity](https://img.shields.io/badge/run%20with-singularity-1d355c.svg?labelColor=000000)](https://sylabs.io/docs/)

assets/multiqc_config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
report_comment: >
2-
This report has been generated by the <a href="https://github.com/nf-core/ampliseq/releases/tag/2.13.0"
2+
This report has been generated by the <a href="https://github.com/nf-core/ampliseq/releases/tag/2.14.0"
33
target="_blank">nf-core/ampliseq</a> analysis pipeline. For information about how
4-
to interpret these results, please see the <a href="https://nf-co.re/ampliseq/2.13.0/docs/output"
4+
to interpret these results, please see the <a href="https://nf-co.re/ampliseq/2.14.0/docs/output"
55
target="_blank">documentation</a>.
66
report_section_order:
77
"nf-core-ampliseq-methods-description":

bin/taxref_reformat_plantae.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
3+
# The file for taxonomy assignment, identified by containing "toSpecies" in the name
4+
gunzip -c *toSpecies*gz > assignTaxonomy.fna
5+
6+
# and the file for add species, identified by containing "assign" in the name, is renamed
7+
mv *assign*gz addSpecies.fna.gz

conf/modules.config

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -286,8 +286,12 @@ process {
286286
}
287287

288288
withName: SIDLE_DBFILT {
289-
ext.args = { params.sidle_ref_taxonomy.startsWith("greengenes") ? '--p-num-degenerates 3' : '--p-num-degenerates 5' } // 3 for greengenes, 5 for SILVA 128
290-
ext.args2 = { params.sidle_ref_taxonomy.startsWith("greengenes") ? '--p-exclude "p__;,k__;,mitochondria,chloroplast" --p-mode contains' : '--p-exclude "mitochondria,chloroplast" --p-mode contains' } // "p__;,k__;" for greengenes
289+
ext.args = {
290+
params.sidle_ref_tax_custom ? "--p-num-degenerates ${params.sidle_ref_degenerates}" :
291+
params.sidle_ref_taxonomy.startsWith("greengenes") ? '--p-num-degenerates 3' : '--p-num-degenerates 5' } // 3 for greengenes, 5 for SILVA 128
292+
ext.args2 = {
293+
params.sidle_ref_tax_custom ? '--p-exclude "mitochondria,chloroplast" --p-mode contains' :
294+
params.sidle_ref_taxonomy.startsWith("greengenes") ? '--p-exclude "p__;,k__;,mitochondria,chloroplast" --p-mode contains' : '--p-exclude "mitochondria,chloroplast" --p-mode contains' } // "p__;,k__;" for greengenes
291295
publishDir = [
292296
path: { "${params.outdir}/sidle/DB/1_prefiltering" },
293297
mode: params.publish_dir_mode,
@@ -361,7 +365,9 @@ process {
361365

362366
withName: SIDLE_TAXRECON {
363367
ext.args = {
364-
params.sidle_ref_taxonomy.startsWith("greengenes") ? '--p-database "greengenes"' :
368+
params.sidle_ref_cleaning ?:
369+
params.sidle_ref_tax_custom ? '--p-database "silva"' :
370+
params.sidle_ref_taxonomy.startsWith("greengenes") ? '--p-database "greengenes"' :
365371
params.sidle_ref_taxonomy.startsWith("silva") ? '--p-database "silva"' : '--p-database "none"'
366372
}
367373
publishDir = [

0 commit comments

Comments
 (0)