Skip to content

Commit 8eaad11

Browse files
committed
test: set seed for formula test
1 parent 168a045 commit 8eaad11

File tree

4 files changed

+7
-0
lines changed

4 files changed

+7
-0
lines changed

conf/modules.config

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,7 @@ process {
267267
"--vst_nsub $meta.params.deseq2_vst_nsub",
268268
"--shrink_lfc $meta.params.deseq2_shrink_lfc",
269269
"--cores $meta.params.deseq2_cores",
270+
"--seed $meta.params.deseq2_seed",
270271
"--subset_to_contrast_samples $meta.params.differential_subset_to_contrast_samples",
271272
((meta.params.round_digits != null && meta.params.round_digits > 0) ? "--round_digits $meta.params.round_digits" : ""),
272273
((meta.blocking == null) ? '' : "--blocking_variables $meta.blocking")

nextflow.config

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ params {
119119
deseq2_cores = 1
120120
deseq2_vs_blind = true
121121
deseq2_vst_nsub = 1000
122+
deseq2_seed = null
122123

123124
// Limma-specific options
124125
limma_ndups = null

nextflow_schema.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -699,6 +699,10 @@
699699
"help_text": "Number of cores to use with DESeq()",
700700
"fa_icon": "fab fa-centercode"
701701
},
702+
"deseq2_seed": {
703+
"type": "integer",
704+
"fa_icon": "fas fa-seedling"
705+
},
702706
"deseq2_vs_blind": {
703707
"type": "boolean",
704708
"default": true,

tests/default.nf.test

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ nextflow_pipeline {
111111
exploratory_log2_assays = "raw"
112112
skip_reports = true
113113
transcript_length_matrix = null
114+
deseq2_seed = 1
114115

115116
}
116117
}

0 commit comments

Comments
 (0)