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 11process XENGSORT_SUMMARY {
2+ container " ubuntu:22.04"
23 publishDir " ${ params.outdir_base} /xengsort" , mode: ' copy'
34
45 input:
Original file line number Diff line number Diff line change @@ -40,19 +40,21 @@ profiles {
4040
4141 // Specific configuration for memory-intensive processes
4242 withName : ' XENGSORT_CLASSIFY' {
43- memory = ' 4 .GB'
43+ memory = ' 8 .GB'
4444 cpus = 2
4545 }
4646
4747 withName : ' XENGSORT_INDEX' {
4848 memory = ' 2.GB'
4949 cpus = 2
50+ // Use much smaller index for test data to reduce memory requirements
51+ ext. args = ' -n 100000000 -k 25'
5052 }
5153 }
5254 params {
53- input = " ${ projectDir } /test_minimal/data/xengsort/samplesheet.csv"
54- hg38_fasta = " ${ projectDir } /test_minimal/data/xengsort/human.fa"
55- nsg_fasta = " ${ projectDir } /test_minimal/data/xengsort/mouse.fa"
55+ input = " https://raw.githubusercontent.com/tylergross97/nextflow_xengsort/main /test_minimal/data/xengsort/samplesheet.csv"
56+ hg38_fasta = " https://raw.githubusercontent.com/tylergross97/nextflow_xengsort/main /test_minimal/data/xengsort/human.fa"
57+ nsg_fasta = " https://raw.githubusercontent.com/tylergross97/nextflow_xengsort/main /test_minimal/data/xengsort/mouse.fa"
5658 outdir_base = ' results_test_minimal'
5759 outdir_references = " results_test_minimal/references"
5860 outdir_fastp = " results_test_minimal/fastp"
You can’t perform that action at this time.
0 commit comments