Skip to content

Segmentation fault (core dumped) during SVDSS search and SVDSS call with HiFi data #39

@comery

Description

@comery

Hello,

I am encountering a Segmentation fault (core dumped) error when running SVDSS search and SVDSS call on PacBio HiFi data. The data is aligned to the T2T-CHM13v2.0 reference genome.

The SVDSS index and SVDSS smooth steps completed successfully, but the pipeline crashes at the search step, resulting in an empty specifics.txt file. Consequently, the call step also fails with a segmentation fault after loading 0 SFSs.

Environment:

  • Data type: PacBio HiFi (HG002)

  • Reference: T2T-CHM13v2.0

  • SVDSS version: [v2.1.0]

Commands executed:

# Set variables (paths anonymized)
REF='/path/to/GCF_009914755.1_T2T-CHM13v2.0_genomic_chr.fasta'
BAM='/path/to/hg002_to_chm13.hifi.sort.bam'

SVDSS index -t24 -d $REF > $REF.fmd 
SVDSS smooth --reference $REF --bam $BAM --threads 24 > smoothed.bam 
samtools index smoothed.bam 

The pipeline fails at these steps:

SVDSS search --index $REF.fmd --bam smoothed.bam > specifics.txt
SVDSS call --reference $REF --bam smoothed.bam --sfs specifics.txt --threads 24 --min-sv-length 50 > calls.vcf

Standard Output / Error Logs:

[2026-04-13 14:17:13.990] [stderr] [info] Loading reference genome from /path/to/GCF_009914755.1_T2T-CHM13v2.0_genomic_chr.fasta..
[2026-04-13 14:17:24.349] [stderr] [info] Max allowed alignment accuracy: 0.023337894416148718
[2026-04-13 14:17:24.566] [stderr] [info] Smoothing alignments on 24 threads..
Alignments processed so far: 21697113. Alignments processed per second: 9487. Time: 2287
[2026-04-13 14:55:31.837] [stderr] [info] All done! Runtime: 2298 seconds
smooth done
index done
[2026-04-13 15:06:37.555] [stderr] [info] Restoring index..
[2026-04-13 15:06:38.241] [stderr] [info] Extracting SFS strings on 4 threads..
Segmentation fault      (core dumped) SVDSS search --index $REF.fmd --bam smoothed.bam > specifics.txt

[2026-04-13 15:06:38.576] [stderr] [info] Loading reference genome from /path/to/GCF_009914755.1_T2T-CHM13v2.0_genomic_chr.fasta..
[2026-04-13 15:06:48.441] [stderr] [info] Loading SFSs from specifics.txt..
[2026-04-13 15:06:48.442] [stderr] [info] Loaded 0 SFSs from 0 reads.
[2026-04-13 15:06:48.506] [stderr] [info] Placing SFSs on reference genome
[2026-04-13 15:08:12.931] [stderr] [info] 0/0/0 unplaced SFSs. 0 erroneus SFSs. 0 clipped SFSs.
[2026-04-13 15:08:12.931] [stderr] [info] Clustering 0 SFSs..
Segmentation fault      (core dumped) SVDSS call --reference $REF --bam smoothed.bam --sfs specifics.txt --threads 24 --min-sv-length 50 > calls.vcf```
Could you please provide any insights on what might be causing this memory error or if there is a workaround for processing HiFi datasets against the T2T reference? Thank you for your time and assistance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions