Skip to content

Fatal protobuf error when providing seed file (.gam) #114

@IgnazioSpaccavento

Description

@IgnazioSpaccavento

Hello,
I'm encountering a protobuf fatal error when trying to align using a seed file (.gam).
GraphAligner crashes immediately after loading the seeds.

Command used:
./bin/GraphAligner
-g ../res/test/C4/graph/e_C490.gfa
-f /res/chains.fq
-s /res/seeds.gam
-a /res/test/graphaligner_output.gam
-b 35

Output / Error:
GraphAligner Branch master commit 3c048f2 2025-07-25 14:29:37 +0300
Load graph from ../res/test/C4/graph/e_C490.gfa
Build alignment graph
Load seeds from /res/seeds.gam
[libprotobuf FATAL /home/ignazio/miniconda3/envs/GraphAligner/include/google/protobuf/repeated_ptr_field.h:271] CHECK failed: (index) < (current_size_):
terminate called after throwing an instance of 'google::protobuf::FatalException'
what(): CHECK failed: (index) < (current_size_)
Aborted (core dumped)

Environment

  • GraphAligner commit: 3c048f2 (master)
  • OS: (Ubuntu 22.04)
  • Installation: compiled from source (conda env)

Could this be caused by a mismatch between GraphAligner’s expected GAM schema and the one generated by vg?
Thanks in advance for any help!

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