-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
odgi extract
- please remove nodes that are not in specified BED range(s)
#526
Comments
This is becoming a serious problem now @AndreaGuarracino. I am extraction some full range paths and want to sort and visualize the graph. However, the nodes and edges which are not visited by any path are disturbing the 1D visualization.
default viz Could you please fix this or tell me where to change what in the code @AndreaGuarracino. Thanks! |
Around 1/4 of nodes are not visited by any path. |
Around 1/3 of edges are not followed by any path. |
Maybe this is related to how you fixed this problem in |
This is a problem of --paths-to-extract=[FILE] List of paths to keep in the extracted
graph. The FILE must contain one path
name per line and a subset of all
paths can be specified. Paths
specified in the input path ranges
(with -r/--path-range and/or
-b/--bed-file) will be kept in any
case. so try
|
I already am using
As expected, your suggestion only gives me an empty graph. |
Can you also try without |
About the edges not supported by any path, yes, it is related to a recent bug I've fixed in |
Leaving out |
When extracting a subgraph using a BED file via
-b
the resulting subgraph contains all BED range(s) specified plus all nodes between these ranges which are not touched by any path!It would be nice to have an additional flag which allows for the removal of nodes and edges that are not touched by any path.
The text was updated successfully, but these errors were encountered: