-
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
Defining reference path on graph #532
Comments
Hi @ManuelTgn, since I don't know in detail how you created the graphs, it is hard to tell. In ODGI's variation graph model all paths are equal, there is no sense of a If you want to use ODGI to translate path positions to your path of choice, please take a look at https://odgi.readthedocs.io/en/latest/rst/tutorials/navigating_and_annotating_graphs.html#path-to-path-position-mapping. |
Hi @subwaystation, thank you for the reply. That was very helpful! I created my input graph using the |
Hi @ManuelTgn, I see, so no crazy variants with crazy repeats. That's good :) As far as I know, the Python API only exposes basic ODGI functionality. You would have to build such code on your own. Take a look at odgi/src/subcommand/position_main.cpp Lines 794 to 840 in de70fcd
Best, |
Hi team,
thank you for developing this amazing tool!
I have a couple of questions regarding odgi graphs manipulation through the Python API.
I created an odgi graph from a gfa containing > 1000 haplotypes + 1 reference sequence. Is there a way to understand which path belongs to the reference sequence? All paths seem to point to an haplotype.
While traversing the paths embedded in the graph, is it possible to understand to which position correspond a nucleotide in a node, using the reference coordinates space?
Thanks for the help!
The text was updated successfully, but these errors were encountered: