From: gmungoc Date: Thu, 13 Jun 2019 14:58:57 +0000 (+0100) Subject: JAL-3303 ignore deletions when computing peptide variants X-Git-Tag: Release_2_11_1_0~46 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=108953c611409ce47ef8b22c21a7854d10ca0fbd;p=jalview.git JAL-3303 ignore deletions when computing peptide variants --- diff --git a/src/jalview/datamodel/MappedFeatures.java b/src/jalview/datamodel/MappedFeatures.java index 25f5ba4..4c63916 100644 --- a/src/jalview/datamodel/MappedFeatures.java +++ b/src/jalview/datamodel/MappedFeatures.java @@ -144,7 +144,7 @@ public class MappedFeatures for (String allele : alleles) { allele = allele.trim().toUpperCase(); - if (allele.length() > 1) + if (allele.length() > 1 || "-".equals(allele)) { continue; // multi-locus variant }