Famke Bäuerle
12/03/2025, 1:35 PMjava.lang.OutOfMemoryError: Required array size too large probably because I have too many files in my outputDir but when I comment out the stable_name and just assert the stable_path it works. Did anyone encounter this before and could give me hint for a good way forward because I want to assert the stable_name part aswell.Maxime Garcia
12/03/2025, 1:36 PMFamke Bäuerle
12/03/2025, 1:36 PMFamke Bäuerle
12/03/2025, 1:36 PMMaxime Garcia
12/03/2025, 1:37 PMMaxime Garcia
12/03/2025, 1:37 PMFamke Bäuerle
12/03/2025, 1:37 PMreference folder that I create did not solve the issueMaxime Garcia
12/03/2025, 1:38 PMFamke Bäuerle
12/03/2025, 1:38 PMFamke Bäuerle
12/03/2025, 1:38 PMMaxime Garcia
12/03/2025, 1:41 PMFamke Bäuerle
12/03/2025, 1:42 PMFamke Bäuerle
12/03/2025, 1:42 PMFamke Bäuerle
12/03/2025, 1:42 PMMaxime Garcia
12/03/2025, 1:43 PMMaxime Garcia
12/03/2025, 1:43 PMNicolas Vannieuwkerke
12/03/2025, 1:44 PMFamke Bäuerle
12/03/2025, 1:44 PMFamke Bäuerle
12/03/2025, 1:44 PMreferences folder I run into this issue and without that folder I just have a handfull of files as far as I can tell 😞Maxime Garcia
12/03/2025, 1:45 PMNicolas Vannieuwkerke
12/03/2025, 1:45 PMMaxime Garcia
12/03/2025, 1:46 PMMaxime Garcia
12/03/2025, 1:46 PMFamke Bäuerle
12/03/2025, 1:46 PMFamke Bäuerle
12/03/2025, 1:48 PMstable_name does not work even if I use .nftignore but stable_path worksFamke Bäuerle
12/03/2025, 1:48 PMFamke Bäuerle
12/03/2025, 1:48 PMFamke Bäuerle
12/03/2025, 1:48 PMthen {
// stable_name: All files + folders in ${params.outdir}/ with a stable name
def stable_name = getAllFilesFromDir(params.outdir, relative: true, includeDir: true, ignoreFile: 'tests/.nftignore') //ignore: ['pipeline_info/*.{html,json,txt}', 'reference/**/*.{tsv.gz,tsv,html,fa.gz,fa.gz.fai,fa.gz.gzi,rds,vcf.gz.vcf.gz.tbi}'])
// stable_path: All files in ${params.outdir}/ with stable content
//def stable_path = getAllFilesFromDir(params.outdir, ignoreFile: 'tests/.nftignore')
// vcf_files: All vcf files
//def vcf_files = getAllFilesFromDir(params.outdir, include: ['**/*.vcf{,.gz}'])
assert workflow.success
assertAll(
{ assert snapshot(
// pipeline versions.yml file for multiqc from which Nextflow and pipeline versions are removed (all from the workflow key)
//removeFromYamlMap("${outputDir}/pipeline_info/nf_core_rnavar_software_mqc_versions.yml", "Workflow"),
// All stable path name, with a relative path
stable_name,
// All files with stable contents
//stable_path.isEmpty() ? 'No stable content' : stable_path,
// All vcf files
//vcf_files.isEmpty() ? 'No VCF files' : vcf_files.collect { file -> file.getName() + ":md5," + path(file.toString()).vcf.variantsMD5 }
).match() }
)
}
leads to errorFamke Bäuerle
12/03/2025, 1:49 PMthen {
// stable_name: All files + folders in ${params.outdir}/ with a stable name
//def stable_name = getAllFilesFromDir(params.outdir, relative: true, includeDir: true, ignoreFile: 'tests/.nftignore') //ignore: ['pipeline_info/*.{html,json,txt}', 'reference/**/*.{tsv.gz,tsv,html,fa.gz,fa.gz.fai,fa.gz.gzi,rds,vcf.gz.vcf.gz.tbi}'])
// stable_path: All files in ${params.outdir}/ with stable content
def stable_path = getAllFilesFromDir(params.outdir, ignoreFile: 'tests/.nftignore')
// vcf_files: All vcf files
//def vcf_files = getAllFilesFromDir(params.outdir, include: ['**/*.vcf{,.gz}'])
assert workflow.success
assertAll(
{ assert snapshot(
// pipeline versions.yml file for multiqc from which Nextflow and pipeline versions are removed (all from the workflow key)
//removeFromYamlMap("${outputDir}/pipeline_info/nf_core_rnavar_software_mqc_versions.yml", "Workflow"),
// All stable path name, with a relative path
//stable_name,
// All files with stable contents
stable_path.isEmpty() ? 'No stable content' : stable_path,
// All vcf files
//vcf_files.isEmpty() ? 'No VCF files' : vcf_files.collect { file -> file.getName() + ":md5," + path(file.toString()).vcf.variantsMD5 }
).match() }
)
}
worksFamke Bäuerle
12/03/2025, 1:53 PMincludeDir: true. When I remove it stable_name also works without OOM errorMaxime Garcia
12/03/2025, 5:26 PMMaxime Garcia
12/03/2025, 5:26 PMMaxime Garcia
12/03/2025, 5:27 PMFamke Bäuerle
12/04/2025, 9:28 AMMaxime Garcia
12/04/2025, 9:34 AMMaxime Garcia
12/04/2025, 9:34 AMFamke Bäuerle
12/04/2025, 9:35 AMMaxime Garcia
12/04/2025, 9:35 AMFamke Bäuerle
12/04/2025, 9:35 AMFamke Bäuerle
12/04/2025, 9:35 AMMaxime Garcia
12/04/2025, 9:36 AMMaxime Garcia
12/04/2025, 9:36 AMMaxime Garcia
12/04/2025, 9:37 AMMaxime Garcia
12/04/2025, 9:37 AMMaxime Garcia
12/04/2025, 9:52 AMFamke Bäuerle
12/04/2025, 9:52 AMMaxime Garcia
12/04/2025, 9:53 AMMaxime Garcia
12/04/2025, 9:53 AMMaxime Garcia
12/04/2025, 9:53 AMMaxime Garcia
12/04/2025, 9:53 AMMaxime Garcia
12/04/2025, 11:20 AMdef stable_name = getAllFilesFromDir(params.outdir, relative: true, includeDir: true, ignore: ['pipeline_info/*.{html,json,txt}', 'reference/{**/*,*}'])