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

NullPointerException in MergeMSFs.java #36

Open
dhuen opened this issue Jul 23, 2023 · 0 comments
Open

NullPointerException in MergeMSFs.java #36

dhuen opened this issue Jul 23, 2023 · 0 comments

Comments

@dhuen
Copy link

dhuen commented Jul 23, 2023

When using IMGT/HLA 3.53.0, calling Kourami.jar to genotype an extracted bam will result in an NPE in MergeMSFs.java. This was traced to HLA*26:236 being present in hla_nom_g.txt but absent in alignments.

Might I suggest the following change in MergeMSFs.java?
Uncomment line 38.
Add after it:-
if (s==null) System.err.println("The following is may be present in hla_nom_g.txt but not in alignments: "+ g.getFirstAllele());

It will then report the ID so it can be deleted from hla_nom_g.txt. Deleting the spurious ID makes it possible to use IMGT/HLA 3.53.0.

Thank you for developing this software - it is pretty useful.

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