Skip to content

Commit 1c3cabd

Browse files
authored
Merge branch 'dev' into pl_goleft
2 parents 264c948 + e9a0c1e commit 1c3cabd

File tree

427 files changed

+19595
-8355
lines changed

Some content is hidden

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

427 files changed

+19595
-8355
lines changed

Diff for: .github/workflows/ci.yml

+63-58
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,15 @@ on:
1212
- dev
1313

1414
env:
15+
NFT_DIFF: "pdiff"
16+
NFT_DIFF_ARGS: "--line-numbers --width 120 --expand-tabs=2"
17+
NFT_VER: "0.9.0"
18+
NFT_WORKDIR: "~"
1519
NXF_ANSI_LOG: false
16-
NFTEST_VER: "0.8.1"
20+
NXF_SINGULARITY_CACHEDIR: ${{ github.workspace }}/.singularity
21+
NXF_SINGULARITY_LIBRARYDIR: ${{ github.workspace }}/.singularity
22+
SENTIEON_LICENSE_BASE64: ${{ secrets.SENTIEON_LICENSE_BASE64 }}
23+
TEST_DATA_BASE: "${{ github.workspace }}/test-datasets"
1724

1825
# Cancel if a newer run is started
1926
concurrency:
@@ -28,7 +35,7 @@ jobs:
2835
# Expose matched filters as job 'tags' output variable
2936
tags: ${{ steps.filter.outputs.changes }}
3037
steps:
31-
- uses: actions/checkout@v4
38+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
3239

3340
- uses: frouioui/paths-filter@main
3441
id: filter
@@ -63,24 +70,20 @@ jobs:
6370
- tags: "sentieon/haplotyper_skip_filter"
6471
- NXF_VER: "latest-everything"
6572
tags: "joint_germline"
66-
env:
67-
NXF_ANSI_LOG: false
68-
TEST_DATA_BASE: "${{ github.workspace }}/test-datasets"
69-
SENTIEON_LICENSE_BASE64: ${{ secrets.SENTIEON_LICENSE_BASE64 }}
7073

7174
steps:
7275
- name: Check out pipeline code
73-
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b
76+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
7477

7578
- name: Hash Github Workspace
7679
id: hash_workspace
7780
run: |
7881
echo "digest=$(echo sarek3_${{ github.workspace }} | md5sum | cut -c 1-25)" >> $GITHUB_OUTPUT
7982
8083
- name: Set up Python
81-
uses: actions/setup-python@v4
84+
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5
8285
with:
83-
python-version: "3.x"
86+
python-version: "3.11"
8487
cache: "pip"
8588
cache-dependency-path: |
8689
**/requirements.txt
@@ -93,30 +96,43 @@ jobs:
9396
with:
9497
version: "${{ matrix.NXF_VER }}"
9598

99+
- name: Setup apptainer
100+
if: matrix.profile == 'singularity'
101+
uses: eWaterCycle/setup-apptainer@main
102+
96103
- name: Set up Singularity
97104
if: matrix.profile == 'singularity'
98-
uses: eWaterCycle/setup-singularity@v5
99-
with:
100-
singularity-version: 3.7.1
105+
run: |
106+
mkdir -p $NXF_SINGULARITY_CACHEDIR
107+
mkdir -p $NXF_SINGULARITY_LIBRARYDIR
101108
102109
- name: Set up miniconda
103110
if: matrix.profile == 'conda'
104-
uses: conda-incubator/setup-miniconda@v2
111+
uses: conda-incubator/setup-miniconda@a4260408e20b96e80095f42ff7f1a15b27dd94ca # v3
105112
with:
113+
miniconda-version: "latest"
106114
auto-update-conda: true
107-
channels: conda-forge,bioconda,defaults
108-
python-version: ${{ matrix.python-version }}
115+
channels: conda-forge,bioconda
116+
117+
- name: Conda setup
118+
if: matrix.profile == 'conda'
119+
run: |
120+
conda clean -a
121+
conda install -n base conda-libmamba-solver
122+
conda config --set solver libmamba
123+
echo $(realpath $CONDA)/condabin >> $GITHUB_PATH
124+
echo $(realpath python) >> $GITHUB_PATH
109125
110126
- name: Cache test data
111127
id: cache-testdata
112-
uses: actions/cache@v3
128+
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4
113129
with:
114130
path: test-datasets/
115131
key: ${{ steps.hash_workspace.outputs.digest }}
116132

