Skip to content

Commit c7a6f38

Browse files
authored
Merge pull request #555 from nf-core/dev
Release 2.1.0
2 parents 1489b71 + 4237c6d commit c7a6f38

File tree

236 files changed

+9646
-4309
lines changed

Some content is hidden

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

236 files changed

+9646
-4309
lines changed

.editorconfig

+1-5
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,6 @@ indent_style = unset
2828
[/assets/email*]
2929
indent_size = unset
3030

31-
# ignore Readme
32-
[README.md]
33-
indent_style = unset
34-
35-
# ignore python
31+
# ignore python and markdown
3632
[*.{py,md}]
3733
indent_style = unset

.github/workflows/awsfulltest.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ on:
88
types: [published]
99
workflow_dispatch:
1010
jobs:
11-
run-tower:
11+
run-platform:
1212
name: Run AWS full tests
1313
if: github.repository == 'nf-core/raredisease'
1414
runs-on: ubuntu-latest
1515
steps:
16-
- name: Launch workflow via tower
16+
- name: Launch workflow via Seqera Platform
1717
uses: seqeralabs/action-tower-launch@v2
1818
# TODO nf-core: You can customise AWS full pipeline tests as required
1919
# Add full size test data (but still relatively small datasets for few samples)
@@ -33,7 +33,7 @@ jobs:
3333

3434
- uses: actions/upload-artifact@v4
3535
with:
36-
name: Tower debug log file
36+
name: Seqera Platform debug log file
3737
path: |
38-
tower_action_*.log
39-
tower_action_*.json
38+
seqera_platform_action_*.log
39+
seqera_platform_action_*.json

.github/workflows/awstest.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ name: nf-core AWS test
55
on:
66
workflow_dispatch:
77
jobs:
8-
run-tower:
8+
run-platform:
99
name: Run AWS tests
1010
if: github.repository == 'nf-core/raredisease'
1111
runs-on: ubuntu-latest
1212
steps:
13-
# Launch workflow using Tower CLI tool action
14-
- name: Launch workflow via tower
13+
# Launch workflow using Seqera Platform CLI tool action
14+
- name: Launch workflow via Seqera Platform
1515
uses: seqeralabs/action-tower-launch@v2
1616
with:
1717
workspace_id: ${{ secrets.TOWER_WORKSPACE_ID }}
@@ -27,7 +27,7 @@ jobs:
2727

2828
- uses: actions/upload-artifact@v4
2929
with:
30-
name: Tower debug log file
30+
name: Seqera Platform debug log file
3131
path: |
32-
tower_action_*.log
33-
tower_action_*.json
32+
seqera_platform_action_*.log
33+
seqera_platform_action_*.json

.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ jobs:
3131
- "-profile test_one_sample,docker"
3232
steps:
3333
- name: Check out pipeline code
34-
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
34+
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4
3535

3636
- name: Install Nextflow
37-
uses: nf-core/setup-nextflow@v1
37+
uses: nf-core/setup-nextflow@v2
3838
with:
3939
version: "${{ matrix.NXF_VER }}"
4040

.github/workflows/download_pipeline.yml

+8-4
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ on:
1414
pull_request:
1515
types:
1616
- opened
17+
- edited
18+
- synchronize
1719
branches:
1820
- master
1921
pull_request_target:
@@ -28,14 +30,14 @@ jobs:
2830
runs-on: ubuntu-latest
2931
steps:
3032
- name: Install Nextflow
31-
uses: nf-core/setup-nextflow@v1
33+
uses: nf-core/setup-nextflow@v2
3234

3335
- name: Disk space cleanup
3436
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1
3537

36-
- uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5
38+
- uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5
3739
with:
38-
python-version: "3.11"
40+
python-version: "3.12"
3941
architecture: "x64"
4042
- uses: eWaterCycle/setup-singularity@931d4e31109e875b13309ae1d07c70ca8fbc8537 # v7
4143
with:
@@ -68,7 +70,9 @@ jobs:
6870
- name: Inspect download
6971
run: tree ./${{ env.REPOTITLE_LOWERCASE }}
7072

71-
- name: Run the downloaded pipeline
73+
- name: Run the downloaded pipeline (stub)
74+
id: stub_run_pipeline
75+
continue-on-error: true
7276
env:
7377
NXF_SINGULARITY_CACHEDIR: ./
7478
NXF_SINGULARITY_HOME_MOUNT: true

.github/workflows/fix-linting.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
# Use the @nf-core-bot token to check out so we can push later
16-
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
16+
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4
1717
with:
1818
token: ${{ secrets.nf_core_bot_auth_token }}
1919

@@ -32,9 +32,9 @@ jobs:
3232
GITHUB_TOKEN: ${{ secrets.nf_core_bot_auth_token }}
3333

3434
# Install and run pre-commit
35-
- uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5
35+
- uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5
3636
with:
37-
python-version: 3.11
37+
python-version: "3.12"
3838

3939
- name: Install pre-commit
4040
run: pip install pre-commit

.github/workflows/linting.yml

+9-10
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,12 @@ jobs:
1414
pre-commit:
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
17+
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4
1818

19-
- name: Set up Python 3.11
20-
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5
19+
- name: Set up Python 3.12
20+
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5
2121
with:
22-
python-version: 3.11
23-
cache: "pip"
22+
python-version: "3.12"
2423

2524
- name: Install pre-commit
2625
run: pip install pre-commit
@@ -32,14 +31,14 @@ jobs:
3231
runs-on: ubuntu-latest
3332
steps:
3433
- name: Check out pipeline code
35-
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
34+
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4
3635

3736
- name: Install Nextflow
38-
uses: nf-core/setup-nextflow@v1
37+
uses: nf-core/setup-nextflow@v2
3938

40-
- uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5
39+
- uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5
4140
with:
42-
python-version: "3.11"
41+
python-version: "3.12"
4342
architecture: "x64"
4443

4544
- name: Install dependencies
@@ -60,7 +59,7 @@ jobs:
6059

6160
- name: Upload linting log file artifact
6261
if: ${{ always() }}
63-
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4
62+
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4
6463
with:
6564
name: linting-logs
6665
path: |

.github/workflows/linting_comment.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Download lint results
14-
uses: dawidd6/action-download-artifact@f6b0bace624032e30a85a8fd9c1a7f8f611f5737 # v3
14+
uses: dawidd6/action-download-artifact@09f2f74827fd3a8607589e5ad7f9398816f540fe # v3
1515
with:
1616
workflow: linting.yml
1717
workflow_conclusion: completed

.github/workflows/release-announcements.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- name: get topics and convert to hashtags
1313
id: get_topics
1414
run: |
15-
curl -s https://nf-co.re/pipelines.json | jq -r '.remote_workflows[] | select(.full_name == "${{ github.repository }}") | .topics[]' | awk '{print "#"$0}' | tr '\n' ' ' >> $GITHUB_OUTPUT
15+
echo "topics=$(curl -s https://nf-co.re/pipelines.json | jq -r '.remote_workflows[] | select(.full_name == "${{ github.repository }}") | .topics[]' | awk '{print "#"$0}' | tr '\n' ' ')" >> $GITHUB_OUTPUT
1616
1717
- uses: rzr/fediverse-action@master
1818
with:
@@ -25,13 +25,13 @@ jobs:
2525
2626
Please see the changelog: ${{ github.event.release.html_url }}
2727
28-
${{ steps.get_topics.outputs.GITHUB_OUTPUT }} #nfcore #openscience #nextflow #bioinformatics
28+
${{ steps.get_topics.outputs.topics }} #nfcore #openscience #nextflow #bioinformatics
2929
3030
send-tweet:
3131
runs-on: ubuntu-latest
3232

3333
steps:
34-
- uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5
34+
- uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5
3535
with:
3636
python-version: "3.10"
3737
- name: Install dependencies

.nf-core.yml

+2
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,6 @@ lint:
77
- docs/images/nf-core-raredisease_logo_dark.png
88
- docs/images/nf-core-raredisease_logo_light.png
99
- assets/nf-core-raredisease_logo_light.png
10+
modules_config: False
1011
repository_type: pipeline
12+
nf_core_version: "2.14.1"

