Skip to content

Commit 7ac7651

Browse files
Merge branch 'master' into assemblyscan_1.0.0
2 parents 0ff0b69 + 25e0cf8 commit 7ac7651

File tree

1,473 files changed

+29512
-9011
lines changed

Some content is hidden

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

1,473 files changed

+29512
-9011
lines changed

.devcontainer/devcontainer.json

Lines changed: 15 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,20 @@
11
{
2-
"name": "nfcore",
3-
"image": "nfcore/gitpod:dev",
4-
"remoteUser": "gitpod",
5-
"runArgs": ["--privileged"],
6-
// Configure tool-specific properties.
7-
"customizations": {
8-
// Configure properties specific to VS Code.
9-
"vscode": {
10-
// Set *default* container specific settings.json values on container create.
11-
"settings": {
12-
"python.defaultInterpreterPath": "/opt/conda/bin/python",
13-
"python.linting.enabled": true
14-
},
2+
"name": "nfcore-modules",
3+
"image": "nfcore/devcontainer:dev",
154

16-
// Add the IDs of extensions you want installed when the container is created.
17-
"extensions": ["nf-core.nf-core-extensionpack"]
18-
}
5+
"remoteEnv": {
6+
// Workspace path on the host for mounting with docker-outside-of-docker
7+
"LOCAL_WORKSPACE_FOLDER": "${localWorkspaceFolder}"
198
},
20-
"features": {
21-
"ghcr.io/devcontainers/features/github-cli:1.0.11": {
22-
"digest": "sha256:464564228ccdd6028f01f8a62a3cfbaf76e9ba7953b29ac0e53ba2c262604312"
23-
},
24-
"ghcr.io/devcontainers/features/docker-in-docker:2.9.2": {
25-
"digest": "sha256:9074d8eaf4585ab1498c81a8762078992725614fc7a9cfafe799aa22717a6bbf"
26-
}
9+
10+
"onCreateCommand": "./.devcontainer/setup.sh",
11+
12+
"remoteUser": "root",
13+
"privileged": true,
14+
15+
"hostRequirements": {
16+
"cpus": 4,
17+
"memory": "16gb",
18+
"storage": "32gb"
2719
}
2820
}

.devcontainer/setup.sh

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#!/usr/bin/env bash
2+
3+
# Customise the terminal command prompt
4+
echo "export PROMPT_DIRTRIM=2" >> $HOME/.bashrc
5+
echo "export PS1='\[\e[3;36m\]\w ->\[\e[0m\\] '" >> $HOME/.bashrc
6+
export PS1='\[\e[3;36m\]\w ->\[\e[0m\\] '
7+
8+
# Update Nextflow
9+
nextflow self-update
10+
11+
# Install prek hooks
12+
pip install prek
13+
prek install --install-hooks
14+
15+
# Update welcome message
16+
echo "Welcome to nf-core/modules devcontainer!" > /usr/local/etc/vscode-dev-containers/first-run-notice.txt

.github/actions/nf-test-action/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ runs:
2828
version: "${{ env.NXF_VERSION }}"
2929

3030
- name: Set up Python
31-
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6
31+
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6
3232
with:
3333
python-version: "3.14"
3434

.github/renovate.json5

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,25 @@
22
$schema: "https://docs.renovatebot.com/renovate-schema.json",
33
extends: [
44
"github>nf-core/ops//.github/renovate/default.json5",
5-
"github>nf-core/ops//.github/renovate/process_updaters.json5",
5+
// "github>nf-core/ops//.github/renovate/process_updaters.json5",
66
],
77
prHeader: "## WARNING\n - [ ] I have made sure to update the singularity and conda images",
88
packageRules: [
99
{
1010
matchDatasources: ["conda", "pypi", "docker"],
1111
automerge: false,
1212
},
13+
{
14+
matchManagers: [
15+
"github-actions",
16+
"npm",
17+
"pip_requirements",
18+
"pip_setup",
19+
],
20+
groupName: "Infrastructural dependencies",
21+
schedule: ["before 6am on Monday"],
22+
matchPackageNames: ["!/biocontainers/*/"],
23+
},
1324
],
1425
customManagers: [
1526
{

.github/skip_nf_test.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"conda": [
33
"modules/nf-core/angsd/gl",
44
"modules/nf-core/annotsv/installannotations",
5-
"modules/nf-core/backsub",
65
"modules/nf-core/bakta/bakta",
76
"modules/nf-core/bakta/baktadbdownload",
87
"modules/nf-core/bases2fastq",

.github/workflows/fix-linting.yml

Lines changed: 7 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
# Use the @nf-core-bot token to check out so we can push later
17-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
17+
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6
1818
with:
1919
token: ${{ secrets.nf_core_bot_auth_token }}
2020

@@ -32,26 +32,13 @@ jobs:
3232
env:
3333
GITHUB_TOKEN: ${{ secrets.nf_core_bot_auth_token }}
3434

35-
- uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6
36-
37-
- name: Install Prettier
38-
run: npm install -g prettier @prettier/plugin-php
39-
40-
# Check that we actually need to fix something
41-
- name: Run 'prettier --check'
42-
id: prettier_status
43-
run: |
44-
if prettier --check ${GITHUB_WORKSPACE}; then
45-
echo "::set-output name=result::pass"
46-
else
47-
echo "::set-output name=result::fail"
48-
fi
49-
- name: Run 'prettier --write'
50-
if: steps.prettier_status.outputs.result == 'fail'
51-
run: prettier --write ${GITHUB_WORKSPACE}
35+
- name: Run prek
36+
id: prek
37+
uses: j178/prek-action@91fd7d7cf70ae1dee9f4f44e7dfa5d1073fe6623 # v1
38+
continue-on-error: true
5239

5340
- name: Post nothing-to-do comment
54-
if: steps.prettier_status.outputs.result == 'pass'
41+
if: steps.prek.outcome == 'success'
5542
uses: peter-evans/create-or-update-comment@e8674b075228eee787fea43ef493e45ece1004c9 # v5
5643
with:
5744
issue-number: ${{ github.event.issue.number }}
@@ -60,7 +47,7 @@ jobs:
6047
This is probably because the linting errors come from `nf-core lint` and have to be fixed manually (or with `nf-core lint --fix`).
6148
6249
- name: Commit & push changes
63-
if: steps.prettier_status.outputs.result == 'fail'
50+
if: steps.prek.outcome == 'failure'
6451
run: |
6552
git config user.email "[email protected]"
6653
git config user.name "nf-core-bot"

.github/workflows/lint.yml

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,9 @@ jobs:
3535
pre-commit:
3636
runs-on: ${{ github.event.inputs.runners || github.run_number > 1 && 'ubuntu-latest' || 'self-hosted' }}
3737
steps:
38-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
39-
- uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6
40-
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
41-
with:
42-
extra_args: ""
38+
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6
39+
- name: Run prek
40+
uses: j178/prek-action@91fd7d7cf70ae1dee9f4f44e7dfa5d1073fe6623 # v1
4341

4442
###################
4543
# nf-core linting #
@@ -64,7 +62,7 @@ jobs:
6462
sudo rm -rf ./* || true
6563
sudo rm -rf ./.* || true
6664
67-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
65+
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6
6866
with:
6967
fetch-depth: 2 # To retrieve the preceding commit.
7068

@@ -85,10 +83,10 @@ jobs:
8583
with:
8684
script: |
8785
return [...new Set(${{ steps.filter.outputs.modules_files }}
88-
.filter(x => x.endsWith('main.nf'))
86+
.filter(x => x.endsWith('main.nf') || x.endsWith('.nf.test.snap'))
8987
.map(path => path
9088
.replace('modules/nf-core/', '')
91-
.replace(/\/main\.nf$/, '')
89+
.replace(/\/(main\.nf|tests\/.*)$/, '')
9290
)
9391
)];
9492
- name: Get subworkflow name
@@ -97,10 +95,10 @@ jobs:
9795
with:
9896
script: |
9997
return [...new Set(${{ steps.filter.outputs.subworkflows_files }}
100-
.filter(x => x.endsWith('main.nf'))
98+
.filter(x => x.endsWith('main.nf') || x.endsWith('.nf.test.snap'))
10199
.map(path => path
102100
.replace('subworkflows/nf-core/', '')
103-
.replace(/\/main\.nf$/, '')
101+
.replace(/\/(main\.nf|tests\/.*)$/, '')
104102
)
105103
)];
106104
@@ -128,9 +126,9 @@ jobs:
128126
run: |
129127
sudo rm -rf ./* || true
130128
sudo rm -rf ./.* || true
131-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
129+
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6
132130
- name: Set up Python
133-
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6
131+
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6
134132
with:
135133
python-version: "3.14"
136134

@@ -176,9 +174,9 @@ jobs:
176174
run: |
177175
sudo rm -rf ./* || true
178176
sudo rm -rf ./.* || true
179-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
177+
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6
180178
- name: Set up Python
181-
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6
179+
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6
182180
with:
183181
python-version: "3.14"
184182

.github/workflows/nf-test-gpu.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
rm -rf ./* || true
5454
rm -rf ./.??* || true
5555
ls -la ./
56-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
56+
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6
5757
with:
5858
fetch-depth: 0
5959

@@ -105,7 +105,7 @@ jobs:
105105
TOTAL_SHARDS: ${{ needs.nf-test-changes.outputs.total_shards }}
106106

107107
steps:
108-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
108+
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6
109109
with:
110110
fetch-depth: 0
111111
- name: test cuda

.github/workflows/nf-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
rm -rf ./* || true
5252
rm -rf ./.??* || true
5353
ls -la ./
54-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
54+
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6
5555
with:
5656
fetch-depth: 0
5757

@@ -112,7 +112,7 @@ jobs:
112112
filtered_paths: ${{ steps.filter.outputs.filtered_paths }}
113113

114114
steps:
115-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
115+
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6
116116
with:
117117
fetch-depth: 0
118118

.github/workflows/pytest-workflow.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ env:
2929
NXF_SINGULARITY_LIBRARYDIR: ${{ github.workspace }}/.singularity
3030
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3131
# renovate: datasource=github-releases depName=nextflow-io/nextflow versioning=semver
32-
NXF_VER: "24.10.2"
32+
NXF_VER: "24.10.9"
3333

3434
jobs:
3535
pytest-changes:
@@ -43,7 +43,7 @@ jobs:
4343
modules: ${{ steps.tags.outputs.modules }}
4444
subworkflows: ${{ steps.tags.outputs.subworkflows }}
4545
steps:
46-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
46+
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6
4747
with:
4848
fetch-depth: 2 # To retrieve the preceding commit.
4949

@@ -76,8 +76,6 @@ jobs:
7676
profile: [conda, docker, singularity]
7777
exclude:
7878
- tags: nf-test
79-
- profile: conda
80-
tags: backsub
8179
- profile: conda
8280
tags: bases2fastq
8381
- profile: singularity
@@ -231,10 +229,10 @@ jobs:
231229
env:
232230
NXF_ANSI_LOG: false
233231
steps:
234-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
232+
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6
235233

236234
- name: Set up Python
237-
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6
235+
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6
238236
with:
239237
python-version: "3.14"
240238

0 commit comments

Comments
 (0)