Skip to content

Commit b5b766d

Browse files
authored
Merge pull request #1484 from nf-core/dev
Release 3.4.2
2 parents ea88402 + 552d049 commit b5b766d

File tree

97 files changed

+503
-1346
lines changed

Some content is hidden

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

97 files changed

+503
-1346
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,10 @@ jobs:
256256
- tags: "tabix/tabix"
257257
- tags: "tiddit/sv"
258258
- tags: "untar"
259+
- tags: "pipeline_sarek"
260+
include:
261+
- tags: "pipeline_sarek"
262+
profile: "test,docker"
259263
env:
260264
NXF_ANSI_LOG: false
261265
TEST_DATA_BASE: "${{ github.workspace }}/test-datasets"

.github/workflows/cloudtest.yml

Lines changed: 41 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -31,79 +31,76 @@ on:
3131
default: true
3232

3333
jobs:
34-
trigger-profile-test:
35-
name: Run AWS tests
34+
trigger-test:
35+
name: launch
3636
runs-on: ubuntu-latest
37+
if: ${{ github.repository == 'nf-core/sarek' }}
3738
strategy:
3839
fail-fast: false
3940
matrix:
4041
include:
4142
- profile: test_aws
42-
enabled: ${{ ( github.repository == 'nf-core/sarek' ) && ( github.event_name != 'workflow_dispatch' || ( inputs.test && inputs.aws ) ) }}
43+
test: test
44+
cloud: aws
45+
compute_env: TOWER_COMPUTE_ENV
46+
workdir: TOWER_BUCKET_AWS
4347
- profile: test_azure
44-
enabled: ${{ ( github.repository == 'nf-core/sarek' ) && ( github.event_name != 'workflow_dispatch' || ( inputs.test && inputs.azure ) ) }}
48+
test: test
49+
cloud: azure
50+
compute_env: TOWER_CE_AZURE_CPU
51+
workdir: TOWER_BUCKET_AZURE
4552
- profile: test_full_aws
46-
enabled: ${{ ( github.repository == 'nf-core/sarek' ) && ( github.event_name != 'workflow_dispatch' || ( inputs.somatic && inputs.aws ) ) }}
53+
test: somatic
54+
cloud: aws
55+
compute_env: TOWER_COMPUTE_ENV
56+
workdir: TOWER_BUCKET_AWS
4757
- profile: test_full_azure
48-
enabled: ${{ ( github.repository == 'nf-core/sarek' ) && ( github.event_name != 'workflow_dispatch' || ( inputs.somatic && inputs.azure ) ) }}
58+
test: somatic
59+
cloud: azure
60+
compute_env: TOWER_CE_AZURE_CPU
61+
workdir: TOWER_BUCKET_AZURE
4962
- profile: test_full_germline_aws
50-
enabled: ${{ ( github.repository == 'nf-core/sarek' ) && ( github.event_name != 'workflow_dispatch' || ( inputs.germline && inputs.aws ) ) }}
63+
test: germline
64+
cloud: aws
65+
compute_env: TOWER_COMPUTE_ENV
66+
workdir: TOWER_BUCKET_AWS
5167
- profile: test_full_germline_azure
52-
enabled: ${{ ( github.repository == 'nf-core/sarek' ) && ( github.event_name != 'workflow_dispatch' || ( inputs.germline && inputs.azure ) ) }}
53-
- profile: test_full_germline_ncbench_agilent_aws
54-
enabled: ${{ ( github.repository == 'nf-core/sarek' ) && ( github.event_name != 'workflow_dispatch' || ( inputs.germline_ncbench_agilent && inputs.aws ) ) }}
68+
test: germline
69+
cloud: azure
70+
compute_env: TOWER_CE_AZURE_CPU
71+
workdir: TOWER_BUCKET_AZURE
72+
- profile: test_full_germline_ncbench_agilent
73+
test: germline_ncbench_agilent
74+
cloud: aws
75+
compute_env: TOWER_COMPUTE_ENV
76+
workdir: TOWER_BUCKET_AWS
5577

