Comments (3)
One thing I forgot to mention, is that the original graph is acyclic. gfaffix
introduces a cycle when run without --dont_collapse
:
for i in *.gfa ; do printf "${i}\t" ; vg paths -x $i -C -Q CHM | awk '{print $3}'; done
chunk_133493101_133529958_fixc.gfa undirected-cyclic
chunk_133493101_133529958_fix.gfa undirected-acyclic
chunk_133493101_133529958_raw.gfa undirected-acyclic
from gfaffix.
- 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.
from gfaffix.
Sure, thanks!! Any help is appreciated.
from gfaffix.
Related Issues (13)
- GFAffix breaks path HOT 1
- speeding up deep graphs HOT 11
- gfaffix crashes with "length of walk X does not sum up to that of its replacing node of Y HOT 1
- Reference path de-collapse sometimes results in nodes+edges not covered by any path.
- GFAffix strips header information HOT 1
- --dont_collapse doesn't work on W-lines?
- how to cite? HOT 4
- Gfaffix removes one edge needed by paths, leaving graph invalid HOT 5
- gfaffix invalidates graph by removing self-looping edge HOT 5
- update Bioconda recipe HOT 2
- memory allocation error in 0.1.5b HOT 6
- --dont_collapse regex behaves weirdly HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gfaffix.