You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is what the original graph looks like
After gfaffix it zips up part of the bubble:
But if I zoom into the zipped part, it's really weird "braid" structure
That same part looks like this in _fixc.gfa where --dont_collapse wasn't used (but the ref path loops back through the zipped part)
The net result is a really nested distance index, which can be checked as follows.
Which show snarl depth 3 for the raw graph, 4 for the collapsed graph and 69 for the --dont_collapse graph.
Do you think there is a way of preventing this type of motif? It's true that the fixed graph has 75 fewer bases and 64 fewer nodes (one more edge, though), but it is much more difficult for vg to work with.
The text was updated successfully, but these errors were encountered:
Braiding structure. Yes, this behavior is inherent to the de-collapse algorithm. I was hoping that removing edges that are not covered by any path would resolve this issue, but apparently, it doesn't.
Cycles introduced by de-collapse. I'm not sure this is can be fixed in the current approach.
Both of the issues are non-obvious to fix, they require to refine the de-collapse algorithm. I have to think about it before I can give you a better and definite answer.
This is messing with @xchang1's distance index, because it makes a deep nested snarl structure.
To reproduce,
gfaffix
this graph with and without collapsingThis is what the original graph looks like
After
gfaffix
it zips up part of the bubble:But if I zoom into the zipped part, it's really weird "braid" structure
That same part looks like this in
_fixc.gfa
where--dont_collapse
wasn't used (but the ref path loops back through the zipped part)The net result is a really nested distance index, which can be checked as follows.
Which show snarl depth
3
for the raw graph,4
for the collapsed graph and69
for the--dont_collapse
graph.Do you think there is a way of preventing this type of motif? It's true that the fixed graph has 75 fewer bases and 64 fewer nodes (one more edge, though), but it is much more difficult for vg to work with.
The text was updated successfully, but these errors were encountered: