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

HMM Beam Search Segfaults if no reference haplotypes are found #27

Open
hguturu opened this issue Jan 28, 2020 · 0 comments
Open

HMM Beam Search Segfaults if no reference haplotypes are found #27

hguturu opened this issue Jan 28, 2020 · 0 comments

Comments

@hguturu
Copy link
Contributor

hguturu commented Jan 28, 2020

Eagle/src/Eagle.cpp

Lines 2694 to 2695 in 10fe822

finalHapPairs[Mseg64-1] = curStates[0].from;
bestPathScores[Mseg64-1] = curStates[0].score;

This can happen if the input set is very small (e.g. <50 samples). Likely not a great case to use EagleV1, but segfault is not ideal.

@hguturu hguturu changed the title HMM Beam Search Segfaults if not reference haplotypes are found HMM Beam Search Segfaults if no reference haplotypes are found Jan 28, 2020
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

1 participant