Skip to content

Commit 79724da

Browse files
authored
Merge pull request #223 from nf-core/dev
Bogatell Patch Release - v.1.1.1
2 parents de24fb1 + 8c109a2 commit 79724da

22 files changed

Lines changed: 149 additions & 97 deletions

.github/workflows/awsfulltest.yml

Lines changed: 10 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -4,57 +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/multiplesequencealign' && 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/multiplesequencealign' && 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' }}
34-
run: |
35-
echo "No review approvals found. At least 2 approvals are required to run this action automatically."
36-
exit 1
37-
38-
- name: Check for enough approvals (>=2)
39-
id: test_variables
40-
if: github.event_name != 'workflow_dispatch'
20+
- name: Set revision variable
21+
id: revision
4122
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
23+
echo "revision=${{ (github.event_name == 'workflow_dispatch' || github.event_name == 'release') && github.sha || 'dev' }}" >> "$GITHUB_OUTPUT"
4524
4625
- name: Launch workflow via Seqera Platform
4726
uses: seqeralabs/action-tower-launch@v2
4827
with:
4928
workspace_id: ${{ secrets.TOWER_WORKSPACE_ID }}
5029
access_token: ${{ secrets.TOWER_ACCESS_TOKEN }}
5130
compute_env: ${{ secrets.TOWER_COMPUTE_ENV }}
52-
revision: ${{ github.sha }}
53-
workdir: s3://${{ secrets.AWS_S3_BUCKET }}/work/multiplesequencealign/work-${{ github.sha }}
31+
revision: ${{ steps.revision.outputs.revision }}
32+
workdir: s3://${{ secrets.AWS_S3_BUCKET }}/work/multiplesequencealign/work-${{ steps.revision.outputs.revision }}
5433
parameters: |
5534
{
5635
"hook_url": "${{ secrets.MEGATESTS_ALERTS_SLACK_HOOK_URL }}",
57-
"outdir": "s3://${{ secrets.AWS_S3_BUCKET }}/multiplesequencealign/results-${{ github.sha }}"
36+
"outdir": "s3://${{ secrets.AWS_S3_BUCKET }}/multiplesequencealign/results-${{ steps.revision.outputs.revision }}"
5837
}
5938
profiles: test_full
6039

.github/workflows/ci.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
strategy:
2323
matrix:
2424
NXF_VER:
25-
- "24.10.4"
25+
- "25.04.2"
2626
- "latest-everything"
2727
profile:
2828
- "docker"
@@ -52,7 +52,7 @@ jobs:
5252
strategy:
5353
matrix:
5454
NXF_VER:
55-
- "24.10.4"
55+
- "25.04.2"
5656
- "latest-everything"
5757
profile:
5858
- "docker"
@@ -75,5 +75,6 @@ jobs:
7575
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1
7676

7777
- name: "Run pipeline with test data ${{ matrix.NXF_VER }} | ${{ matrix.test_name }} | ${{ matrix.profile }}"
78+
continue-on-error: ${{ matrix.NXF_VER == 'latest-everything' }}
7879
run: |
79-
nextflow run ${GITHUB_WORKSPACE} -profile test,${{ matrix.profile }} ${{ matrix.params }} --outdir ./results
80+
nextflow run ${GITHUB_WORKSPACE} -stub-run -profile ${{ matrix.test_name }},${{ matrix.profile }} ${{ matrix.params }} --outdir ./results

.github/workflows/ci_master.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
strategy:
2525
matrix:
2626
NXF_VER:
27-
- "24.10.4"
27+
- "25.04.2"
2828
- "latest-everything"
2929
profile:
3030
- "docker"
@@ -75,7 +75,7 @@ jobs:
7575
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1
7676