5678
steps:
5779
# Launch workflow on AWS Batch
58-
- name: AWS Launch
80+
- name: Launch
5981
uses: seqeralabs/action-tower-launch@v2
60-
if: ${{ matrix.enabled && ( github.event_name != 'workflow_dispatch' || inputs.aws ) }}
82+
# If inputs item exists (i.e. workflow_dispatch), then we find matrix.test and check it is false
83+
# If is false, we negate and run the job
84+
if: ( !contains(inputs[matrix.test], 'false') && !contains(inputs[matrix.cloud], 'false') )
6185
with:
6286
run_name: sarek_${{ matrix.profile }}
6387
workspace_id: ${{ secrets.TOWER_WORKSPACE_ID }}
6488
access_token: ${{ secrets.TOWER_ACCESS_TOKEN }}
65-
compute_env: ${{ secrets.TOWER_COMPUTE_ENV }}
89+
compute_env: ${{ secrets[matrix.compute_env] }}
6690
revision: ${{ github.sha }}
67-
workdir: s3://${{ secrets.AWS_S3_BUCKET }}/work/sarek/work-${{ github.sha }}/${{ matrix.profile }}
91+
workdir: ${{ secrets[matrix.workdir] }}/work/sarek/work-${{ github.sha }}/${{ matrix.profile }}
6892
parameters: |
6993
{
7094
"hook_url": "${{ secrets.MEGATESTS_ALERTS_SLACK_HOOK_URL }}",
71-
"outdir": "s3://${{ secrets.AWS_S3_BUCKET }}/sarek/results-${{ github.sha }}/${{ matrix.profile }}/"
95+
"outdir": "${{ secrets[matrix.workdir] }}/sarek/results-${{ github.sha }}/${{ matrix.profile }}/"
7296
}
7397
profiles: ${{ matrix.profile }}
7498

7599
- uses: actions/upload-artifact@v3
76-
name: Save AWS Logs
100+
name: Save Logs
77101
if: success() || failure()
78102
with:
79-
name: tower-aws-${{ matrix.profile }}-log
80-
path: |
81-
tower_action_*.log
82-
tower_action_*.json
83-
84-
# Launch workflow using Tower CLI tool action
85-
- name: Azure Launch
86-
uses: seqeralabs/action-tower-launch@v2
87-
if: ${{ matrix.enabled && ( github.event_name != 'workflow_dispatch' || inputs.azure ) }}
88-
with:
89-
run_name: sarek_${{ matrix.profile }}
90-
workspace_id: ${{ secrets.TOWER_WORKSPACE_ID }}
91-
access_token: ${{ secrets.TOWER_ACCESS_TOKEN }}
92-
compute_env: ${{ secrets.TOWER_CE_AZURE_CPU }}
93-
revision: ${{ github.sha }}
94-
workdir: ${{ secrets.TOWER_BUCKET_AZURE}}/sarek/work-${{ github.sha }}/${{ matrix.profile }}
95-
parameters: |
96-
{
97-
"hook_url": "${{ secrets.MEGATESTS_ALERTS_SLACK_HOOK_URL }}",
98-
"outdir": "${{ secrets.TOWER_BUCKET_AZURE }}/sarek/results-${{ github.sha }}/${{ matrix.profile }}/"
99-
}
100-
profiles: ${{ matrix.profile }}
101-
102-
- uses: actions/upload-artifact@v3
103-
name: Save Azure Logs
104-
if: success() || failure()
105-
with:
106-
name: tower-azure-${{ matrix.profile }}-log
103+
name: tower-${{ matrix.profile }}-log
107104
path: |
108105
tower_action_*.log
109106
tower_action_*.json

CHANGELOG.md

