Skip to content

Commit a55a653

Browse files
authored
Merge pull request #4 from tylergross97/seqera-ai/20260220-181546-fix-test-memory-config
Fix test profile memory configuration for xengsort
2 parents 3621b5a + 11aa98b commit a55a653

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

modules/xengsort_index.nf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ process XENGSORT_INDEX {
1010
path "xengsort_index.*", emit: index_files
1111

1212
script:
13+
def args = task.ext.args ?: '-n 4500000000 -k 25'
1314
"""
1415
xengsort index \\
1516
--index xengsort_index \\
1617
--host ${mouse_fasta} \\
1718
--graft ${human_fasta} \\
18-
-n 4500000000 \\
19-
-k 25
19+
${args}
2020
"""
2121

2222
// Add a stub block for minimal test

nextflow.config

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,15 @@ profiles {
3939

4040
// Specific configuration for memory-intensive processes
4141
withName: 'XENGSORT_CLASSIFY' {
42-
memory = '4.GB'
42+
memory = '8.GB'
4343
cpus = 2
4444
}
4545

4646
withName: 'XENGSORT_INDEX' {
4747
memory = '2.GB'
4848
cpus = 2
49+
// Use much smaller index for test data to reduce memory requirements
50+
ext.args = '-n 100000000 -k 25'
4951
}
5052
}
5153
params {

0 commit comments

Comments
 (0)