117133
- name: Check out test data
118134
if: steps.cache-testdata.outputs.cache-hit != 'true'
119-
uses: actions/checkout@v4
135+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
120136
with:
121137
repository: nf-core/test-datasets
122138
ref: sarek3
@@ -164,16 +180,17 @@ jobs:
164180
165181
- name: Upload logs on failure
166182
if: failure()
167-
uses: actions/upload-artifact@v2
183+
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4
168184
with:
169185
name: logs-${{ matrix.profile }}
170186
path: |
171-
/home/runner/pytest_workflow_*/*/.nextflow.log
172-
/home/runner/pytest_workflow_*/*/log.out
173-
/home/runner/pytest_workflow_*/*/log.err
174-
/home/runner/pytest_workflow_*/*/work
175-
!/home/runner/pytest_workflow_*/*/work/conda
176-
!/home/runner/pytest_workflow_*/*/work/singularity
187+
/home/ubuntu/pytest_workflow_*/*/.nextflow.log
188+
/home/ubuntu/pytest_workflow_*/*/log.out
189+
/home/ubuntu/pytest_workflow_*/*/log.err
190+
/home/ubuntu/pytest_workflow_*/*/work
191+
!/home/ubuntu/pytest_workflow_*/*/work/conda
192+
!/home/ubuntu/pytest_workflow_*/*/work/singularity
193+
!${{ github.workspace }}/.singularity
177194
178195
nftest-changes:
179196
name: Check for changes (nf-test)
@@ -182,15 +199,12 @@ jobs:
182199
tags: ${{ steps.filter.outputs.changes }}
183200

184201
steps:
185-
- uses: actions/checkout@v4
202+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
186203

187204
- name: Combine all tags.yml files
188205
id: get_tags
189206
run: find . -name "tags.yml" -not -path "./.github/*" -exec cat {} + > .github/tags.yml
190207

191-
- name: debug
192-
run: cat .github/tags.yml
193-
194208
- uses: frouioui/paths-filter@main
195209
id: filter
196210
with:
@@ -227,13 +241,16 @@ jobs:
227241
- tags: "cnvkit/antitarget"
228242
- tags: "cnvkit/batch"
229243
- tags: "cnvkit/reference"
230-
- tags: "deepvariant"
244+
- tags: "controlfreec/assesssignificance"
245+
- tags: "controlfreec/freec"
246+
- tags: "deepvariant/rundeepvariant"
231247
- tags: "dragmap/align"
232248
- tags: "dragmap/hashtable"
233249
- tags: "ensemblvep/download"
234250
- tags: "ensemblvep/vep"
235251
- tags: "fastp"
236252
- tags: "fastqc"
253+
- tags: "fgbio/callmolecularconsensusreads"
237254
- tags: "fgbio/fastqtobam"
238255
- tags: "freebayes"
239256
- tags: "gatk4/applybqsr"
@@ -255,27 +272,22 @@ jobs:
255272
- tags: "samtools/convert"
256273
- tags: "samtools/mpileup"
257274
- tags: "samtools/stats"
275+
- tags: "sentieon/bwamem"
276+
- tags: "sentieon/haplotyper"
258277
- tags: "snpeff/snpeff"
278+
- tags: "spring/decompress"
259279
- tags: "strelka/germline"
260280
- tags: "strelka/somatic"
261281
- tags: "subworkflows/utils_nfvalidation_plugin"
262282
- tags: "tabix/bgziptabix"
263283
- tags: "tabix/tabix"
264284
- tags: "tiddit/sv"
265285
- tags: "untar"
266-
- tags: "pipeline_sarek"
267-
include:
268-
- tags: "pipeline_sarek"
269-
profile: "test,docker"
270-
env:
271-
NXF_ANSI_LOG: false
272-
TEST_DATA_BASE: "${{ github.workspace }}/test-datasets"
273-
SENTIEON_LICENSE_BASE64: ${{ secrets.SENTIEON_LICENSE_BASE64 }}
274286

275287
steps:
276-
- uses: actions/checkout@v4
288+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
277289

278-
- uses: actions/setup-java@v3
290+
- uses: actions/setup-java@2dfa2011c5b2a0f1489bf9e433881c92c1631f88 # v4
279291
with:
280292
distribution: "temurin"
281293
java-version: "17"
@@ -285,20 +297,10 @@ jobs:
285297
with:
286298
version: "${{ matrix.NXF_VER }}"
287299

288-
- name: Cache nf-test installation
289-
id: cache-software
290-
uses: actions/cache@v3
291-
with:
292-
path: |
293-
/usr/local/bin/nf-test
294-
/home/runner/.nf-test/nf-test.jar
295-
key: ${{ runner.os }}-${{ env.NFTEST_VER }}-nftest
296-
297300
- name: Install nf-test
298-
if: steps.cache-software.outputs.cache-hit != 'true'
299-
run: |
300-
wget -qO- https://code.askimed.com/install/nf-test | bash
301-
sudo mv nf-test /usr/local/bin/
301+
uses: nf-core/setup-nf-test@v1
302+
with:
303+
version: ${{ env.NFT_VER }}
302304