Lines changed: 68 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,52 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [3.4.2](https://github.com/nf-core/sarek/releases/tag/3.4.2) - Sájtáristjåhkkå
9+
10+
Sájtáristjåhkkå is another peak (just under 2k) in the Pårte massif, it is one of the few peaks in Sweden that cannot be climbed without proper climbing equipment.
11+
12+
### Added
13+
14+
- [#1489](https://github.com/nf-core/sarek/pull/1489) - Added a `testdata.nf-core.sarek` key in `conf/igenomes.config` for small reference
15+
- [#1493](https://github.com/nf-core/sarek/pull/1493) - Added a `wave` profile
16+
- [#1498](https://github.com/nf-core/sarek/pull/1498) - Prepare release `3.4.2`
17+
18+
### Changed
19+
20+
- [#1477](https://github.com/nf-core/sarek/pull/1477) - Back to dev
21+
- [#1482](https://github.com/nf-core/sarek/pull/1482) - Pin `nf-prov` plugin to `1.2.2`
22+
- [#1485](https://github.com/nf-core/sarek/pull/1485) - Update citation for publication
23+
- [#1487](https://github.com/nf-core/sarek/pull/1487) - Update sentieon-modules to Sentieon `202308.02`
24+
- [#1490](https://github.com/nf-core/sarek/pull/1490) - Update mosdepth to `0.3.8`
25+
- [#1505](https://github.com/nf-core/sarek/pull/1505) - Update CITATIONS.md
26+
- [#1506](https://github.com/nf-core/sarek/pull/1506) - Fixing typos (`index_alignement` -> `index_alignment`)
27+
- [#1509](https://github.com/nf-core/sarek/pull/1509) - Update contributors
28+
29+
### Fixed
30+
31+
- [#1378](https://github.com/nf-core/sarek/pull/1378) - Improve cloud tests launch workflow to use matrix
32+
- [#1488](https://github.com/nf-core/sarek/pull/1488) - Fixing call to `GATK4_HAPLOTYPECALLER` and thereby also the test-profile `test_full_germline`
33+
- [#1494](https://github.com/nf-core/sarek/pull/1494) - Fix Cloud Storage objects are immutable on GCP [#1491](https://github.com/nf-core/sarek/issues/1491)
34+
- [#1496](https://github.com/nf-core/sarek/pull/1496) - Fix multiple DOI handling in manifest
35+
- [#1499](https://github.com/nf-core/sarek/pull/1499) - Remove all md5sum for mosdepth tests
36+
- [#1499](https://github.com/nf-core/sarek/pull/1499) - Add mosdepth dependency to all tests runnning it
37+
- [#1501](https://github.com/nf-core/sarek/pull/1501) - Remove string "None" param option from ascat_genome
38+
39+
### Removed
40+
41+
- [#1489](https://github.com/nf-core/sarek/pull/1489) - Remove `test_cache` profile
42+
43+
### Dependencies
44+
45+
| Dependency | Old version | New version |
46+
| ---------- | ----------- | ----------- |
47+
| `mosdepth` | 0.3.6 | 0.3.8 |
48+
| `sentieon` | 202308.01 | 202308.02 |
49+
50+
### Modules / Subworkflows
51+
52+
### Parameters
53+
854
## [3.4.1](https://github.com/nf-core/sarek/releases/tag/3.4.1) - Balgattjåhkkå
955

1056
Balgattjåhkkå is the other top peak (over 2k m) in the Pårte massif, the other one being Pårtetjåkko (Bårddetjåhkkå).
@@ -71,16 +117,16 @@ Balgattjåhkkå is the other top peak (over 2k m) in the Pårte massif, the othe
71117

72118
### Dependencies
73119

74-
| Dependency | Old version | New version |
75-
| ---------- | ----------- | ----------- |
76-
| bcftools | 1.17 | 1.18 |
77-
| ensemblvep | 110.0 | 111.0 |
78-
| fgbio | 2.0.2 | 2.1.0 |
79-
| gatk | 4.4.0.0 | 4.5.0.0 |
80-
| gatk-spark | 4.4.0.0 | 4.5.0.0 |
81-
| mosdepth | 0.3.3 | 0.3.6 |
82-
| multiqc | 1.17 | 1.18 |
83-
| samtools | 1.17 | 1.19.2 |
120+
| Dependency | Old version | New version |
121+
| ------------ | ----------- | ----------- |
122+
| `bcftools` | 1.17 | 1.18 |
123+
| `ensemblvep` | 110.0 | 111.0 |
124+
| `fgbio` | 2.0.2 | 2.1.0 |
125+
| `gatk` | 4.4.0.0 | 4.5.0.0 |
126+
| `gatk-spark` | 4.4.0.0 | 4.5.0.0 |
127+
| `mosdepth` | 0.3.3 | 0.3.6 |
128+
| `multiqc` | 1.17 | 1.18 |
129+
| `samtools` | 1.17 | 1.19.2 |
84130

85131
### Modules / Subworkflows
86132

@@ -89,9 +135,9 @@ Balgattjåhkkå is the other top peak (over 2k m) in the Pårte massif, the othe
89135

90136
### Parameter
91137

92-
| Old name | New name |
93-
| -------------------------- | ------------------------ |
94-
| bcftools_annotations_index | bcftools_annotations_tbi |
138+
| Old name | New name |
139+
| ---------------------------- | -------------------------- |
140+
| `bcftools_annotations_index` | `bcftools_annotations_tbi` |
95141

96142
## [3.4.0](https://github.com/nf-core/sarek/releases/tag/3.4.0) - Pårtetjåkko
97143

@@ -141,8 +187,8 @@ Pårtetjåkko is a mountain in the south of the park.
141187

142188
| Dependency | Old version | New version |
143189
| ---------- | ----------- | ----------- |
144-
| fastqc | 0.11.9 | 0.12.1 |
145-
| multiqc | 1.15 | 1.17 |
190+
| `fastqc` | 0.11.9 | 0.12.1 |
191+
| `multiqc` | 1.15 | 1.17 |
146192

147193
### Modules / Subworkflows
148194

@@ -175,9 +221,9 @@ Ráhpajávvre is the Lule Sámi spelling of Rapaselet.
175221

176222
### Dependencies
177223

178-
| Dependency | Old version | New version |
179-
| -------------------------------- | ----------- | ----------- |
180-
| Control-FREEC/assesssignificance | 11.6b | 11.6 |
224+
| Dependency | Old version | New version |
225+
| ---------------------------------- | ----------- | ----------- |
226+
| `Control-FREEC/assesssignificance` | 11.6b | 11.6 |
181227

182228
## [3.3.1](https://github.com/nf-core/sarek/releases/tag/3.3.1) - Biellorippjávrre
183229

@@ -201,9 +247,9 @@ A lake near the Rapaselet delta.
201247

202248
### Dependencies
203249

204-
| Dependency | Old version | New version |
205-
| ------------- | ----------- | ----------- |
206-
| Control-FREEC | 11.6 | 11.6b |
250+
| Dependency | Old version | New version |
251+
| --------------- | ----------- | ----------- |
252+
| `Control-FREEC` | 11.6 | 11.6b |
207253

208254
## [3.3.0](https://github.com/nf-core/sarek/releases/tag/3.3.0) - Rapaselet
209255

@@ -320,7 +366,7 @@ Vuoinesluobbalah is a lake close to Bierikjávrre.
320366

321367
### Fixed
322368

323-
- [#1087](https://github.com/nf-core/sarek/pull/1087) - Fix wrong default memory in GATK4_CREATESEQUENCEDICTIONARY [#1085](https://github.com/nf-core/sarek/pull/1085)
369+
- [#1087](https://github.com/nf-core/sarek/pull/1087) - Fix wrong default memory in `GATK4_CREATESEQUENCEDICTIONARY` [#1085](https://github.com/nf-core/sarek/pull/1085)
324370
- [#1089](https://github.com/nf-core/sarek/pull/1089) - Remove duplicated code
325371
- [#1093](https://github.com/nf-core/sarek/pull/1093) - Fixing Ascat by reverting meta.id in channels allele_files, loci_files, gc_file and rt_file to baseName
326372
- [#1098](https://github.com/nf-core/sarek/pull/1098) - Fix Channel issue in Mutect2 subworkflow [#1094](https://github.com/nf-core/sarek/pull/1094)

CITATIONS.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@
7070
7171
- [FGBio](https://github.com/fulcrumgenomics/fgbio)
7272

73+
> doi: 10.5281/zenodo.10456900
74+
7375
- [FreeBayes](https://arxiv.org/abs/1207.3907)
7476

7577
> Garrison E, Marth G. Haplotype-based variant detection from short-read sequencing. arXiv preprint arXiv:1207.3907 [q-bio.GN] 2012. doi: 10.48550/arXiv.1207.3907

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,13 +153,15 @@ We thank the following people for their extensive assistance in the development
153153
- [Johannes Alneberg](https://github.com/alneberg)
154154
- [José Fernández Navarro](https://github.com/jfnavarro)
155155
- [Júlia Mir Pedrol](https://github.com/mirpedrol)
156+
- [Ken Brewer](https://github.com/kenibrewer)
156157
- [Lasse Westergaard Folkersen](https://github.com/lassefolkersen)
157158
- [Lucia Conde](https://github.com/lconde-ucl)
158159
- [Malin Larsson](https://github.com/malinlarsson)
159160
- [Marcel Martin](https://github.com/marcelm)
160161
- [Nick Smith](https://github.com/nickhsmith)
161162
- [Nicolas Schcolnicov](https://github.com/nschcolnicov)
162163
- [Nilesh Tawari](https://github.com/nilesh-tawari)
164+
- [Nils Homer](https://github.com/nh13)
163165
- [Olga Botvinnik](https://github.com/olgabot)
164166
- [Oskar Wacker](https://github.com/WackerO)
165167
- [pallolason](https://github.com/pallolason)
@@ -169,6 +171,7 @@ We thank the following people for their extensive assistance in the development
169171
- [Sam Minot](https://github.com/sminot)
170172
- [Sebastian-D](https://github.com/Sebastian-D)
171173
- [Silvia Morini](https://github.com/silviamorins)
174+
- [Simon Pearce](https://github.com/SPPearce)
172175
- [Solenne Correard](https://github.com/scorreard)
173176
- [Susanne Jodoin](https://github.com/SusiJo)
174177
- [Szilveszter Juhos](https://github.com/szilvajuhos)
@@ -193,7 +196,7 @@ For further information or help, don't hesitate to get in touch on the [Slack `#
193196

194197
If you use `nf-core/sarek` for your analysis, please cite the `Sarek` article as follows:
195198

196-
> Friederike Hanssen, Maxime U Garcia, Lasse Folkersen, Anders Sune Pedersen, Francesco Lescai, Susanne Jodoin, Edmund Miller, Oskar Wacker, Nicholas Smith, nf-core community, Gisela Gabernet, Sven Nahnsen **Scalable and efficient DNA sequencing analysis on different compute infrastructures aiding variant discovery** _bioRxiv_ [doi: 10.1101/2023.07.19.549462](https://doi.org/10.1101/2023.07.19.549462).
199+
> Friederike Hanssen, Maxime U Garcia, Lasse Folkersen, Anders Sune Pedersen, Francesco Lescai, Susanne Jodoin, Edmund Miller, Oskar Wacker, Nicholas Smith, nf-core community, Gisela Gabernet, Sven Nahnsen **Scalable and efficient DNA sequencing analysis on different compute infrastructures aiding variant discovery** _NAR Genomics and Bioinformatics_ Volume 6, Issue 2, June 2024, lqae031, [doi: 10.1093/nargab/lqae031](https://doi.org/10.1093/nargab/lqae031).
197200
198201
> Garcia M, Juhos S, Larsson M et al. **Sarek: A portable workflow for whole-genome sequencing analysis of germline and somatic variants [version 2; peer review: 2 approved]** _F1000Research_ 2020, 9:63 [doi: 10.12688/f1000research.16665.2](http://dx.doi.org/10.12688/f1000research.16665.2).
199202

assets/multiqc_config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ custom_logo_url: https://github.com/nf-core/sarek/
33
custom_logo_title: "nf-core/sarek"
44

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

conf/igenomes.config

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,5 +320,25 @@ params {
320320
fasta = "${params.igenomes_base}/Sus_scrofa/UCSC/susScr3/Sequence/WholeGenomeFasta/genome.fa"
321321
readme = "${params.igenomes_base}/Sus_scrofa/UCSC/susScr3/Annotation/README.txt"
322322
}
323+
'testdata.nf-core.sarek' {
324+
dbsnp = "${params.igenomes_base}/genomics/homo_sapiens/genome/vcf/dbsnp_146.hg38.vcf.gz"
325+
dbsnp_tbi = "${params.igenomes_base}/genomics/homo_sapiens/genome/vcf/dbsnp_146.hg38.vcf.gz.tbi"
326+
dbsnp_vqsr = '--resource:dbsnp,known=false,training=true,truth=false,prior=2.0 dbsnp_146.hg38.vcf.gz'
327+
dict = "${params.igenomes_base}/genomics/homo_sapiens/genome/genome.dict"
328+
fasta = "${params.igenomes_base}/genomics/homo_sapiens/genome/genome.fasta"
329+
fasta_fai = "${params.igenomes_base}/genomics/homo_sapiens/genome/genome.fasta.fai"
330+
germline_resource = "${params.igenomes_base}/genomics/homo_sapiens/genome/vcf/gnomAD.r2.1.1.vcf.gz"
331+
germline_resource_tbi = "${params.igenomes_base}/genomics/homo_sapiens/genome/vcf/gnomAD.r2.1.1.vcf.gz.tbi"
332+
intervals = "${params.igenomes_base}/genomics/homo_sapiens/genome/genome.interval_list"
333+
known_indels = "${params.igenomes_base}/genomics/homo_sapiens/genome/vcf/mills_and_1000G.indels.vcf.gz"
334+
known_indels_tbi = "${params.igenomes_base}/genomics/homo_sapiens/genome/vcf/mills_and_1000G.indels.vcf.gz.tbi"
335+
known_indels_vqsr = '--resource:mills,known=false,training=true,truth=true,prior=10.0 mills_and_1000G.indels.vcf.gz'
336+
ngscheckmate_bed = "${params.igenomes_base}/genomics/homo_sapiens/genome/chr21/germlineresources/SNP_GRCh38_hg38_wChr.bed"
337+
snpeff_db = '105'
338+
snpeff_genome = 'WBcel235'
339+
vep_cache_version = '110'
340+
vep_genome = 'WBcel235'
341+
vep_species = 'caenorhabditis_elegans'
342+
}
323343
}
324344
}

0 commit comments

Comments
 (0)