.pre-commit-config.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ repos:
33
rev: "v3.1.0"
44
hooks:
55
- id: prettier
6+
additional_dependencies:
7+
- prettier@3.2.5
8+
69
- repo: https://github.com/editorconfig-checker/editorconfig-checker.python
710
rev: "2.7.3"
811
hooks:

CHANGELOG.md

+53
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,59 @@
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+
## 2.1.0 - Obelix [2024-05-29]
7+
8+
### `Added`
9+
10+
- A new aligner, bwameme [#553](https://github.com/nf-core/raredisease/pull/553)
11+
- A new parameter `run_mt_for_wes` to turn on mitochondrial analysis for targeted analysis [#552](https://github.com/nf-core/raredisease/pull/552)
12+
- A new parameter `bwa_as_fallback` to switch aligner to bwa in case bwamem2 fails [#551](https://github.com/nf-core/raredisease/pull/551)
13+
- A new parameter `skip_me_calling` to skip mobile element calling and the subsequent annotation of them [#556](https://github.com/nf-core/raredisease/pull/556)
14+
15+
### `Changed`
16+
17+
- Changed valid values for sex according to the PED file format [#550](https://github.com/nf-core/raredisease/pull/550)
18+
- Refactored config files [#538](https://github.com/nf-core/raredisease/pull/538)
19+
- Refactored mobile element annotation subworkflow files [#538](https://github.com/nf-core/raredisease/pull/538)
20+
- Refactored to remove "a process is defined more than once" warning [#557](https://github.com/nf-core/raredisease/pull/557)
21+
- Updated modules [#558](https://github.com/nf-core/raredisease/pull/558)
22+
23+
### `Fixed`
24+
25+
- Include multiallelic indel sites in CADD scoring jobs [#545](https://github.com/nf-core/raredisease/pull/545)
26+
- Fixed issues with samtools merge not being run on samples sequenced over multiple lanes [#538](https://github.com/nf-core/raredisease/pull/538)
27+
- Fixed join issues in the mobile element calling subworkflow which occured when mobile_element_references were not provided [#556](https://github.com/nf-core/raredisease/pull/556)
28+
29+
### Parameters
30+
31+
| Old parameter | New parameter |
32+
| ------------- | --------------- |
33+
| | bwameme |
34+
| | bwa_as_fallback |
35+
| | run_mt_for_wes |
36+
| | skip_me_calling |
37+
38+
:::note
39+
Parameter has been updated if both old and new parameter information is present.
40+
Parameter has been added if just the new parameter information is present.
41+
Parameter has been removed if new parameter information isn't present.
42+
:::
43+
44+
### Module updates
45+
46+
| Tool | Old version | New version |
47+
| -------- | ----------- | ----------- |
48+
| bwa | 0.7.17 | 0.7.18 |
49+
| CADD | 1.6.1 | 1.6.post1 |
50+
| Sentieon | 202308.01 | 202308.02 |
51+
| bwameme | | 1.0.6 |
52+
53+
:::note
54+
Version has been updated if both old and new version information is present.
55+
Version has been added if just the new version information is present.
56+
Version has been removed if new version information isn't present.
57+
:::
58+
659
## 2.0.1 - Asterix (Patch) [2024-03-25]
760

861
### `Fixed`

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
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/)
17-
[![Launch on Seqera Platform](https://img.shields.io/badge/Launch%20%F0%9F%9A%80-Seqera%20Platform-%234256e7)](https://tower.nf/launch?pipeline=https://github.com/nf-core/raredisease)
17+
[![Launch on Seqera Platform](https://img.shields.io/badge/Launch%20%F0%9F%9A%80-Seqera%20Platform-%234256e7)](https://cloud.seqera.io/launch?pipeline=https://github.com/nf-core/raredisease)
1818

1919
[![Get help on Slack](http://img.shields.io/badge/slack-nf--core%20%23raredisease-4A154B?labelColor=000000&logo=slack)](https://nfcore.slack.com/channels/raredisease)[![Follow on Twitter](http://img.shields.io/badge/twitter-%40nf__core-1DA1F2?labelColor=000000&logo=twitter)](https://twitter.com/nf_core)[![Follow on Mastodon](https://img.shields.io/badge/mastodon-nf__core-6364ff?labelColor=FFFFFF&logo=mastodon)](https://mstdn.science/@nf_core)[![Watch on YouTube](http://img.shields.io/badge/youtube-nf--core-FF0000?labelColor=000000&logo=youtube)](https://www.youtube.com/c/nf-core)
2020

assets/multiqc_config.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ custom_logo_url: https://github.com/nf-core/raredisease/
33
custom_logo_title: "nf-core/raredisease"
44

55
report_comment: >
6-
This report has been generated by the <a href="https://github.com/nf-core/raredisease/releases/tag/2.0.1" target="_blank">nf-core/raredisease</a>
6+
This report has been generated by the <a href="https://github.com/nf-core/raredisease/releases/tag/2.1.0" target="_blank">nf-core/raredisease</a>
77
analysis pipeline. For information about how to interpret these results, please see the
8-
<a href="https://nf-co.re/raredisease/2.0.1/docs/output" target="_blank">documentation</a>.
8+
<a href="https://nf-co.re/raredisease/2.1.0/docs/output" target="_blank">documentation</a>.
99
report_section_order:
1010
"nf-core-raredisease-methods-description":
1111
order: -1000

assets/schema_input.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@
4040
]
4141
},
4242
"sex": {
43-
"type": "integer",
43+
"type": "string",
4444
"meta": ["sex"],
45-
"enum": [0, 1, 2],
45+
"enum": ["1", "2", "other"],
4646
"errorMessage": "Sex must be provided and cannot contain spaces"
4747
},
4848
"phenotype": {

conf/base.config

+4-2
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,9 @@ process {
5757
errorStrategy = 'retry'
5858
maxRetries = 2
5959
}
60-
withName:CUSTOM_DUMPSOFTWAREVERSIONS {
61-
cache = false
60+
withName: 'NFCORE_RAREDISEASE:RAREDISEASE:.*' {
61+
publishDir = [
62+
enabled: false
63+
]
6264
}
6365
}

conf/modules/align.config

+18-27
Original file line numberDiff line numberDiff line change
@@ -12,36 +12,27 @@
1212
*/
1313

1414
process{
15-
withName: '.*ALIGN:.*' {
15+
16+
withName: '.*ALIGN:FASTP' {
17+
ext.args = { [
18+
params.min_trimmed_length ? "--length_required ${params.min_trimmed_length}" : '',
19+
'--correction',
20+
'--overrepresentation_analysis'
21+
].join(' ').trim() }
1622
publishDir = [
17-
enabled: false
23+
path: { "${params.outdir}/trimming" },
24+
mode: params.publish_dir_mode,
25+
saveAs: { filename -> filename.equals('versions.yml') ? null : filename }
1826
]
1927
}
2028

21-
if (!params.skip_fastp) {
22-
withName: '.*ALIGN:FASTP' {
23-
ext.args = { [
24-
params.min_trimmed_length ? "--length_required ${params.min_trimmed_length}" : '',
25-
'--correction',
26-
'--overrepresentation_analysis'
27-
].join(' ').trim() }
28-
publishDir = [
29-
path: { "${params.outdir}/trimming" },
30-
mode: params.publish_dir_mode,
31-
saveAs: { filename -> filename.equals('versions.yml') ? null : filename }
32-
]
33-
}
34-
}
35-
36-
if (params.save_mapped_as_cram) {
37-
withName: '.*ALIGN:SAMTOOLS_VIEW' {
38-
ext.args = { '--output-fmt cram --write-index' }
39-
ext.prefix = { "${meta.id}_sorted_md" }
40-
publishDir = [
41-
path: { "${params.outdir}/alignment" },
42-
mode: params.publish_dir_mode,
43-
saveAs: { filename -> filename.equals('versions.yml') ? null : filename }
44-
]
45-
}
29+
withName: '.*ALIGN:SAMTOOLS_VIEW' {
30+
ext.args = { '--output-fmt cram --write-index' }
31+
ext.prefix = { "${meta.id}_sorted_md" }
32+
publishDir = [
33+
path: { "${params.outdir}/alignment" },
34+
mode: params.publish_dir_mode,
35+
saveAs: { filename -> filename.equals('versions.yml') ? null : filename }
36+
]
4637
}
4738
}

0 commit comments

Comments
 (0)