303305
- name: Setup apptainer
304306
if: matrix.profile == 'singularity'
@@ -311,22 +313,23 @@ jobs:
311313
mkdir -p $NXF_SINGULARITY_LIBRARYDIR
312314
313315
- name: Set up miniconda
314-
uses: conda-incubator/setup-miniconda@v2
316+
if: matrix.profile == 'conda'
317+
uses: conda-incubator/setup-miniconda@a4260408e20b96e80095f42ff7f1a15b27dd94ca # v3
315318
with:
316319
miniconda-version: "latest"
317320
auto-update-conda: true
318-
channels: conda-forge,bioconda,defaults
319-
python-version: ${{ matrix.python-version }}
321+
channels: conda-forge,bioconda
320322

321323
- name: Conda setup
324+
if: matrix.profile == 'conda'
322325
run: |
323326
conda clean -a
324327
conda install -n base conda-libmamba-solver
325328
conda config --set solver libmamba
326329
echo $(realpath $CONDA)/condabin >> $GITHUB_PATH
327330
echo $(realpath python) >> $GITHUB_PATH
328331
329-
# Set up secrets
332+
# Set up secrets
330333
- name: Set up nextflow secrets
331334
if: env.SENTIEON_LICENSE_BASE64 != null
332335
run: |
@@ -341,13 +344,15 @@ jobs:
341344
- name: Disk space cleanup
342345
uses: jlumbroso/[email protected]
343346

344-
# Test the module
347+
# Test the component
345348
- name: Run nf-test
346349
run: |
347350
nf-test test \
348-
--profile=${{ matrix.profile }} \
351+
--profile="+${{ matrix.profile }}" \
349352
--tag ${{ matrix.tags }} \
350353
--tap=test.tap \
354+
--junitxml=test.xml \
355+
--debug \
351356
--verbose
352357
353358
confirm-pass:

Diff for: CHANGELOG.md

+25-4
Original file line numberDiff line numberDiff line change
@@ -10,23 +10,44 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010
### Added
1111

1212
- [1613](https://github.com/nf-core/sarek/pull/1613) - add indexcov
13-
- [1640](https://github.com/nf-core/sarek/pull/1620) - Add `lofreq` as a tumor-only variant caller.
13+
- [1640](https://github.com/nf-core/sarek/pull/1620) - Add `lofreq` as a tumor-only variant caller
1414
- [1642](https://github.com/nf-core/sarek/pull/1642) - Back to dev
15+
- [1653](https://github.com/nf-core/sarek/pull/1653) - Updates `sarek_subway` files with `lofreq`
16+
- [1660](https://github.com/nf-core/sarek/pull/1642) - Add `--length_required` for minimal reads length with `FASTP`
17+
- [1663](https://github.com/nf-core/sarek/pull/1663) - Massive conda modules update
1518

1619
### Changed
1720

21+
- [1669](https://github.com/nf-core/sarek/pull/1669) - Better nf-test pipeline level tests
22+
1823
### Fixed
1924

25+
- [1656](https://github.com/nf-core/sarek/pull/1656) - Retiring parameter `snpeff_genome`
26+
- [1657](https://github.com/nf-core/sarek/pull/1657) - Update all actions used in the GHA CI
27+
- [1661](https://github.com/nf-core/sarek/pull/1661) - nf-test pipeline level tests
28+
- [1673](https://github.com/nf-core/sarek/pull/1673) - Print warning message instead of silent error with Nextflow versions prior to 24.08.0edge
29+
2030
### Removed
2131

2232
### Dependencies
2333

24-
| Dependency | Old version | New version |
25-
| ---------- | ----------- | ----------- |
26-
| `lofreq` | | 2.1.5 |
34+
| Dependency | Old version | New version |
35+
| ------------- | ----------- | ----------- |
36+
| `deepvariant` | 1.5.0 | 1.6.1 |
37+
| `ensemblvep` | 111.0 | 112.0 |
38+
| `fgbio` | 2.0.2 | 2.1.2 |
39+
| `htslib` | 1.20 | 1.21 |
40+
| `lofreq` | | 2.1.5 |
41+
| `multiqc` | 1.21 | 1.25.1 |
42+
| `samtools` | 1.20 | 1.21 |
2743

2844
### Parameters
2945

46+
| Params | Status |
47+
| --------------- | ------- |
48+
| `snpeff_db` | Updated |
49+
| `snpeff_genome` | Removed |
50+
3051
## [3.4.4](https://github.com/nf-core/sarek/releases/tag/3.4.4) - Ruopsokjåkhå
3152

3253
Ruopsokjåkhå is another peak of the Pårte massif.

0 commit comments

Comments
 (0)