Skip to content

Commit 5aa5646

Browse files
authored
Merge pull request #585 from nf-core/dev
Dev -> Master v4.2.0
2 parents db60bfe + 7e94991 commit 5aa5646

267 files changed

Lines changed: 13556 additions & 4608 deletions

File tree

Some content is hidden

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

.devcontainer/devcontainer.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
{
22
"name": "nfcore",
3-
"image": "nfcore/gitpod:latest",
4-
"remoteUser": "gitpod",
5-
"runArgs": ["--privileged"],
3+
"image": "nfcore/devcontainer:latest",
64

7-
// Configure tool-specific properties.
8-
"customizations": {
9-
// Configure properties specific to VS Code.
10-
"vscode": {
11-
// Set *default* container specific settings.json values on container create.
12-
"settings": {
13-
"python.defaultInterpreterPath": "/opt/conda/bin/python"
14-
},
5+
"remoteUser": "root",
6+
"privileged": true,
157

16-
// Add the IDs of extensions you want installed when the container is created.
17-
"extensions": ["ms-python.python", "ms-python.vscode-pylance", "nf-core.nf-core-extensionpack"]
18-
}
8+
"remoteEnv": {
9+
// Workspace path on the host for mounting with docker-outside-of-docker
10+
"LOCAL_WORKSPACE_FOLDER": "${localWorkspaceFolder}"
11+
},
12+
13+
"onCreateCommand": "./.devcontainer/setup.sh",
14+
15+
"hostRequirements": {
16+
"cpus": 4,
17+
"memory": "16gb",
18+
"storage": "32gb"
1919
}
2020
}

.devcontainer/setup.sh

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
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 PROMPT_DIRTRIM=2
7+
export PS1='\[\e[3;36m\]\w ->\[\e[0m\\] '
8+
9+
# Update Nextflow
10+
nextflow self-update
11+
12+
# Update welcome message
13+
echo "Welcome to the nf-core/methylseq devcontainer!" > /usr/local/etc/vscode-dev-containers/first-run-notice.txt

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ runs:
3131
version: "${{ env.NXF_VER }}"
3232

3333
- name: Set up Python
34-
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5
34+
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6
3535
with:
36-
python-version: "3.11"
36+
python-version: "3.14"
3737

3838
- name: Install nf-test
3939
uses: nf-core/setup-nf-test@v1
@@ -58,6 +58,8 @@ runs:
5858
with:
5959
auto-update-conda: true
6060
conda-solver: libmamba
61+
channels: conda-forge
62+
channel-priority: strict
6163
conda-remove-defaults: true
6264

6365
- name: Run nf-test

.github/workflows/awsfulltest.yml

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ jobs:
2828
- aligner: "bwameth"
2929
profile: "test_full"
3030
compute_env: "CPU"
31+
- aligner: "bwamem"
32+
profile: "test_full"
33+
compute_env: "CPU"
3134
- aligner: "bwameth"
3235
profile: "test_full,gpu"
3336
compute_env: "GPU"
@@ -40,6 +43,9 @@ jobs:
4043
- aligner: "bwameth"
4144
profile: "test_full"
4245
compute_env: "ARM"
46+
- aligner: "bwamem"
47+
profile: "test_full"
48+
compute_env: "ARM"
4349
steps:
4450
- name: Set revision variable
4551
id: revision
@@ -57,21 +63,19 @@ jobs:
5763
with:
5864
workspace_id: ${{ vars.TOWER_WORKSPACE_ID }}
5965
access_token: ${{ secrets.TOWER_ACCESS_TOKEN }}
60-
compute_env: ${{ matrix.compute_env == 'CPU' && vars.TOWER_COMPUTE_ENV_CPU || matrix.compute_env == 'GPU' && vars.TOWER_COMPUTE_ENV_GPU || vars.TOWER_COMPUTE_ENV_ARM }}
66+
compute_env: ${{ vars.TOWER_COMPUTE_ENV }}
6167
revision: ${{ steps.revision.outputs.revision }}
62-
workdir: s3://nf-core-awsmegatests/work/methylseq/work-${{ steps.revision.outputs.revision }}-${{ matrix.aligner }}-${{ matrix.compute_env }}
63-
labels: ${{ matrix.compute_env == 'GPU' && 'full_test,gpu' || matrix.compute_env == 'ARM' && 'full_test,arm,wave' || 'full_test' }}
68+
workdir: s3://${{ vars.AWS_S3_BUCKET }}/work/methylseq/work-${{ steps.revision.outputs.revision }}
6469
parameters: |
6570
{
6671
"hook_url": "${{ secrets.MEGATESTS_ALERTS_SLACK_HOOK_URL }}",
67-
"outdir": "s3://nf-core-awsmegatests/methylseq/results-${{ steps.revision.outputs.revision }}-${{ matrix.aligner }}-${{ matrix.compute_env }}",
68-
"aligner": "${{ matrix.aligner }}"
72+
"outdir": "s3://${{ vars.AWS_S3_BUCKET }}/methylseq/results-${{ steps.revision.outputs.revision }}"
6973
}
7074
profiles: ${{ matrix.profile }}
7175

72-
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
76+
- uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
7377
with:
7478
name: Seqera Platform debug log file (${{ matrix.aligner }}-${{ matrix.compute_env }})
7579
path: |
76-
seqera_platform_action_*.log
77-
seqera_platform_action_*.json
80+
tower_action_*.log
81+
tower_action_*.json

.github/workflows/awstest.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,21 +17,20 @@ jobs:
1717
- name: Launch workflow via Seqera Platform
1818
uses: seqeralabs/action-tower-launch@v2
1919
with:
20-
workspace_id: ${{ secrets.TOWER_WORKSPACE_ID }}
20+
workspace_id: ${{ vars.TOWER_WORKSPACE_ID }}
2121
access_token: ${{ secrets.TOWER_ACCESS_TOKEN }}
22-
compute_env: ${{ secrets.TOWER_COMPUTE_ENV }}
22+
compute_env: ${{ vars.TOWER_COMPUTE_ENV }}
2323
revision: ${{ github.sha }}
24-
workdir: s3://${{ secrets.AWS_S3_BUCKET }}/work/methylseq/work-${{ github.sha }}
24+
workdir: s3://${{ vars.AWS_S3_BUCKET }}/work/methylseq/work-${{ github.sha }}
2525
parameters: |
2626
{
27-
"aligner": "${{ matrix.aligner }}",
28-
"outdir": "s3://${{ secrets.AWS_S3_BUCKET }}/methylseq/results-test-${{ github.sha }}/${{matrix.aligner}}"
27+
"outdir": "s3://${{ vars.AWS_S3_BUCKET }}/methylseq/results-test-${{ github.sha }}"
2928
}
3029
profiles: test
3130

32-
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
31+
- uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
3332
with:
3433
name: Seqera Platform debug log file
3534
path: |
36-
seqera_platform_action_*.log
37-
seqera_platform_action_*.json
35+
tower_action_*.log
36+
tower_action_*.json

.github/workflows/clean-up.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
issues: write
1111
pull-requests: write
1212
steps:
13-
- uses: actions/stale@5bef64f19d7facfb25b37b414482c7164d639639 # v9
13+
- uses: actions/stale@5f858e3efba33a5ca4407a664cc011ad407f2008 # v10
1414
with:
1515
stale-issue-message: "This issue has been tagged as awaiting-changes or awaiting-feedback by an nf-core contributor. Remove stale label or add a comment otherwise this issue will be closed in 20 days."
1616
stale-pr-message: "This PR has been tagged as awaiting-changes or awaiting-feedback by an nf-core contributor. Remove stale label or add a comment if it is still useful."

.github/workflows/download_pipeline.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ jobs:
4444
- name: Disk space cleanup
4545
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1
4646

47-
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
47+
- uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6
4848
with:
49-
python-version: "3.13"
49+
python-version: "3.14"
5050
architecture: "x64"
5151

5252
- name: Setup Apptainer
@@ -57,7 +57,7 @@ jobs:
5757
- name: Install dependencies
5858
run: |
5959
python -m pip install --upgrade pip
60-
pip install git+https://github.com/nf-core/tools.git@dev
60+
pip install git+https://github.com/nf-core/tools.git
6161
6262
- name: Make a cache directory for the container images
6363
run: |
@@ -127,7 +127,7 @@ jobs:
127127
fi
128128
129129
- name: Upload Nextflow logfile for debugging purposes
130-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
130+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
131131
with:
132132
name: nextflow_logfile.txt
133133
path: .nextflow.log*

.github/workflows/fix_linting.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ 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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
16+
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
1717
with:
1818
token: ${{ secrets.nf_core_bot_auth_token }}
1919

2020
# indication that the linting is being fixed
2121
- name: React on comment
22-
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4
22+
uses: peter-evans/create-or-update-comment@e8674b075228eee787fea43ef493e45ece1004c9 # v5
2323
with:
2424
comment-id: ${{ github.event.comment.id }}
2525
reactions: eyes
@@ -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@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
35+
- uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6
3636
with:
37-
python-version: "3.13"
37+
python-version: "3.14"
3838

3939
- name: Install pre-commit
4040
run: pip install pre-commit
@@ -47,7 +47,7 @@ jobs:
4747
# indication that the linting has finished
4848
- name: react if linting finished succesfully
4949
if: steps.pre-commit.outcome == 'success'
50-
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4
50+
uses: peter-evans/create-or-update-comment@e8674b075228eee787fea43ef493e45ece1004c9 # v5
5151
with:
5252
comment-id: ${{ github.event.comment.id }}
5353
reactions: "+1"
@@ -67,21 +67,21 @@ jobs:
6767
- name: react if linting errors were fixed
6868
id: react-if-fixed
6969
if: steps.commit-and-push.outcome == 'success'
70-
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4
70+
uses: peter-evans/create-or-update-comment@e8674b075228eee787fea43ef493e45ece1004c9 # v5
7171
with:
7272
comment-id: ${{ github.event.comment.id }}
7373
reactions: hooray
7474

7575
- name: react if linting errors were not fixed
7676
if: steps.commit-and-push.outcome == 'failure'
77-
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4
77+
uses: peter-evans/create-or-update-comment@e8674b075228eee787fea43ef493e45ece1004c9 # v5
7878
with:
7979
comment-id: ${{ github.event.comment.id }}
8080
reactions: confused
8181

8282
- name: react if linting errors were not fixed
8383
if: steps.commit-and-push.outcome == 'failure'
84-
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4
84+
uses: peter-evans/create-or-update-comment@e8674b075228eee787fea43ef493e45ece1004c9 # v5
8585
with:
8686
issue-number: ${{ github.event.issue.number }}
8787
body: |

.github/workflows/linting.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ jobs:
1111
pre-commit:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
14+
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
1515

16-
- name: Set up Python 3.13
17-
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
16+
- name: Set up Python 3.14
17+
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6
1818
with:
19-
python-version: "3.13"
19+
python-version: "3.14"
2020

2121
- name: Install pre-commit
2222
run: pip install pre-commit
@@ -28,14 +28,14 @@ jobs:
2828
runs-on: ubuntu-latest
2929
steps:
3030
- name: Check out pipeline code
31-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
31+
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
3232

3333
- name: Install Nextflow
3434
uses: nf-core/setup-nextflow@v2
3535

36-
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
36+
- uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6
3737
with:
38-
python-version: "3.13"
38+
python-version: "3.14"
3939
architecture: "x64"
4040

4141
- name: read .nf-core.yml
@@ -71,7 +71,7 @@ jobs:
7171

7272
- name: Upload linting log file artifact
7373
if: ${{ always() }}
74-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
74+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
7575
with:
7676
name: linting-logs
7777
path: |

.github/workflows/linting_comment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
run: echo "pr_number=$(cat linting-logs/PR_number.txt)" >> $GITHUB_OUTPUT
2222

2323
- name: Post PR comment
24-
uses: marocchino/sticky-pull-request-comment@52423e01640425a022ef5fd42c6fb5f633a02728 # v2
24+
uses: marocchino/sticky-pull-request-comment@773744901bac0e8cbb5a0dc842800d45e9b2b405 # v2
2525
with:
2626
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2727
number: ${{ steps.pr_number.outputs.pr_number }}

0 commit comments

Comments
 (0)