7777
- name: "Run pipeline with test data ${{ matrix.NXF_VER }} | ${{ matrix.test_name }} | ${{ matrix.profile }}"
78-
if: "${{ (matrix.test_name != 'test' && matrix.profile == 'conda') || (matrix.test_name != 'test_conda' && matrix.profile != 'conda') }}"
78+
if: ${{ (matrix.test_name != 'test' && (matrix.profile == 'conda' || matrix.profile == 'singularity')) || (matrix.test_name != 'test_conda' && matrix.profile != 'conda' && matrix.profile != 'singularity') }}
7979
run: |
8080
nextflow run ${GITHUB_WORKSPACE} -profile ${{ matrix.test_name }},${{ matrix.profile }} --outdir ./results
8181
@@ -86,7 +86,7 @@ jobs:
8686
strategy:
8787
matrix:
8888
NXF_VER:
89-
- "24.10.4"
89+
- "25.04.2"
9090
- "latest-everything"
9191
profile:
9292
- "docker"
@@ -101,6 +101,7 @@ jobs:
101101
- "--skip_shiny"
102102
test_name:
103103
- "test"
104+
- "test_conda"
104105
steps:
105106
- name: Check out pipeline code
106107
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
@@ -121,10 +122,13 @@ jobs:
121122
run: |
122123
mkdir -p $NXF_SINGULARITY_CACHEDIR
123124
mkdir -p $NXF_SINGULARITY_LIBRARYDIR
125+
echo $(realpath $CONDA)/condabin >> $GITHUB_PATH
126+
echo $(realpath python) >> $GITHUB_PATH
124127
125128
- name: Clean up Disk space
126129
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1
127130

128131
- name: "Run pipeline with test data ${{ matrix.NXF_VER }} | ${{ matrix.test_name }} | ${{ matrix.profile }}"
132+
if: ${{ (matrix.test_name != 'test' && (matrix.profile == 'conda' || matrix.profile == 'singularity')) || (matrix.test_name != 'test_conda' && matrix.profile != 'conda' && matrix.profile != 'singularity') }}
129133
run: |
130-
nextflow run ${GITHUB_WORKSPACE} -profile test,${{ matrix.profile }} ${{ matrix.params }} --outdir ./results
134+
nextflow run ${GITHUB_WORKSPACE} -stub-run -profile ${{ matrix.test_name }},${{ matrix.profile }} ${{ matrix.params }} --outdir ./results

.github/workflows/download_pipeline.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
- name: Setup Apptainer
5353
uses: eWaterCycle/setup-apptainer@4bb22c52d4f63406c49e94c804632975787312b3 # v2.0.0
5454
with:
55-
apptainer-version: 1.3.4
55+
apptainer-version: 1.4.1
5656

5757
- name: Install dependencies
5858
run: |

.nf-core.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
lint:
2+
actions_ci: false # TODO: remove this with nf-core template version 3.3.0
23
files_exist:
34
- conf/igenomes.config
45
- conf/igenomes_ignored.config
56
files_unchanged:
67
- .github/CONTRIBUTING.md
78
multiqc_config: false
8-
actions_ci: false # TODO: remove this with nf-core template version 3.3.0
9-
nf_core_version: 3.2.0
9+
nf_core_version: 3.2.1
1010
repository_type: pipeline
1111
template:
1212
author: Luisa Santus, Jose Espinosa-Carrasco
@@ -16,4 +16,4 @@ template:
1616
name: multiplesequencealign
1717
org: nf-core
1818
outdir: .
19-
version: 1.1.0
19+
version: 1.1.1

