-
Notifications
You must be signed in to change notification settings - Fork 3
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
"No reference-sense paths available" in minigraph/cactus graphs #4
Comments
It looks like you just have to pass the reference path names using the For anyone else that runs into this issue, the command to generate these path names is:
It might be useful to provide the reference paths file for both GRCh38 and CHM13 in the table on this repo's readme page. |
@jdidion Thanks for the feedback. I imagine this is due to an issue of compatibility with these indexes (which were produced with an older version of vg) and recent versions of vg which are beginning to introduce some new notiions of path metadata. @adamnovak What's the best thing to do here? Can that warning be ignored? I know that I for one need to updatte minigraph-cactus to use the latest vg, but that won't help the published indexes referenced above. |
The warning just means that the graph doesn't have any paths that are explicitly marked as representing a reference. If all the paths in the graph are from the same reference anyway, you can just ignore it. If the graph has paths from multiple references, like both GRCh38 and CHM13, and if neither sample is marked as being "the" reference, the SAM output will freely mix paths from GRCh38 and CHM13 to explain read coordinates. If you don't want that, you would need to use The best argument to As describe in https://github.com/vgteam/vg/wiki/VG-GBWT-Subcommand#setting-tags, you can also make a copy of the GBWT that marks the sample you want as a reference. Something like:
|
I am trying to use the GRCh38 minigraph/cactus graph to align reads and output them in GRCh38 coordinates. However, I get the following warning when running
vg giraffe
:warning:[vg::get_sequence_dictionary] No reference-sense paths available in the graph; falling back to generic paths.
This is a bit cryptic, but I take it to mean that the reference paths cannot be found in the graph files and so the output will not be in GRCh38 coordinates. Is this the case, and if so is there a fix?For reference, here is my command line:
The text was updated successfully, but these errors were encountered: