Tharos-ux / pancat

Pangenome graphs visualisation, distance computing, reconstruction of sequences and other utility functions

Home Page:https://tharos-ux.github.io/pangenome-notes/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Loops within graphs extracted with `isolate` or `neighborhood` causes `grapher` to fall in infinite loop

Tharos-ux opened this issue · comments

When you work on a gfa graph that do has cycles, given the cycle is "long enough", the extraction of correct P or W lines fails, giving aberrant structures. Some nodes are referenced in P/W line, without being embed as S-lines, making the graph visualisation tool endlessly searching for those nodes.

Linked with #10, we can ask if the graph has loops with pangraphs stats. This issue will need huge development on the behalf of isolate. The command neighborhood is now deprecated.

For now, isolate and neighborhood are deprecated. Will be re-implemented from scratch in the future.