genome-nexus / genome-nexus-annotation-pipeline

Library and tool for annotating MAF files using Genome Nexus Webserver API
MIT License
8 stars 25 forks source link

Error when having duplicated variants and no end positions #271

Open leexgh opened 5 months ago

leexgh commented 5 months ago

If the input file contains duplicated variants and doesn't have end positions, the GN annotation pipeline fails with error: java.lang.NullPointerException: Cannot invoke "java.lang.Integer.compareTo(java.lang.Integer)" because the return value of "org.genome_nexus.client.GenomicLocation.getEnd()" is null .

GN annotation pipeline can handle duplications with full genomic location, or missing end position with no duplication, but throws errors for duplication AND missing end position.