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

sambamba view segfault #111

Closed
roryk opened this issue Dec 29, 2014 · 2 comments
Closed

sambamba view segfault #111

roryk opened this issue Dec 29, 2014 · 2 comments

Comments

@roryk
Copy link

roryk commented Dec 29, 2014

Hi Artem,

I have a SAM file that can be converted to BAM fine with samtools but segfaults when running sambamba (0.4.7 and 0.5.0). I stuck it up here:

https://dl.dropboxusercontent.com/u/2822886/sambamba/test.sam

The command that segfaults is:

sambamba view --format=bam -S test.sam > test.bam

Let me know if I can provide any other information that might be helpful. Thanks!

@lomereiter
Copy link
Contributor

Thanks for the test case, it turned out that the case when base quality string is * was not handled.

@roryk
Copy link
Author

roryk commented Dec 31, 2014

Thanks for the fast fix, you're a beast.

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

2 participants