JAL-2049 set Ensembl variant source to ENSEMBL if '.' (not provided) and
[jalview.git] / src / jalview / ext / ensembl / EnsemblSeqProxy.java
index 31552af..cc002e1 100644 (file)
@@ -613,6 +613,10 @@ public abstract class EnsemblSeqProxy extends EnsemblRestClient
       SequenceFeature copy = new SequenceFeature(sf);
       copy.setBegin(Math.min(mappedRange[0], mappedRange[1]));
       copy.setEnd(Math.max(mappedRange[0], mappedRange[1]));
+      if (".".equals(copy.getFeatureGroup()))
+      {
+        copy.setFeatureGroup(getDbSource());
+      }
       targetSequence.addSequenceFeature(copy);
 
       /*