New type of pattern: bipartite subgraphs #222
Labels
hierarchical decomposition
it took me a year to implement this so it had better be useful .___.
highpriorityfeature
Thought I'd made an issue for this elsewhere, but apparently not.
A common thing I've noticed in metagenomes (and that has come up in the past as an example of something neat that MetagenomeScope is good for detecting) is nodes that form a "bipartite" graph. Bipartite graphs are mostly defined for undirected graphs (although apparently there's some prior work on directed bipartite graphs), but we can generalize them to directed assembly graphs with the following definition that I made up just now:
This definition might have some holes in it, but it gets the point across.
If we can handle #202 (allowing patterns with multiple start / end nodes), then we can support these sorts of patterns. Highlighting these could actually be really useful!
I'm not sure what the complexity of detecting these patterns will be, but it probably won't be too bad (I imagine we can come up with some heuristics to pretty quickly disqualify most nodes not in these patterns).
The text was updated successfully, but these errors were encountered: