Skip to content

Commit d083b5c

Browse files
committed
apply suggestions
1 parent fa423a2 commit d083b5c

11 files changed

+30
-22
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3939

4040
### Changed
4141

42-
- [[#468](https://github.com/nf-core/differentialabundance/pull/468)] - Template update for nf-core/tools v3.3.1.
42+
- [[#468](https://github.com/nf-core/differentialabundance/pull/468)] - Template update for nf-core/tools v3.3.1 ([@SusiJo](https://github.com/SusiJo), reviewed by [@famosab](https://github.com/famosab), [@mashehu](https://github.com/mashehu))
4343
- [[#448](https://github.com/nf-core/differentialabundance/pull/448)] - Simplify toolsheet handling and restructure workflow to use paramset in meta. ([@pinin4fjords](https://github.com/pinin4fjords), review by [@suzannejin](https://github.com/suzannejin) and [@grst](https://github.com/grst))
4444
- [[#431](https://github.com/nf-core/differentialabundance/pull/431)] - Replace the calls to differential and functional analysis modules by subworkflows. ([@suzannejin](https://github.com/suzannejin), review by [@pinin4fjords](https://github.com/pinin4fjords))
4545
- [[#410](https://github.com/nf-core/differentialabundance/pull/410)] - Update contrasts file format to allow yaml ([@nschcolnicov](https://github.com/nschcolnicov), review by [@pinin4fjords](https://github.com/pinin4fjords)).

nf-test.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ config {
99
configFile "tests/nextflow.config"
1010

1111
// ignore tests coming from the nf-core/modules repo
12-
ignore 'modules/nf-core/**/*', 'subworkflows/nf-core/**/*'
12+
ignore 'modules/nf-core/**/tests/*', 'subworkflows/nf-core/**/tests/*'
1313

1414
// run all test with defined profile(s) from the main nextflow.config
1515
profile "test"

tests/default.nf.test

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ nextflow_pipeline {
1414
paramset_name = "deseq2_rnaseq_gsea"
1515
differential_method = null
1616
functional_method = null
17-
1817
}
1918
}
2019

@@ -43,11 +42,9 @@ nextflow_pipeline {
4342

4443
when {
4544
params {
46-
4745
outdir = "$outputDir"
4846
contrasts_yml = null
4947
contrasts = "https://raw.githubusercontent.com/nf-core/test-datasets/modules/data/genomics/mus_musculus/rnaseq_expression/SRP254919.contrasts.csv"
50-
5148
}
5249
}
5350

tests/nextflow.config

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
params.modules_testdata_base_path = 'https://raw.githubusercontent.com/nf-core/test-datasets/modules/data/'
1010
params.pipelines_testdata_base_path = 'https://raw.githubusercontent.com/nf-core/test-datasets/refs/heads/differentialabundance'
1111

12-
aws.client.anonymous = true // fixes S3 access issues on self-hosted runners
12+
// fixes S3 access issues on self-hosted runners
13+
aws.client.anonymous = true
1314

1415

1516
process {

tests/test_affy.nf.test

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ nextflow_pipeline {
1313
params {
1414
outdir = "$outputDir"
1515
study_name = 'GSE50790'
16-
1716
}
1817
}
1918

tests/test_custom_paramsheet.nf.test

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,13 @@ nextflow_pipeline {
1313
paramsheet = "https://raw.githubusercontent.com/nf-core/test-datasets/refs/heads/differentialabundance/testdata/test_custom_paramsheet.csv"
1414
paramset_name = "deseq2"
1515

16+
// input data
17+
input = 'https://raw.githubusercontent.com/nf-core/test-datasets/modules/data/genomics/mus_musculus/rnaseq_expression/SRP254919.samplesheet.csv'
18+
matrix = 'https://raw.githubusercontent.com/nf-core/test-datasets/modules/data/genomics/mus_musculus/rnaseq_expression/SRP254919.salmon.merged.gene_counts.top1000cov.tsv'
19+
transcript_length_matrix = 'https://raw.githubusercontent.com/nf-core/test-datasets/modules/data/genomics/mus_musculus/rnaseq_expression/SRP254919.spoofed_lengths.tsv'
20+
contrasts_yml = 'https://raw.githubusercontent.com/nf-core/test-datasets/refs/heads/differentialabundance/testdata/SRP254919.contrasts.yaml'
21+
gtf = 'https://ftp.ensembl.org/pub/release-81/gtf/mus_musculus/Mus_musculus.GRCm38.81.gtf.gz'
22+
gene_sets_files = 'https://raw.githubusercontent.com/nf-core/test-datasets/modules/data/genomics/mus_musculus/gene_set_analysis/mh.all.v2022.1.Mm.symbols.gmt'
1623
}
1724
}
1825

@@ -45,6 +52,13 @@ nextflow_pipeline {
4552
paramsheet = "https://raw.githubusercontent.com/nf-core/test-datasets/refs/heads/differentialabundance/testdata/test_custom_paramsheet.csv"
4653
paramset_name = "gsea"
4754

55+
// input data
56+
input = 'https://raw.githubusercontent.com/nf-core/test-datasets/modules/data/genomics/mus_musculus/rnaseq_expression/SRP254919.samplesheet.csv'
57+
matrix = 'https://raw.githubusercontent.com/nf-core/test-datasets/modules/data/genomics/mus_musculus/rnaseq_expression/SRP254919.salmon.merged.gene_counts.top1000cov.tsv'
58+
transcript_length_matrix = 'https://raw.githubusercontent.com/nf-core/test-datasets/modules/data/genomics/mus_musculus/rnaseq_expression/SRP254919.spoofed_lengths.tsv'
59+
contrasts_yml = 'https://raw.githubusercontent.com/nf-core/test-datasets/refs/heads/differentialabundance/testdata/SRP254919.contrasts.yaml'
60+
gtf = 'https://ftp.ensembl.org/pub/release-81/gtf/mus_musculus/Mus_musculus.GRCm38.81.gtf.gz'
61+
gene_sets_files = 'https://raw.githubusercontent.com/nf-core/test-datasets/modules/data/genomics/mus_musculus/gene_set_analysis/mh.all.v2022.1.Mm.symbols.gmt'
4862
}
4963
}
5064

@@ -77,6 +91,13 @@ nextflow_pipeline {
7791
paramsheet = "https://raw.githubusercontent.com/nf-core/test-datasets/refs/heads/differentialabundance/testdata/test_custom_paramsheet.csv"
7892
paramset_name = "gprofiler2"
7993

94+
// input data
95+
input = 'https://raw.githubusercontent.com/nf-core/test-datasets/modules/data/genomics/mus_musculus/rnaseq_expression/SRP254919.samplesheet.csv'
96+
matrix = 'https://raw.githubusercontent.com/nf-core/test-datasets/modules/data/genomics/mus_musculus/rnaseq_expression/SRP254919.salmon.merged.gene_counts.top1000cov.tsv'
97+
transcript_length_matrix = 'https://raw.githubusercontent.com/nf-core/test-datasets/modules/data/genomics/mus_musculus/rnaseq_expression/SRP254919.spoofed_lengths.tsv'
98+
contrasts_yml = 'https://raw.githubusercontent.com/nf-core/test-datasets/refs/heads/differentialabundance/testdata/SRP254919.contrasts.yaml'
99+
gtf = 'https://ftp.ensembl.org/pub/release-81/gtf/mus_musculus/Mus_musculus.GRCm38.81.gtf.gz'
100+
gene_sets_files = 'https://raw.githubusercontent.com/nf-core/test-datasets/modules/data/genomics/mus_musculus/gene_set_analysis/mh.all.v2022.1.Mm.symbols.gmt'
80101
}
81102
}
82103

tests/test_maxquant.nf.test

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ nextflow_pipeline {
1414
study_name = 'PXD043349'
1515
config_profile_name = 'MaxQuant test profile'
1616
config_profile_description = 'MaxQuant test dataset to check pipeline function'
17-
18-
}
17+
}
1918
}
2019

2120
then {

tests/test_nogtf.nf.test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ nextflow_pipeline {
1010

1111
when {
1212
params {
13-
outdir = "$outputDir"
14-
}
13+
outdir = "$outputDir"
14+
}
1515
}
1616

1717
then {

tests/test_rnaseq_dream.nf.test

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ nextflow_pipeline {
1414
paramset_name = "dream_rnaseq"
1515
differential_method = null
1616
functional_method = null
17-
18-
}
17+
}
1918
}
2019

2120
then {
@@ -40,13 +39,10 @@ nextflow_pipeline {
4039
}
4140

4241

43-
4442
test("Test rnaseq dream profile - complex contrast") {
45-
4643
when {
4744
params {
4845
outdir = "$outputDir"
49-
5046
}
5147
}
5248

tests/test_rnaseq_limma.nf.test

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ nextflow_pipeline {
1111
when {
1212
params {
1313
outdir = "$outputDir"
14-
1514
}
1615
}
1716

0 commit comments

Comments
 (0)