Closed kdm9 closed 10 years ago
Hi Kevin,
Thanks :)
I think there is a mismatch between your input file and the index. You are reading from assem/Sample_A3.ec.fa
but loading the index file assem/Sample_A3.bwt
(through the -p option). When it tries to check a read that does not exist in the index, it crashes. Can you try again with the option -p assem/Sample_A3.ec
and let me know whether it works?
I have added an assertion in 506acff to avoid the hard crash.
Jared
Indeed, this looks like it was the problem! Thanks for the speedy fix, and apologies for my ignorance :)
No problem. Let me know if you run into any more problems.
Firstly, thanks for very nice piece of software :smile:
I've come across the following segfault using a self-compiled
sga
(at master i.e. 44940dd)I am filtering pre-processed, corrected reads from low coverage nextera libraries.
I can do a bit more poking, but my guess would be that both the tests on lines 233 & 234 of QCProcess.cpp are failing, meaning that effectively
std::min(2^63-1, 2^63-1)
happens on L235, and we try slicing2^63-1
into pSharedBV on line 238. (see : https://github.com/jts/sga/blob/master/src/Algorithm/QCProcess.cpp#L233)No idea what the implications of this are to the algorithm or my CLI usage, as I'm fairly new w/ sga.