Skip to content

Commit ac7db68

Browse files
author
Seqera AI
committed
Merge main into full_test: resolve conflicts with test profiles
2 parents 32fd51c + 27960c9 commit ac7db68

3 files changed

Lines changed: 9 additions & 6 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

modules/xengsort_summary.nf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
process XENGSORT_SUMMARY {
2+
container "ubuntu:22.04"
23
publishDir "${params.outdir_base}/xengsort", mode: 'copy'
34

45
input:

nextflow.config

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff 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"

0 commit comments

Comments
 (0)