Skip to content

Commit

Permalink
Merge pull request #8558 from kalletlak/fix-8555
Browse files Browse the repository at this point in the history
SV: Proper handle intragenic variant type
  • Loading branch information
inodb committed Apr 29, 2021
2 parents 89bc588 + b7a95f4 commit 1bf469a
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,11 @@ public List<StructuralVariant> mapFusionsToStructuralVariants(List<Mutation> fus
// this is in format of <gene>-<variant-type>. ex: TUFT1-intragenic
site1GeneSymbol = matcher.group(1);
variantType = EnumUtils.getEnum(VariantType.class, matcher.group(2).toUpperCase());
if(variantType != null && variantType.equals(VariantType.INTRAGENIC)) {
//convert it to oncokb deletion type
variantType = VariantType.DELETION;
site2GeneSymbol = site1GeneSymbol;
}
} else {
// this is in format of <gene1>-<gene2>-<optional variant-type>. ex.
// ZSWIM4-SLC1A6 or ZNF595-TERT fusion
Expand Down

0 comments on commit 1bf469a

Please sign in to comment.