-
Notifications
You must be signed in to change notification settings - Fork 7
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
smoothxg throws what(): basic_string::_M_construct null not valid #16
Comments
I've never tested on a graph built by vg construct. But this is a good use case, because you might be able to normalize the representation of complex variation in the VCF. It's possible that you need to have paths covering every base in the graph for smoothing to not break like this. Please try running |
Hi,
So unfortunately, it does not work. Cristian |
The paths are under P lines in the GFA.
You don't get any output at all from smoothxg? By default, it provides
logging.
You could try passing the -n parameter, which will avoid some prep sorting
steps at the beginning that aren't necessary for VCF based graphs.
…On Fri, Oct 2, 2020 at 1:32 PM Groza Cristian ***@***.***> wrote:
Hi,
Thanks for the quick reply.
I already passed the -a flag to vg construct and the paths are indeed
saved in the vg file before I convert to GFA with vg view.
***@***.***:~/scratch/sv-graph $ vg paths -L -v graphs/chr1.vg | head
_alt_690f8d2fa0e64915865faf22fb22b9a320da3fd2_3
_alt_646ca4e078f643e66c6f63af905a593f2340c187_0
_alt_d9a3a44aafbdb32476a084ea5912eb2042a419a4_5
_alt_460556e6579145a11e1258b8a8ea4fad75b2eac7_10
_alt_ec650cad5a9dcf3f96ab1f7726ad150119570c29_1
_alt_8f499a29d6265f1c936e58362b92b8bf5605f744_0
_alt_1a4af475581ce7bf25bfb6d6b0079e7f4eb96d09_2
_alt_cdeaef57e2f1a0ce2887a7b68321614e862a1cd8_15
_alt_ab71928db30ae5ffdabc5e86b7f88844d4e5eed3_0
_alt_cdeaef57e2f1a0ce2887a7b68321614e862a1cd8_3
***@***.***:~/scratch/sv-graph $
So unfortunately, it does not work.
How would the path information be kept in the GFA file after conversion?
Cristian
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#16 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABDQEJ3XUSCZ7T6IM4J6FDSIW23NANCNFSM4SA7QDBA>
.
|
So my GFA lines do indeed have P lines. Cristian |
What git commit are you running here? How did you build and install smoothxg? Could you reproduce the same thing but on a very small graph that you can share? |
Yes I will try to adapt the test case in vg/test/small/x.fa and post it here. |
Hi, Here is the minimal test case GFA. It has two Alu insertions right in the middle (with one basepair difference). I am on the master branch of the smoothxg repo. I followed the compile instructions on the README page. |
I've found the problem. One of your P lines doesn't have the right number of fields. It's missing the path description.
This should probably be checked somewhere in the xg process that's failing. What is this field meant to represent? A deletion allele? |
I suspect it's something made by vg construct with the -a flag. |
I think |
I removed the offending path and this was the output of smoothxg: It seems the graph topology was affected everywhere, even outside the two very similar Alu insertion. |
Hi,
I am running smoothxg on GFA graphs produced via vg construct > vg view.
This is the error I am getting.
I validated each vg file with vg validate and there were no warnings.
I enabled debugging with -d and the output stays the same.
What could be causing this error and how could I fix it?
Thank you,
Cristian Groza
The text was updated successfully, but these errors were encountered: