Skip to content

running gfaffix on non-numeric node IDs #22

Description

@SebastianMeyer1989

Running gfaffix directly on a hifiasm-produced GFA causes an unhandled "panic" partway through loading the graph:

[2026-08-18T09:18:28Z INFO  gfaffix] running gfaffix on 4 threads
[2026-08-18T09:18:28Z INFO  gfaffix] loading graph from /path/to/graph_r_utg.gfa

thread 'main' (10929) panicked at src/main.rs:1154:80:
called `Result::unwrap()` on an `Err` value: InvalidLine(UintIdError, "S\tutg000001l\tAGCTG ... AGAGT\tLN:i:402575\trd:i:18\n")
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

It seems gfaffix had a problem with hifiasm's default node IDs being alphanumeric (e.g. utg000001l).

A workaround I currently use is renaming the GFA nodes into numeric ones, but would it be possible to add the processing of alphanumeric node IDs to gfaffix?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions