Skip to content

Commit 48fb9b4

Browse files
authored
Merge pull request #966 from nf-core/dev
Dev -> Master for 3.11 release
2 parents 6e1e448 + fbffe86 commit 48fb9b4

File tree

81 files changed

+2015
-1089
lines changed

Some content is hidden

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

81 files changed

+2015
-1089
lines changed

.github/workflows/awsfulltest.yml

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

.github/workflows/awstest.yml

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

.github/workflows/ci.yml

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

38+
- name: Cache test data
39+
id: cache-testdata
40+
uses: actions/cache@v3
41+
with:
42+
path: test-datasets/
43+
key: rnaseq3_10-test-data
44+
45+
- name: Check out test data
46+
if: steps.cache-testdata.outputs.cache-hit != 'true'
47+
uses: actions/checkout@v3
48+
with:
49+
repository: nf-core/test-datasets
50+
ref: rnaseq3
51+
path: test-datasets/
52+
53+
- name: Replace remote paths in samplesheets
54+
run: |
55+
for f in ${{ github.workspace }}/test-datasets/samplesheet/v3.10/*.csv; do
56+
sed -i "s=https://raw.githubusercontent.com/nf-core/test-datasets/rnaseq/=${{ github.workspace }}/test-datasets/=g" $f
57+
echo "========== $f ============"
58+
cat $f
59+
echo "========================================"
60+
done;
61+
3862
- name: Run pipeline with test data
3963
run: |
40-
nextflow run ${GITHUB_WORKSPACE} -profile test,docker --outdir ./results
64+
nextflow run ${GITHUB_WORKSPACE} -profile test,docker --outdir ./results --test_data_base ${{ github.workspace }}/test-datasets/
4165
4266
star_salmon:
4367
name: Test STAR Salmon with workflow parameters
@@ -58,18 +82,43 @@ jobs:
5882
- "--bam_csi_index"
5983
- "--save_align_intermeds --save_reference"
6084
- "--featurecounts_group_type false"
85+
- "--trimmer fastp"
6186
steps:
6287
- name: Check out pipeline code
6388
uses: actions/checkout@v2
6489

90+
- name: Cache test data
91+
id: cache-testdata
92+
uses: actions/cache@v3
93+
with:
94+
path: test-datasets/
95+
key: rnaseq3_10-test-data
96+
97+
- name: Check out test data
98+
if: steps.cache-testdata.outputs.cache-hit != 'true'
99+
uses: actions/checkout@v3
100+
with:
101+
repository: nf-core/test-datasets
102+
ref: rnaseq3
103+
path: test-datasets/
104+
105+
- name: Replace remote paths in samplesheets
106+
run: |
107+
for f in ${{ github.workspace }}/test-datasets/samplesheet/v3.10/*.csv; do
108+
sed -i "s=https://raw.githubusercontent.com/nf-core/test-datasets/rnaseq/=${{ github.workspace }}/test-datasets/=g" $f
109+
echo "========== $f ============"
110+
cat $f
111+
echo "========================================"
112+
done;
113+
65114
- name: Install Nextflow
66115
run: |
67116
wget -qO- get.nextflow.io | bash
68117
sudo mv nextflow /usr/local/bin/
69118
70119
- name: Run pipeline with STAR and various parameters
71120
run: |
72-
nextflow run ${GITHUB_WORKSPACE} -profile test,docker --aligner star_salmon ${{ matrix.parameters }} --outdir ./results
121+
nextflow run ${GITHUB_WORKSPACE} -profile test,docker --aligner star_salmon ${{ matrix.parameters }} --outdir ./results --test_data_base ${{ github.workspace }}/test-datasets/
73122
74123
star_rsem:
75124
name: Test STAR RSEM with workflow parameters
@@ -84,14 +133,38 @@ jobs:
84133
- name: Check out pipeline code
85134
uses: actions/checkout@v2
86135

136+
- name: Cache test data
137+
id: cache-testdata
138+
uses: actions/cache@v3
139+
with:
140+
path: test-datasets/
141+
key: rnaseq3_10-test-data
142+
143+
- name: Check out test data
144+
if: steps.cache-testdata.outputs.cache-hit != 'true'
145+
uses: actions/checkout@v3
146+
with:
147+
repository: nf-core/test-datasets
148+
ref: rnaseq3
149+
path: test-datasets/
150+
151+
- name: Replace remote paths in samplesheets
152+
run: |
153+
for f in ${{ github.workspace }}/test-datasets/samplesheet/v3.10/*.csv; do
154+
sed -i "s=https://raw.githubusercontent.com/nf-core/test-datasets/rnaseq/=${{ github.workspace }}/test-datasets/=g" $f
155+
echo "========== $f ============"
156+
cat $f
157+
echo "========================================"
158+
done;
159+
87160
- name: Install Nextflow
88161
run: |
89162
wget -qO- get.nextflow.io | bash
90163
sudo mv nextflow /usr/local/bin/
91164
92165
- name: Run pipeline with RSEM STAR and various parameters
93166
run: |
94-
nextflow run ${GITHUB_WORKSPACE} -profile test,docker --aligner star_rsem ${{ matrix.parameters }} --outdir ./results
167+
nextflow run ${GITHUB_WORKSPACE} -profile test,docker --aligner star_rsem ${{ matrix.parameters }} --outdir ./results --test_data_base ${{ github.workspace }}/test-datasets/
95168
96169
hisat2:
97170
name: Test HISAT2 with workflow parameters
@@ -106,14 +179,38 @@ jobs:
106179
- name: Check out pipeline code
107180
uses: actions/checkout@v2
108181

182+
- name: Cache test data
183+
id: cache-testdata
184+
uses: actions/cache@v3
185+
with:
186+
path: test-datasets/
187+
key: rnaseq3_10-test-data
188+
189+
- name: Check out test data
190+
if: steps.cache-testdata.outputs.cache-hit != 'true'
191+
uses: actions/checkout@v3
192+
with:
193+
repository: nf-core/test-datasets
194+
ref: rnaseq3
195+
path: test-datasets/
196+
197+
- name: Replace remote paths in samplesheets
198+
run: |
199+
for f in ${{ github.workspace }}/test-datasets/samplesheet/v3.10/*.csv; do
200+
sed -i "s=https://raw.githubusercontent.com/nf-core/test-datasets/rnaseq/=${{ github.workspace }}/test-datasets/=g" $f
201+
echo "========== $f ============"
202+
cat $f
203+
echo "========================================"
204+
done;
205+
109206
- name: Install Nextflow
110207
run: |
111208
wget -qO- get.nextflow.io | bash
112209
sudo mv nextflow /usr/local/bin/
113210
114211
- name: Run pipeline with HISAT2 and various parameters
115212
run: |
116-
nextflow run ${GITHUB_WORKSPACE} -profile test,docker --aligner hisat2 ${{ matrix.parameters }} --outdir ./results
213+
nextflow run ${GITHUB_WORKSPACE} -profile test,docker --aligner hisat2 ${{ matrix.parameters }} --outdir ./results --test_data_base ${{ github.workspace }}/test-datasets/
117214
118215
salmon:
119216
name: Test Salmon with workflow parameters
@@ -128,11 +225,35 @@ jobs:
128225
- name: Check out pipeline code
129226
uses: actions/checkout@v2
130227

228+
- name: Cache test data
229+
id: cache-testdata
230+
uses: actions/cache@v3
231+
with:
232+
path: test-datasets/
233+
key: rnaseq3_10-test-data
234+
235+
- name: Check out test data
236+
if: steps.cache-testdata.outputs.cache-hit != 'true'
237+
uses: actions/checkout@v3
238+
with:
239+
repository: nf-core/test-datasets
240+
ref: rnaseq3
241+
path: test-datasets/
242+
243+
- name: Replace remote paths in samplesheets
244+
run: |
245+
for f in ${{ github.workspace }}/test-datasets/samplesheet/v3.10/*.csv; do
246+
sed -i "s=https://raw.githubusercontent.com/nf-core/test-datasets/rnaseq/=${{ github.workspace }}/test-datasets/=g" $f
247+
echo "========== $f ============"
248+
cat $f
249+
echo "========================================"
250+
done;
251+
131252
- name: Install Nextflow
132253
run: |
133254
wget -qO- get.nextflow.io | bash
134255
sudo mv nextflow /usr/local/bin/
135256
136257
- name: Run pipeline with Salmon and various parameters
137258
run: |
138-
nextflow run ${GITHUB_WORKSPACE} -profile test,docker --pseudo_aligner salmon ${{ matrix.parameters }} --outdir ./results
259+
nextflow run ${GITHUB_WORKSPACE} -profile test,docker --pseudo_aligner salmon ${{ matrix.parameters }} --outdir ./results --test_data_base ${{ github.workspace }}/test-datasets/
Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
name: full-sized tests on cloud providers
2+
run-name: Submitting workflow to all cloud providers using full sized data
3+
on:
4+
release:
5+
types: [published]
6+
workflow_dispatch:
7+
inputs:
8+
platform:
9+
description: "Platform to run test"
10+
required: true
11+
default: "all"
12+
type: choice
13+
options:
14+
- all
15+
- aws
16+
- azure
17+
- gcp
18+
jobs:
19+
run-full-tests-on-aws:
20+
if: ${{ github.event.inputs.platform == 'all' || github.event.inputs.platform == 'aws' }}
21+
runs-on: ubuntu-latest
22+
strategy:
23+
matrix:
24+
aligner: ["star_salmon", "star_rsem"]
25+
steps:
26+
- uses: seqeralabs/action-tower-launch@v1
27+
with:
28+
workspace_id: ${{ secrets.TOWER_WORKSPACE_ID }}
29+
access_token: ${{ secrets.TOWER_ACCESS_TOKEN }}
30+
compute_env: ${{ secrets.TOWER_CE_AWS_CPU }}
31+
workdir: "${{ secrets.TOWER_BUCKET_AWS }}/work/rnaseq/work-${{ github.sha }}"
32+
run_name: "aws_rnaseq_full_${{ matrix.aligner }}"
33+
profiles: test_full_aws
34+
parameters: |
35+
{
36+
"hook_url": "${{ secrets.MEGATESTS_ALERTS_SLACK_HOOK_URL }}",
37+
"outdir": "${{ secrets.TOWER_BUCKET_AWS }}/rnaseq/results-${{ github.sha }}/aligner_${{ matrix.aligner }}"
38+
}
39+
wait: false
40+
- uses: actions/upload-artifact@v3
41+
with:
42+
name: Tower debug log file
43+
path: tower_action_*.log
44+
run-full-tests-on-gcp:
45+
if: ${{ github.event.inputs.platform == 'all' || github.event.inputs.platform == 'gcp' }}
46+
runs-on: ubuntu-latest
47+
strategy:
48+
matrix:
49+
aligner: ["star_salmon", "star_rsem"]
50+
steps:
51+
- uses: seqeralabs/action-tower-launch@v1
52+
with:
53+
workspace_id: ${{ secrets.TOWER_WORKSPACE_ID }}
54+
access_token: ${{ secrets.TOWER_ACCESS_TOKEN }}
55+
compute_env: ${{ secrets.TOWER_CE_GCP_CPU }}
56+
workdir: "${{ secrets.TOWER_BUCKET_GCP }}/work/rnaseq/work-${{ github.sha }}"
57+
run_name: "gcp_rnaseq_full_${{ matrix.aligner }}"
58+
profiles: test_full_gcp
59+
parameters: |
60+
{
61+
"hook_url": "${{ secrets.MEGATESTS_ALERTS_SLACK_HOOK_URL }}",
62+
"outdir": "${{ secrets.TOWER_BUCKET_GCP }}/rnaseq/results-${{ github.sha }}/aligner_${{ matrix.aligner }}"
63+
}
64+
wait: false
65+
- uses: actions/upload-artifact@v3
66+
with:
67+
name: Tower debug log file
68+
path: tower_action_*.log
69+
run-full-tests-on-azure:
70+
if: ${{ github.event.inputs.platform == 'all' || github.event.inputs.platform == 'azure' }}
71+
runs-on: ubuntu-latest
72+
strategy:
73+
matrix:
74+
aligner: ["star_salmon", "star_rsem"]
75+
steps:
76+
- uses: seqeralabs/action-tower-launch@v1
77+
with:
78+
workspace_id: ${{ secrets.TOWER_WORKSPACE_ID }}
79+
access_token: ${{ secrets.TOWER_ACCESS_TOKEN }}
80+
compute_env: ${{ secrets.TOWER_CE_AZURE_CPU }}
81+
workdir: "${{ secrets.TOWER_BUCKET_AZURE }}/work/rnaseq/work-${{ github.sha }}"
82+
run_name: "azure_rnaseq_full_${{ matrix.aligner }}"
83+
profiles: test_full_azure
84+
parameters: |
85+
{
86+
"hook_url": "${{ secrets.MEGATESTS_ALERTS_SLACK_HOOK_URL }}",
87+
"outdir": "${{ secrets.TOWER_BUCKET_AZURE }}/rnaseq/results-${{ github.sha }}/aligner_${{ matrix.aligner }}",
88+
"igenomes_base": "${{ secrets.TOWER_IGENOMES_BASE_AZURE }}"
89+
}
90+
wait: false
91+
- uses: actions/upload-artifact@v3
92+
with:
93+
name: Tower debug log file
94+
path: tower_action_*.log

0 commit comments

Comments
 (0)