Skip to content

Commit 287afcf

Browse files
authored
Merge pull request #992 from nf-core/dev
Dev -> Master for v3.11.1 release
2 parents 48fb9b4 + 104ddaf commit 287afcf

File tree

9 files changed

+65
-24
lines changed

9 files changed

+65
-24
lines changed

.github/workflows/ci.yml

Lines changed: 34 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,17 @@ jobs:
3535
with:
3636
version: "${{ matrix.NXF_VER }}"
3737

38+
- name: Hash Github Workspace
39+
id: hash_workspace
40+
run: |
41+
echo "digest=$(echo RNA_3.10.1_${{ github.workspace }} | md5sum | cut -c 1-25)" >> $GITHUB_OUTPUT
42+
3843
- name: Cache test data
3944
id: cache-testdata
4045
uses: actions/cache@v3
4146
with:
4247
path: test-datasets/
43-
key: rnaseq3_10-test-data
48+
key: ${{ steps.hash_workspace.outputs.digest }}
4449

4550
- name: Check out test data
4651
if: steps.cache-testdata.outputs.cache-hit != 'true'
@@ -65,7 +70,7 @@ jobs:
6570
6671
star_salmon:
6772
name: Test STAR Salmon with workflow parameters
68-
if: ${{ github.event_name != 'push' || (github.event_name == 'push' && github.repository == 'nf-core/rnaseq') }}
73+
if: ${{ (github.event_name != 'push' || (github.event_name == 'push' && github.repository == 'nf-core/rnaseq')) && !contains(github.event.head_commit.message, '[ci fast]') }}
6974
runs-on: ubuntu-latest
7075
strategy:
7176
matrix:
@@ -87,12 +92,17 @@ jobs:
8792
- name: Check out pipeline code
8893
uses: actions/checkout@v2
8994

95+
- name: Hash Github Workspace
96+
id: hash_workspace
97+
run: |
98+
echo "digest=$(echo RNA_3.10.1_${{ github.workspace }} | md5sum | cut -c 1-25)" >> $GITHUB_OUTPUT
99+
90100
- name: Cache test data
91101
id: cache-testdata
92102
uses: actions/cache@v3
93103
with:
94104
path: test-datasets/
95-
key: rnaseq3_10-test-data
105+
key: ${{ steps.hash_workspace.outputs.digest }}
96106

97107
- name: Check out test data
98108
if: steps.cache-testdata.outputs.cache-hit != 'true'
@@ -122,7 +132,7 @@ jobs:
122132
123133
star_rsem:
124134
name: Test STAR RSEM with workflow parameters
125-
if: ${{ github.event_name != 'push' || (github.event_name == 'push' && github.repository == 'nf-core/rnaseq') }}
135+
if: ${{ (github.event_name != 'push' || (github.event_name == 'push' && github.repository == 'nf-core/rnaseq')) && !contains(github.event.head_commit.message, '[ci fast]') }}
126136
runs-on: ubuntu-latest
127137
strategy:
128138
matrix:
@@ -133,12 +143,17 @@ jobs:
133143
- name: Check out pipeline code
134144
uses: actions/checkout@v2
135145

146+
- name: Hash Github Workspace
147+
id: hash_workspace
148+
run: |
149+
echo "digest=$(echo RNA_3.10.1_${{ github.workspace }} | md5sum | cut -c 1-25)" >> $GITHUB_OUTPUT
150+
136151
- name: Cache test data
137152
id: cache-testdata
138153
uses: actions/cache@v3
139154
with:
140155
path: test-datasets/
141-
key: rnaseq3_10-test-data
156+
key: ${{ steps.hash_workspace.outputs.digest }}
142157

143158
- name: Check out test data
144159
if: steps.cache-testdata.outputs.cache-hit != 'true'
@@ -168,7 +183,7 @@ jobs:
168183
169184
hisat2:
170185
name: Test HISAT2 with workflow parameters
171-
if: ${{ github.event_name != 'push' || (github.event_name == 'push' && github.repository == 'nf-core/rnaseq') }}
186+
if: ${{ (github.event_name != 'push' || (github.event_name == 'push' && github.repository == 'nf-core/rnaseq')) && !contains(github.event.head_commit.message, '[ci fast]') }}
172187
runs-on: ubuntu-latest
173188
strategy:
174189
matrix:
@@ -179,12 +194,17 @@ jobs:
179194
- name: Check out pipeline code
180195
uses: actions/checkout@v2
181196

197+
- name: Hash Github Workspace
198+
id: hash_workspace
199+
run: |
200+
echo "digest=$(echo RNA_3.10.1_${{ github.workspace }} | md5sum | cut -c 1-25)" >> $GITHUB_OUTPUT
201+
182202
- name: Cache test data
183203
id: cache-testdata
184204
uses: actions/cache@v3
185205
with:
186206
path: test-datasets/
187-
key: rnaseq3_10-test-data
207+
key: ${{ steps.hash_workspace.outputs.digest }}
188208

189209
- name: Check out test data
190210
if: steps.cache-testdata.outputs.cache-hit != 'true'
@@ -214,7 +234,7 @@ jobs:
214234
215235
salmon:
216236
name: Test Salmon with workflow parameters
217-
if: ${{ github.event_name != 'push' || (github.event_name == 'push' && github.repository == 'nf-core/rnaseq') }}
237+
if: ${{ (github.event_name != 'push' || (github.event_name == 'push' && github.repository == 'nf-core/rnaseq')) && !contains(github.event.head_commit.message, '[ci fast]') }}
218238
runs-on: ubuntu-latest
219239
strategy:
220240
matrix:
@@ -225,12 +245,17 @@ jobs:
225245
- name: Check out pipeline code
226246
uses: actions/checkout@v2
227247

248+
- name: Hash Github Workspace
249+
id: hash_workspace
250+
run: |
251+
echo "digest=$(echo RNA_3.10.1_${{ github.workspace }} | md5sum | cut -c 1-25)" >> $GITHUB_OUTPUT
252+
228253
- name: Cache test data
229254
id: cache-testdata
230255
uses: actions/cache@v3
231256
with:
232257
path: test-datasets/
233-
key: rnaseq3_10-test-data
258+
key: ${{ steps.hash_workspace.outputs.digest }}
234259

235260
- name: Check out test data
236261
if: steps.cache-testdata.outputs.cache-hit != 'true'

.github/workflows/cloud_tests_full.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ on:
1717
- gcp
1818
jobs:
1919
run-full-tests-on-aws:
20-
if: ${{ github.event.inputs.platform == 'all' || github.event.inputs.platform == 'aws' }}
20+
if: ${{ github.event.inputs.platform == 'all' || github.event.inputs.platform == 'aws' || !github.event.inputs }}
2121
runs-on: ubuntu-latest
2222
strategy:
2323
matrix:
@@ -34,15 +34,15 @@ jobs:
3434
parameters: |
3535
{
3636
"hook_url": "${{ secrets.MEGATESTS_ALERTS_SLACK_HOOK_URL }}",
37+
"aligner": "${{ matrix.aligner }}",
3738
"outdir": "${{ secrets.TOWER_BUCKET_AWS }}/rnaseq/results-${{ github.sha }}/aligner_${{ matrix.aligner }}"
3839
}
39-
wait: false
4040
- uses: actions/upload-artifact@v3
4141
with:
4242
name: Tower debug log file
4343
path: tower_action_*.log
4444
run-full-tests-on-gcp:
45-
if: ${{ github.event.inputs.platform == 'all' || github.event.inputs.platform == 'gcp' }}
45+
if: ${{ github.event.inputs.platform == 'all' || github.event.inputs.platform == 'gcp' || !github.event.inputs }}
4646
runs-on: ubuntu-latest
4747
strategy:
4848
matrix:
@@ -59,15 +59,15 @@ jobs:
5959
parameters: |
6060
{
6161
"hook_url": "${{ secrets.MEGATESTS_ALERTS_SLACK_HOOK_URL }}",
62+
"aligner": "${{ matrix.aligner }}",
6263
"outdir": "${{ secrets.TOWER_BUCKET_GCP }}/rnaseq/results-${{ github.sha }}/aligner_${{ matrix.aligner }}"
6364
}
64-
wait: false
6565
- uses: actions/upload-artifact@v3
6666
with:
6767
name: Tower debug log file
6868
path: tower_action_*.log
6969
run-full-tests-on-azure:
70-
if: ${{ github.event.inputs.platform == 'all' || github.event.inputs.platform == 'azure' }}
70+
if: ${{ github.event.inputs.platform == 'all' || github.event.inputs.platform == 'azure' || !github.event.inputs }}
7171
runs-on: ubuntu-latest
7272
strategy:
7373
matrix:
@@ -84,10 +84,10 @@ jobs:
8484
parameters: |
8585
{
8686
"hook_url": "${{ secrets.MEGATESTS_ALERTS_SLACK_HOOK_URL }}",
87+
"aligner": "${{ matrix.aligner }}",
8788
"outdir": "${{ secrets.TOWER_BUCKET_AZURE }}/rnaseq/results-${{ github.sha }}/aligner_${{ matrix.aligner }}",
8889
"igenomes_base": "${{ secrets.TOWER_IGENOMES_BASE_AZURE }}"
8990
}
90-
wait: false
9191
- uses: actions/upload-artifact@v3
9292
with:
9393
name: Tower debug log file

.github/workflows/cloud_tests_small.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ jobs:
3030
{
3131
"outdir": "${{ secrets.TOWER_BUCKET_AWS }}/rnaseq/results-test-${{ github.sha }}"
3232
}
33-
wait: false
3433
- uses: actions/upload-artifact@v3
3534
with:
3635
name: Tower debug log file
@@ -51,7 +50,6 @@ jobs:
5150
{
5251
"outdir": "${{ secrets.TOWER_BUCKET_GCP }}/rnaseq/results-test-${{ github.sha }}"
5352
}
54-
wait: false
5553
- uses: actions/upload-artifact@v3
5654
with:
5755
name: Tower debug log file
@@ -72,7 +70,6 @@ jobs:
7270
{
7371
"outdir": "${{ secrets.TOWER_BUCKET_AZURE }}/rnaseq/results-test-${{ github.sha }}"
7472
}
75-
wait: false
7673
- uses: actions/upload-artifact@v3
7774
with:
7875
name: Tower debug log file

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,24 @@
33
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
44
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
55

6+
## [[3.11.1](https://github.com/nf-core/rnaseq/releases/tag/3.11.1)] - 2023-03-31
7+
8+
### Credits
9+
10+
Special thanks to the following for their code contributions to the release:
11+
12+
- [Adam Talbot](https://github.com/adamrtalbot)
13+
- [Rob Syme](https://github.com/robsyme)
14+
- [suhrig](https://github.com/suhrig)
15+
16+
### Enhancements & fixes
17+
18+
- [[#987](https://github.com/nf-core/rnaseq/pull/987)] - Fix issue with incorrect cacheing of test datasets during CI/CD
19+
- [[#988](https://github.com/nf-core/rnaseq/issues/988)] - `DESEQ2_QC_STAR_SALMON` fails when sample names have many components
20+
- Remove `wait: false` option from Tower Actions which is the default
21+
- Fix release trigger for full-sized multi-cloud tests
22+
- Adding `[ci fast]` to commit message now skips all tests except for standard `-profile test` pipeline run
23+
624
## [[3.11.0](https://github.com/nf-core/rnaseq/releases/tag/3.11.0)] - 2023-03-30
725

826
### Credits

bin/deseq2_qc.r

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,10 @@ decompose <- n_components!=1 && all(sapply(name_components, length)==n_com
7777
coldata <- data.frame(samples.vec, sample=samples.vec, row.names=1)
7878
if (decompose) {
7979
groupings <- as.data.frame(lapply(1:n_components, function(i) sapply(name_components, "[[", i)))
80-
names(groupings) <- paste0("Group", 1:n_components)
8180
n_distinct <- sapply(groupings, function(grp) length(unique(grp)))
8281
groupings <- groupings[n_distinct!=1 & n_distinct!=length(samples.vec)]
8382
if (ncol(groupings)!=0) {
83+
names(groupings) <- paste0("Group", 1:ncol(groupings))
8484
coldata <- cbind(coldata, groupings)
8585
} else {
8686
decompose <- FALSE

modules.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -211,13 +211,13 @@
211211
},
212212
"umitools/dedup": {
213213
"branch": "master",
214-
"git_sha": "6d9c7e43404e20a97d2f6f88548456afe78282e6",
214+
"git_sha": "ffe2f5865f608848e440a52b73c304ea79aaf818",
215215
"installed_by": ["bam_dedup_stats_samtools_umitools"]
216216
},
217217
"umitools/extract": {
218218
"branch": "master",
219-
"git_sha": "6d9c7e43404e20a97d2f6f88548456afe78282e6",
220-
"installed_by": ["fastq_fastqc_umitools_trimgalore", "fastq_fastqc_umitools_fastp"]
219+
"git_sha": "ffe2f5865f608848e440a52b73c304ea79aaf818",
220+
"installed_by": ["fastq_fastqc_umitools_fastp", "fastq_fastqc_umitools_trimgalore"]
221221
},
222222
"untar": {
223223
"branch": "master",

modules/nf-core/umitools/dedup/main.nf

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

modules/nf-core/umitools/extract/main.nf

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

nextflow.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ manifest {
261261
description = """RNA sequencing analysis pipeline for gene/isoform quantification and extensive quality control."""
262262
mainScript = 'main.nf'
263263
nextflowVersion = '!>=22.10.1'
264-
version = '3.11.0'
264+
version = '3.11.1'
265265
doi = 'https://doi.org/10.5281/zenodo.1400710'
266266
}
267267

0 commit comments

Comments
 (0)