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

NPE thrown in very rare cases where jannovar fails to fully annotate an intergenic variant #224

Closed
julesjacobsen opened this issue Aug 18, 2017 · 2 comments
Assignees

Comments

@julesjacobsen
Copy link
Contributor

When an INTERGENIC_VARIANT in a TAD is reassigned to be a REGULATORY_REGION_VARIANT and has not been assigned a gene symbol or identifier by Jannovar a NullPointerException is thrown:

Exception in thread "main" java.lang.NullPointerException
        at org.monarchinitiative.exomiser.core.analysis.util.GeneReassigner.prioritiserScore(GeneReassigner.java:109)
        at org.monarchinitiative.exomiser.core.analysis.util.GeneReassigner.assignVariantToGeneWithHighestPhenotypeScore(GeneReassigner.java:82)
        at org.monarchinitiative.exomiser.core.analysis.util.GeneReassigner.reassignRegulatoryRegionVariantToMostPhenotypicallySimilarGeneInTad(GeneReassigner.java:74)

Fix this so that the variant is either re-assigned to gene in the TAD with the highest prioritiser score, or is left where it is and ignored in the output.

@damiansm
Copy link
Contributor

Tested and looks good to merge back into master and for a hot fix for release 8.0.0

@julesjacobsen
Copy link
Contributor Author

New release created: https://github.com/exomiser/Exomiser/tree/8.0.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants