File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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 {
You can’t perform that action at this time.
0 commit comments