Flavia Leotta
06/04/2026, 8:22 AMdamageprofiler. I'm running nf-core/eager, v2.5.1 using Nextflow v22.10.6 with DSL1.
I have three samples from the same sequencing run that are pretty similar to each other in terms of size (after clipping they each have from 145 to 175million reads), quality and reads average length. I ran nf-core/eager separately for each of them.
Sample 1 worked on first try in 15 minutes;
Sample 2 first failed 3 times (submitted damage profiler 4 times, canceling it after 1.5 hours). I got impatient, canceled the run and re-sent it and then it succeeded after two tries (failed one was 1 hour long, the second, successful one, lasted 25 minutes).
Sample 3 is still running but has failed already 3 times with a similar pattern as sample 2.
All failed runs display the same error message (memory problems):
Exception in thread "main" java.lang.OutOfMemoryError: GC overhead limit exceeded
at htsjdk.samtools.util.StringUtil.bytesToString(StringUtil.java:301)
at htsjdk.samtools.BAMRecord.decodeReadName(BAMRecord.java:440)
at htsjdk.samtools.BAMRecord.getReadName(BAMRecord.java:252)
at htsjdk.samtools.SAMUtils.validateCigar(SAMUtils.java:937)
at htsjdk.samtools.SAMRecord.validateCigar(SAMRecord.java:1807)
at htsjdk.samtools.BAMRecord.getCigar(BAMRecord.java:284)
at htsjdk.samtools.SAMRecord.isValid(SAMRecord.java:2103)
at htsjdk.samtools.BAMFileReader$BAMFileIterator.advance(BAMFileReader.java:848)
at htsjdk.samtools.BAMFileReader$BAMFileIterator.next(BAMFileReader.java:834)
at htsjdk.samtools.BAMFileReader$BAMFileIterator.next(BAMFileReader.java:802)
at htsjdk.samtools.SamReader$AssertingIterator.next(SamReader.java:574)
at htsjdk.samtools.SamReader$AssertingIterator.next(SamReader.java:553)
at calculations.DamageProfiler.extractSAMRecords(DamageProfiler.java:107)
at calculations.StartCalculations.start(StartCalculations.java:298)
at RunDamageProfiler.main(RunDamageProfiler.java:37)
I'm confused because all samples and all tries have had the same resources (16 CPUs and 20GB of memory) and sent the same command (I checked in the work/ directories in the .sh file), and they fail randomly. The only certain thing is that if damageprofiler takes more than 30 minutes it will fail, but I'd like to avoid having runs stuck on a step over and over if I can help it. One thing that I've noticed, though, is that sample 2 and 3 both got scheduled on the same HPC node (not at the same time): could that be the problem?
Thank you for anybody that has an idea!Thiseas C. Lamnidis
06/04/2026, 9:24 AMFlavia Leotta
06/04/2026, 10:06 AMThiseas C. Lamnidis
06/04/2026, 10:16 AMFlavia Leotta
06/04/2026, 10:18 AMFlavia Leotta
06/04/2026, 3:19 PM