git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b8ddc7
)
JAL-3303 ignore deletions when computing peptide variants
author
gmungoc
<g.m.carstairs@dundee.ac.uk>
Thu, 13 Jun 2019 14:58:57 +0000
(15:58 +0100)
committer
gmungoc
<g.m.carstairs@dundee.ac.uk>
Thu, 13 Jun 2019 14:58:57 +0000
(15:58 +0100)
src/jalview/datamodel/MappedFeatures.java
patch
|
blob
|
history
diff --git
a/src/jalview/datamodel/MappedFeatures.java
b/src/jalview/datamodel/MappedFeatures.java
index
25f5ba4
..
4c63916
100644
(file)
--- 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
}