CHANGELOG.md

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,17 @@
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+
## [1.1.1 - Bogatell](https://github.com/nf-core/multiplesequencealign/releases/tag/1.1.1)
7+
8+
Patch release with minor improvements in docs and validation of the pipeline.
9+
10+
### Enhancements & fixes
11+
12+
- [[#218](https://github.com/nf-core/multiplesequencealign/pull/218)] - Improve the input validation of the pipeline. This will prevent multiple downstream errors
13+
- [[#221](https://github.com/nf-core/multiplesequencealign/pull/218)] - Update pipeline documentation for Shiny.
14+
15+
### Parameters
16+
617
## [1.1.0 - Nova Icaria](https://github.com/nf-core/multiplesequencealign/releases/tag/1.1.0)
718

819
Nova Icaria is a beach in Barcelona. We started from Somorrostro (beach in front of CRG) and we are going up the way to Costa Brava.
@@ -61,10 +72,10 @@ Initial release of nf-core/multiplesequencealign, created with the [nf-core](htt
6172
- [[#35](https://github.com/nf-core/multiplesequencealign/issues/35)] - Add module MUSCLE5_SUPER5.
6273
- [[#59](https://github.com/nf-core/multiplesequencealign/issues/59)] - Add support for passing structure template in samplesheet.
6374
- [[#77](https://github.com/nf-core/multiplesequencealign/issues/77)] - Add module zip.
64-
- [[#93](https://github.com/nf-core/multiplesequencealign/pull/93)] - Add multiqc basic support. Add custom params validation. Add basic shiny app.
75+
- [[#93](https://github.com/nf-core/multiplesequencealign/pull/93)] - Add multiqc basic support. Add custom params validation. Add basic Shiny app.
6576
- [[#100](https://github.com/nf-core/multiplesequencealign/pull/100)] - Add support for optional stats and evals. Clean tests.
6677
- [[#110](https://github.com/nf-core/multiplesequencealign/issues/110)] - Add Readme documentation. Add nf-test for the pipeline.
67-
- [[#76](https://github.com/nf-core/multiplesequencealign/issues/76)] - Add reading of trace files for shiny app.
78+
- [[#76](https://github.com/nf-core/multiplesequencealign/issues/76)] - Add reading of trace files for Shiny app.
6879
- [[#99](https://github.com/nf-core/multiplesequencealign/issues/99)] - Add check for conflicting input parameters for stats and eval.
6980
- [[#117](https://github.com/nf-core/multiplesequencealign/issues/117)] - Add data for full datasets.
7081
- [[#90](https://github.com/nf-core/multiplesequencealign/issues/90)] - Add TCS evaluation metric.
@@ -74,7 +85,7 @@ Initial release of nf-core/multiplesequencealign, created with the [nf-core](htt
7485
- [[#139](https://github.com/nf-core/multiplesequencealign/pull/139)] - Add Foldmason.
7586
- [[#146](https://github.com/nf-core/multiplesequencealign/pull/146)] - Only show additional process tags when they exists and use the same ubuntu version in all modules.
7687
- [[#145](https://github.com/nf-core/multiplesequencealign/pull/145)] - Add consensus MSA.
77-
- [[#147](https://github.com/nf-core/multiplesequencealign/pull/147)] - Add small testing profile + some fixes of the shiny app.
88+
- [[#147](https://github.com/nf-core/multiplesequencealign/pull/147)] - Add small testing profile + some fixes of the Shiny app.
7889
- [[#148](https://github.com/nf-core/multiplesequencealign/pull/148)] - Add UPP module.
7990
- [[#150](https://github.com/nf-core/multiplesequencealign/pull/150)] - Update modules and readme for pre-release.
8091

@@ -91,7 +102,7 @@ Initial release of nf-core/multiplesequencealign, created with the [nf-core](htt
91102
- [[#134](https://github.com/nf-core/multiplesequencealign/pull/134)] - Code revision for release preparation.
92103
- [[#138](https://github.com/nf-core/multiplesequencealign/pull/138)] - MultiQC as nf-core module and fix visualization.
93104
- [[#152](https://github.com/nf-core/multiplesequencealign/pull/152)] - Ignore kalign error 132 and print a warning (incompatibility with some CPU types).
94-
- [[#153](https://github.com/nf-core/multiplesequencealign/pull/153)] - Fix time parser in shiny app.
105+
- [[#153](https://github.com/nf-core/multiplesequencealign/pull/153)] - Fix time parser in Shiny app.
95106
- [[#154](https://github.com/nf-core/multiplesequencealign/pull/154)] - Fix metromap.
96107
- [[#155](https://github.com/nf-core/multiplesequencealign/pull/155)] - Fix typos.
97108

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
[![GitHub Actions Linting Status](https://github.com/nf-core/multiplesequencealign/actions/workflows/linting.yml/badge.svg)](https://github.com/nf-core/multiplesequencealign/actions/workflows/linting.yml)[![AWS CI](https://img.shields.io/badge/CI%20tests-full%20size-FF9900?labelColor=000000&logo=Amazon%20AWS)](https://nf-co.re/multiplesequencealign/results)[![Cite with Zenodo](http://img.shields.io/badge/DOI-10.5281/zenodo.13889386-1073c8?labelColor=000000)](https://doi.org/10.5281/zenodo.13889386)
1010
[![nf-test](https://img.shields.io/badge/unit_tests-nf--test-337ab7.svg)](https://www.nf-test.com)
1111

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

2222
Use **nf-core/multiplesequencealign** to:
2323

24-
1. **Deploy** one (or many in parallel) of the most popular Multiple Sequence Alignment (MSA) tools.
24+
1. **Deploy** one (or many) of the most popular Multiple Sequence Alignment (MSA) tools.
2525
2. **Benchmark** MSA tools (and their inputs) using various metrics.
2626

2727
Main steps:
@@ -53,7 +53,7 @@ Main steps:
5353

5454
<br>
5555

56-
More introductory material: [talk](https://www.youtube.com/watch?v=suNulysHIN0) from the nextlow summit, [poster](https://github.com/nf-core/multiplesequencealign/blob/dev/docs/images/poster-nf-msa.pdf).
56+
More introductory material: [bytesize talk](https://youtu.be/iRY-Y1p5gtc), [nextflow summit talk](https://www.youtube.com/watch?v=suNulysHIN0), [poster](https://github.com/nf-core/multiplesequencealign/blob/dev/docs/images/poster-nf-msa.pdf).
5757

5858
![Alt text](docs/images/nf-core-msa_metro_map.png?raw=true "nf-core-msa metro map")
5959

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/multiplesequencealign/releases/tag/1.1.0"
2+
This report has been generated by the <a href="https://github.com/nf-core/multiplesequencealign/releases/tag/1.1.1"
33
target="_blank">nf-core/multiplesequencealign</a> analysis pipeline. For information
4-
about how to interpret these results, please see the <a href="https://nf-co.re/multiplesequencealign/1.1.0/docs/output"
4+
about how to interpret these results, please see the <a href="https://nf-co.re/multiplesequencealign/1.1.1/docs/output"
55
target="_blank">documentation</a>.
66
report_section_order:
77
"nf-core-multiplesequencealign-methods-description":

assets/schema_input.json

Lines changed: 22 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,26 +10,41 @@
1010
"id": {
1111
"type": "string",
1212
"pattern": "^\\S+$",
13-
"errorMessage": "Sample name must be provided and cannot contain spaces",
13+
"errorMessage": "Sample name must be provided, has to be a string and cannot contain spaces",
1414
"meta": ["id"]
1515
},
1616
"fasta": {
1717
"type": "string",
18-
"pattern": "^\\S+\\.f(ast)?a$",
19-
"errorMessage": "fasta file. Must end with .fa or .fasta",
20-
"default": ""
18+
"pattern": "^\\S+\\.f(n|ast)?a$",
19+
"exists": true,
20+
"format": "file-path",
21+
"errorMessage": "The fasta file has to exist and has to end in either '.fasta', '.fna' or '.fa'"
2122
},
2223
"reference": {
2324
"type": "string",
24-
"default": ""
25+
"pattern": "^\\S+\\.(f(n|ast)?a|ref)$",
26+
"exists": true,
27+
"format": "file-path",
28+
"errorMessage": "The reference file has to exist and has to end in either '.fasta', '.fna', '.fa' or '.ref'"
2529
},
2630
"optional_data": {
2731
"type": "string",
28-
"default": ""
32+
"anyOf": [
33+
{
34+
"format": "file-path",
35+
"pattern": "^\\S+\\.tar\\.gz$"
36+
},
37+
{
38+
"format": "directory-path"
39+
}
40+
],
41+
"exists": true
2942
},
3043
"template": {
3144
"type": "string",
32-
"default": ""
45+
"pattern": "^\\S+\\.txt$",
46+
"exists": true,
47+
"format": "file-path"
3348
}
3449
},
3550
"required": ["id"],

assets/schema_tools.json

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"tree": {
1111
"type": "string",
1212
"pattern": "^\\S+$",
13-
"errorMessage": "tree name cannot contain spaces",
13+
"errorMessage": "tree name cannot contain spaces and must be a string",
1414
"meta": ["tree"],
1515
"default": ""
1616
},
@@ -23,7 +23,22 @@
2323
"type": "string",
2424
"meta": ["aligner"],
2525
"pattern": "^\\S+$",
26-
"errorMessage": "align name must be provided and cannot contain spaces",
26+
"enum": [
27+
"CLUSTALO",
28+
"FAMSA",
29+
"KALIGN",
30+
"LEARNMSA",
31+
"MAFFT",
32+
"MAGUS",
33+
"MUSCLE5",
34+
"TCOFFEE",
35+
"REGRESSIVE",
36+
"UPP",
37+
"3DCOFFEE",
38+
"MTMALIGN",
39+
"FOLDMASON"
40+
],
41+
"errorMessage": "align name must be provided, has to be a string, cannot contain spaces and must be one of: CLUSTALO, FAMSA, KALIGN, LEARNMSA, MAFFT, MAGUS, MUSCLES, TCOFFEE, REGRESSIVE, UPP, 3DCOFFE, MTMALIGN or FOLDMASON",
2742
"default": ""
2843
},
2944
"args_aligner": {

0 commit comments

Comments
 (0)