Skip to content
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 construct fails on pbsv INS and DEL #2278

Closed
fbemm opened this issue May 23, 2019 · 4 comments
Closed

vg construct fails on pbsv INS and DEL #2278

fbemm opened this issue May 23, 2019 · 4 comments

Comments

@fbemm
Copy link

fbemm commented May 23, 2019

Please describe:

  1. What you were trying to do

I am trying to construct a graph with INS and DEL from pbsv.

  1. What you wanted to happen

That vg returns a graph.

  1. What actually happened
Crash report for vg v1.16.0 "Rotondi"
Stack trace (most recent call last):
#9    Object "vg", at 0x4d6119, in _start
#8    Object "vg", at 0x19dce68, in __libc_start_main
#7    Object "vg", at 0x409a5a, in main
#6    Object "vg", at 0x9b8d57, in vg::subcommand::Subcommand::operator()(int, char**) const
#5    Object "vg", at 0x9ee08d, in main_construct(int, char**)
#4    Object "vg", at 0xe43779, in vg::Constructor::construct_graph(std::vector<FastaReference*, std::allocator<FastaReference*> > const&, std::vector<vcflib::VariantCallFile*, std::allocator<vcflib::VariantCallFile*> > const&, std::vector<FastaReference*, std::allocator<FastaReference*> > const&, std::function<void (vg::Graph&)>)
#3    Object "vg", at 0xe41ec7, in vg::Constructor::construct_graph(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, FastaReference&, vg::VcfBuffer&, std::vector<FastaReference*, std::allocator<FastaReference*> > const&, std::function<void (vg::Graph&)>)
#2    Object "vg", at 0xe3e681, in vg::Constructor::construct_chunk(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::vector<vcflib::Variant, std::allocator<vcflib::Variant> >, unsigned long) const
#1    Object "vg", at 0xed8ca5, in vcflib::Variant::parsedAlternates(bool, bool, bool, float, float, float, float, float, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)
#0    Object "vg", at 0xeef57e, in CSmithWatermanGotoh::Align(unsigned int&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
  1. What data and command line to use to make the problem recur, if applicable
vg construct -S -r ref.fasta -v ref.vcf > ref.vg
@glennhickey
Copy link
Contributor

glennhickey commented May 23, 2019 via email

@fbemm
Copy link
Author

fbemm commented May 23, 2019

Works! Thanks

@fbemm fbemm closed this as completed May 23, 2019
@ekg
Copy link
Member

ekg commented May 23, 2019 via email

@egoltsman
Copy link

Just a heads up - I ran into this issue with the 1.28 build. I know vcf files can come in all sorts of weird shapes, and it's impossible to accommodate them all. What would help is if the program printed out the line that it couldn't parse. That, along with the stacktrace would give users some hints.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants