Skip to content

Commit ea88402

Browse files
authored
Merge pull request #1460 from nf-core/dev
Release 3.4.1
2 parents 6aeac92 + 10fa131 commit ea88402

File tree

564 files changed

+24169
-3417
lines changed

Some content is hidden

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

564 files changed

+24169
-3417
lines changed

.devcontainer/devcontainer.json

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,7 @@
1010
"vscode": {
1111
// Set *default* container specific settings.json values on container create.
1212
"settings": {
13-
"python.defaultInterpreterPath": "/opt/conda/bin/python",
14-
"python.linting.enabled": true,
15-
"python.linting.pylintEnabled": true,
16-
"python.formatting.autopep8Path": "/opt/conda/bin/autopep8",
17-
"python.formatting.yapfPath": "/opt/conda/bin/yapf",
18-
"python.linting.flake8Path": "/opt/conda/bin/flake8",
19-
"python.linting.pycodestylePath": "/opt/conda/bin/pycodestyle",
20-
"python.linting.pydocstylePath": "/opt/conda/bin/pydocstyle",
21-
"python.linting.pylintPath": "/opt/conda/bin/pylint"
13+
"python.defaultInterpreterPath": "/opt/conda/bin/python"
2214
},
2315

2416
// Add the IDs of extensions you want installed when the container is created.

.editorconfig

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,20 @@ end_of_line = unset
1818
insert_final_newline = unset
1919
trim_trailing_whitespace = unset
2020
indent_style = unset
21-
indent_size = unset
21+
[/subworkflows/nf-core/**]
22+
charset = unset
23+
end_of_line = unset
24+
insert_final_newline = unset
25+
trim_trailing_whitespace = unset
26+
indent_style = unset
2227

2328
[/assets/email*]
2429
indent_size = unset
30+
31+
# ignore Readme
32+
[README.md]
33+
indent_style = unset
34+
35+
# ignore python
36+
[*.{py,md}]
37+
indent_style = unset

.github/CONTRIBUTING.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,8 @@ Please use the pre-filled template to save time.
99
However, don't be put off by this template - other more general issues and suggestions are welcome!
1010
Contributions to the code are even more welcome ;)
1111

12-
:::info
13-
If you need help using or modifying nf-core/sarek then the best place to ask is on the nf-core Slack [#sarek](https://nfcore.slack.com/channels/sarek) channel ([join our Slack here](https://nf-co.re/join/slack)).
14-
:::
12+
> [!NOTE]
13+
> If you need help using or modifying nf-core/sarek then the best place to ask is on the nf-core Slack [#sarek](https://nfcore.slack.com/channels/sarek) channel ([join our Slack here](https://nf-co.re/join/slack)).
1514
1615
## Contribution workflow
1716

@@ -27,6 +26,12 @@ If you're not used to this workflow with git, you can start with some [docs from
2726

2827
## Tests
2928

29+
You have the option to test your changes locally by running the pipeline. For receiving warnings about process selectors and other `debug` information, it is recommended to use the debug profile. Execute all the tests with the following command:
30+
31+
```bash
32+
nf-test test --profile debug,test,docker --verbose
33+
```
34+
3035
When you create a pull request with changes, [GitHub Actions](https://github.com/features/actions) will run automatic tests.
3136
Typically, pull-requests are only fully reviewed when these tests are passing, though of course we can help out before then.
3237

@@ -87,7 +92,7 @@ Once there, use `nf-core schema build` to add to `nextflow_schema.json`.
8792

8893
Sensible defaults for process resource requirements (CPUs / memory / time) for a process should be defined in `conf/base.config`. These should generally be specified generic with `withLabel:` selectors so they can be shared across multiple processes/steps of the pipeline. A nf-core standard set of labels that should be followed where possible can be seen in the [nf-core pipeline template](https://github.com/nf-core/tools/blob/master/nf_core/pipeline-template/conf/base.config), which has the default process as a single core-process, and then different levels of multi-core configurations for increasingly large memory requirements defined with standardised labels.
8994

90-
The process resources can be passed on to the tool dynamically within the process with the `${task.cpu}` and `${task.memory}` variables in the `script:` block.
95+
The process resources can be passed on to the tool dynamically within the process with the `${task.cpus}` and `${task.memory}` variables in the `script:` block.
9196

9297
### Naming schemes
9398

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ Learn more about contributing: [CONTRIBUTING.md](https://github.com/nf-core/sare
1818
- [ ] If you've added a new tool - have you followed the pipeline conventions in the [contribution docs](https://github.com/nf-core/sarek/tree/master/.github/CONTRIBUTING.md)
1919
- [ ] If necessary, also make a PR on the nf-core/sarek _branch_ on the [nf-core/test-datasets](https://github.com/nf-core/test-datasets) repository.
2020
- [ ] Make sure your code lints (`nf-core lint`).
21-
- [ ] Ensure the test suite passes (`nextflow run . -profile test,docker --outdir <OUTDIR>`).
21+
- [ ] Ensure the test suite passes (`nf-test test tests/ --verbose --profile +docker`).
22+
- [ ] Check for unexpected warnings in debug mode (`nextflow run . -profile debug,test,docker --outdir <OUTDIR>`).
2223
- [ ] Usage Documentation in `docs/usage.md` is updated.
2324
- [ ] Output Documentation in `docs/output.md` is updated.
2425
- [ ] `CHANGELOG.md` is updated.

.github/RELEASE_CHECKLIST.md

Lines changed: 23 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,22 @@
33
> This checklist is for our own reference, to help us prepare a new release
44
55
1. Check that everything is ready to go
6-
- Desired [PRs](https://github.com/nf-core/sarek/pulls) are merged
7-
- [GHA CI](https://github.com/nf-core/sarek/actions/workflows/ci.yml) are passing on `dev`
8-
- [GHA linting](https://github.com/nf-core/sarek/actions/workflows/linting.yml) are passing on `dev`
6+
7+
- Desired [PRs](https://github.com/nf-core/sarek/pulls) are merged
8+
- [GHA CI](https://github.com/nf-core/sarek/actions/workflows/ci.yml) are passing on `dev`
9+
- [GHA linting](https://github.com/nf-core/sarek/actions/workflows/linting.yml) are passing on `dev`
10+
911
2. Increase version number following [semantic versioning](http://semver.org/spec/v2.0.0.html)
1012
3. Choose an appropriate codename for the release (if major or minor)
11-
- i.e. Peaks in [Sarek National Park](https://en.wikipedia.org/wiki/Sarek_National_Park#Topography)
13+
14+
- i.e. Peaks in [Sarek National Park](https://en.wikipedia.org/wiki/Sarek_National_Park#Topography)
15+
1216
4. Sync `dev` and checkout a new branch for the release
1317
5. Bump version:
14-
- `nf-core bump-version . <VERSION>`
15-
- edit `docs/images/sarek_indices_subway.svg`
16-
- generate a new `docs/images/sarek_indices_subway.png`
17-
- edit `docs/images/sarek_subway.svg`
18-
- generate a new `docs/images/sarek_subway.png`
19-
- edit `docs/images/sarek_workflow.svg`
20-
- generate a new `docs/images/sarek_workflow.png`
21-
- edit `CHANGELOG`
18+
19+
- `nf-core bump-version . <VERSION>`
20+
- edit `CHANGELOG`
21+
2222
6. Make a PR to `master`
2323
7. Wait for reviews
2424
8. Merge said PR
@@ -27,15 +27,19 @@
2727
11. RT the nf-core automated tweet about the new released version
2828
12. Make a new branch from `dev`
2929
13. Checkout the `CHANGELOG.md` from `master`
30-
- `git checkout upstream/master -- CHANGELOG.md`
30+
31+
- `git checkout upstream/master -- CHANGELOG.md`
32+
3133
14. Add a new `Unreleased` section in `CHANGELOG.md` for the `dev` version
3234
15. Checkout figures from `master`
33-
- `git checkout upstream/master -- docs/images/sarek_indices_subway.svg`
34-
- `git checkout upstream/master -- docs/images/sarek_indices_subway.png`
35-
- `git checkout upstream/master -- docs/images/sarek_subway.svg`
36-
- `git checkout upstream/master -- docs/images/sarek_subway.png`
37-
- `git checkout upstream/master -- docs/images/sarek_workflow.svg`
38-
- `git checkout upstream/master -- docs/images/sarek_workflow.png`
35+
36+
- `git checkout upstream/master -- docs/images/sarek_indices_subway.svg`
37+
- `git checkout upstream/master -- docs/images/sarek_indices_subway.png`
38+
- `git checkout upstream/master -- docs/images/sarek_subway.svg`
39+
- `git checkout upstream/master -- docs/images/sarek_subway.png`
40+
- `git checkout upstream/master -- docs/images/sarek_workflow.svg`
41+
- `git checkout upstream/master -- docs/images/sarek_workflow.png`
42+
3943
16. Make a PR to `dev`
4044
17. Wait for review
4145
18. Merge said PR

.github/workflows/awstest.yml

Lines changed: 0 additions & 61 deletions
This file was deleted.

.github/workflows/branch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
# NOTE - this doesn't currently work if the PR is coming from a fork, due to limitations in GitHub actions secrets
2020
- name: Post PR comment
2121
if: failure()
22-
uses: mshick/add-pr-comment@v1
22+
uses: mshick/add-pr-comment@b8f338c590a895d50bcbfa6c5859251edc8952fc # v2
2323
with:
2424
message: |
2525
## This PR is against the `master` branch :x:

.github/workflows/ci.yml

Lines changed: 61 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: test
1+
name: nf-core CI
22
# This workflow runs the pipeline with the minimal test dataset to check that it completes without any syntax errors
33
on:
44
pull_request:
@@ -28,7 +28,7 @@ jobs:
2828
# Expose matched filters as job 'tags' output variable
2929
tags: ${{ steps.filter.outputs.changes }}
3030
steps:
31-
- uses: actions/checkout@v3
31+
- uses: actions/checkout@v4
3232

3333
- uses: frouioui/paths-filter@main
3434
id: filter
@@ -52,14 +52,25 @@ jobs:
5252
NXF_VER:
5353
- "23.04.0"
5454
- "latest-everything"
55+
exclude:
56+
- tags: "sentieon/bwamem"
57+
- tags: "sentieon/dedup"
58+
- tags: "sentieon/dnascope"
59+
- tags: "sentieon/dnascope_joint_germline"
60+
- tags: "sentieon/dnascope_skip_filter"
61+
- tags: "sentieon/haplotyper"
62+
- tags: "sentieon/haplotyper_joint_germline"
63+
- tags: "sentieon/haplotyper_skip_filter"
64+
- NXF_VER: "latest-everything"
65+
tags: "joint_germline"
5566
env:
5667
NXF_ANSI_LOG: false
5768
TEST_DATA_BASE: "${{ github.workspace }}/test-datasets"
5869
SENTIEON_LICENSE_BASE64: ${{ secrets.SENTIEON_LICENSE_BASE64 }}
5970

6071
steps:
6172
- name: Check out pipeline code
62-
uses: actions/checkout@v3
73+
uses: actions/checkout@v4
6374

6475
- name: Hash Github Workspace
6576
id: hash_workspace
@@ -105,7 +116,7 @@ jobs:
105116

106117
- name: Check out test data
107118
if: steps.cache-testdata.outputs.cache-hit != 'true'
108-
uses: actions/checkout@v3
119+
uses: actions/checkout@v4
109120
with:
110121
repository: nf-core/test-datasets
111122
ref: sarek3
@@ -136,6 +147,9 @@ jobs:
136147
if: matrix.profile == 'conda'
137148
run: conda clean -a
138149

150+
- name: Disk space cleanup
151+
uses: jlumbroso/free-disk-space@v1.3.1
152+
139153
- name: Run pytest-workflow
140154
uses: Wandalen/wretry.action@v1
141155
with:
@@ -168,7 +182,7 @@ jobs:
168182
tags: ${{ steps.filter.outputs.changes }}
169183

170184
steps:
171-
- uses: actions/checkout@v3
185+
- uses: actions/checkout@v4
172186

173187
- name: Combine all tags.yml files
174188
id: get_tags
@@ -200,29 +214,65 @@ jobs:
200214
- "23.04.0"
201215
- "latest-everything"
202216
exclude:
217+
- tags: "bcftools/concat"
218+
- tags: "bcftools/mpileup"
219+
- tags: "bcftools/sort"
203220
- tags: "bwa/index"
204221
- tags: "bwa/mem"
222+
- tags: "bwamem2/index"
223+
- tags: "bwamem2/mem"
205224
- tags: "cat/cat"
206225
- tags: "cat/fastq"
207-
- tags: "custom/dumpsoftwareversions"
226+
- tags: "cnvkit/batch"
227+
- tags: "deepvariant"
228+
- tags: "dragmap/align"
229+
- tags: "dragmap/hashtable"
230+
- tags: "ensemblvep/download"
231+
- tags: "ensemblvep/vep"
208232
- tags: "fastp"
209233
- tags: "fastqc"
234+
- tags: "fgbio/fastqtobam"
235+
- tags: "freebayes"
236+
- tags: "gatk4/applybqsr"
237+
- tags: "gatk4/baserecalibrator"
238+
- tags: "gatk4/estimatelibrarycomplexity"
239+
- tags: "gatk4/genomicsdbimport"
240+
- tags: "gatk4/haplotypecaller"
241+
- tags: "gatk4/markduplicates"
242+
- tags: "gatk4/mergevcfs"
243+
- tags: "gatk4/mutect2"
244+
- tags: "gatk4spark/applybqsr"
245+
- tags: "gatk4spark/markduplicates"
246+
- tags: "mosdepth"
247+
- tags: "multiqc"
248+
- tags: "samblaster"
249+
- tags: "samtools/mpileup"
210250
- tags: "samtools/stats"
251+
- tags: "snpeff/snpeff"
252+
- tags: "strelka/germline"
253+
- tags: "strelka/somatic"
254+
- tags: "subworkflows/utils_nfvalidation_plugin"
255+
- tags: "tabix/bgziptabix"
256+
- tags: "tabix/tabix"
257+
- tags: "tiddit/sv"
211258
- tags: "untar"
212259
env:
213260
NXF_ANSI_LOG: false
214261
TEST_DATA_BASE: "${{ github.workspace }}/test-datasets"
215262
SENTIEON_LICENSE_BASE64: ${{ secrets.SENTIEON_LICENSE_BASE64 }}
216263

217264
steps:
218-
- uses: actions/checkout@v3
265+
- uses: actions/checkout@v4
219266

220267
- uses: actions/setup-java@v3
221268
with:
222269
distribution: "temurin"
223270
java-version: "17"
224-
- name: Setup Nextflow
271+
272+
- name: Install Nextflow ${{ matrix.NXF_VER }}
225273
uses: nf-core/setup-nextflow@v1
274+
with:
275+
version: "${{ matrix.NXF_VER }}"
226276

227277
- name: Cache nf-test installation
228278
id: cache-software
@@ -277,6 +327,9 @@ jobs:
277327
SENTIEON_AUTH_DATA_BASE64=$(echo -n "$SENTIEON_AUTH_DATA" | base64 -w 0)
278328
nextflow secrets set SENTIEON_AUTH_DATA_BASE64 $SENTIEON_AUTH_DATA_BASE64
279329
330+
- name: Disk space cleanup
331+
uses: jlumbroso/free-disk-space@v1.3.1
332+
280333
# Test the module
281334
- name: Run nf-test
282335
run: |

.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@v7
13+
- uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9
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."

0 commit comments

Comments
 (0)