JAL-1499 sequence feature type = "Gene" or "Domain" (colour by label)
[jalview.git] / src / jalview / io / MegaFile.java
index b9cc546..d4ec4b4 100644 (file)
@@ -774,9 +774,9 @@ public class MegaFile extends AlignFile
         /*
          * don't add feature if entirely gapped in the sequence
          */
-        // TODO: type="Gene" (but then all coloured the same) or
-        // type="GeneName"?
-        SequenceFeature sf = new SequenceFeature(featureValue, featureType,
+        // NB use 'colour feature by label' to show up distinct instances of
+        // feature type 'Gene' or 'Domain' on the alignment
+        SequenceFeature sf = new SequenceFeature(featureType, featureValue,
                 sfstart, sfend, 0f, null);
         sequenceFeatures.get(seqid).add(sf);
       }