-
Notifications
You must be signed in to change notification settings - Fork 193
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
VG RNA issue #2828
Comments
Hi Andrea, It seems to assert in the path index when trying to find the node position of an exon boundary on a chromosome path. My best bet is that the position is higher than the chromosome path length. Would it be possible for you to share the error message that vg rna gave when crashing? That would help me figure out which assert specifically it is crashing on. You can get the path lengths using Thanks, Jonas |
Hi @jonassibbesen
I get the following error:
With this stack trace:
Does this help? EDIT: I've tried regenerating the cactus alignments, convert it to graph through hal2vg and annotate it with |
Thank you, Andrea. It was the assert I expected. However, given that it is not the path length, I am not sure why this is happening. It would therefore be great if you could share the data. Best, Jonas |
I just thought of another thing that could also result in the same issue. To test that I would only need the annotation. Would it be possible to share that? |
Sure, what email address can I use to share the file? |
@jonassibbesen I've just sent the email with the link to the file of interest. Let me know, when you can look at that, if you have any issues accessing the file. Andrea |
Thank you for reminding me. I have found the issue and it is a problem with how vg rna deals with variants around the annotation boundaries, which does not work proper when the annotation start on the first position of a contig. Will push a fix later today. Sorry, for it taking so long. |
Hi, I have merged a fix that should hopefully resolve the issue. Let me know if you are still having problems. |
Hi
Thanks again for your help |
Hi Andrea, I am not sure why this is happening. Would it be possible for you to share the data you used? |
Hi @jonassibbesen , sorry for the late reply. Sure I'll arrange to share the graph I'm using and the annotation. However, it might take me a few days, is that alright for you? |
Hi @jonassibbesen sorry for my delay. I got the files ready to share, is it ok to send them through email? |
No worries. Yes, that works. |
@jonassibbesen let me know if you receive the link and if you can access the files. |
@RenzoTale88 Thanks, got the annotation. Would it be possible for you to also share the graph used? |
@jonassibbesen I've just shared a link to download the files to reproduce the error. Let me know if you receive it. |
I received it. Thanks! |
@RenzoTale88 I found the issue and it is due to vg rna not correctly handling exons that either start or end in a cycle in the graph. I am working on a fix now, but it might be a couple of days before it is finished. |
@jonassibbesen thanks so much, yes that's fine! Just post here when I can start building vg. Andrea |
Quick update. Still working on this. I am running into some issues when projecting onto cycles, but I think I am close to solving it. I have it working for adding transcripts and splice-junction to the graph, but not for projecting onto other embedded path in the graph. If you are not interested in the latter I can push a PR later today that you can use. |
Just merged a PR that adds support for cycles on exon borders. It now runs to completion on your graph. Let me know if you run into any other problems. |
@jonassibbesen thanks so much, I'll try it as soon as I can! |
Good morning,
I'm trying to add an annotation to a cactus graph converted through
hal2vg
usingvg rna
.I've downloaded the annotation for one of the two genomes used to generate the graph. I've renamed the chromosomes as
genome.chrN
to keep it consistent with the cactus naming, extracted the transcript in the file and tried to add them with the following command:However, when I run it, i get the following error:
Am I doing something wrong with that?
Thank you
Andrea
The text was updated successfully, but these errors were encountered: