diff --git a/src/main/java/org/alliancegenome/curation_api/services/validation/dto/fms/VepTranscriptFmsDTOValidator.java b/src/main/java/org/alliancegenome/curation_api/services/validation/dto/fms/VepTranscriptFmsDTOValidator.java index 6f240183b..3f82a0a9c 100644 --- a/src/main/java/org/alliancegenome/curation_api/services/validation/dto/fms/VepTranscriptFmsDTOValidator.java +++ b/src/main/java/org/alliancegenome/curation_api/services/validation/dto/fms/VepTranscriptFmsDTOValidator.java @@ -168,7 +168,7 @@ public PredictedVariantConsequence validateTranscriptLevelConsequence(VepTxtDTO String variantAminoAcids = null; if (StringUtils.isNotBlank(dto.getAminoAcids())) { String[] refVarAminoAcids = dto.getAminoAcids().split("/"); - if (refVarAminoAcids.length == 1 && dto.getConsequence().contains("synonymous_variant")) { + if (refVarAminoAcids.length == 1 && (Objects.equals(dto.getAminoAcids(), "X") || dto.getConsequence().contains("synonymous_variant"))) { referenceAminoAcids = refVarAminoAcids[0]; variantAminoAcids = refVarAminoAcids[0]; } else if (refVarAminoAcids.length == 2) {