Skip to content

NullPointerException in MergeMSFs.java #36

@dhuen

Description

@dhuen

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions