Merge branch 'develop' into features/JAL-3010ontologyFeatureSettings
[jalview.git] / src / jalview / io / gff / SequenceOntologyLite.java
index 6abb5d6..2cbec36 100644 (file)
@@ -73,6 +73,7 @@ public class SequenceOntologyLite extends OntologyBase
     { "snRNA", "transcript" },
     { "miRNA", "transcript" },
     { "lincRNA", "transcript" },
+    { "lnc_RNA", "transcript" },
     { "rRNA", "transcript" },
     { "mRNA", "transcript" },
     // there are many more sub-types of ncRNA...
@@ -313,4 +314,10 @@ public class SequenceOntologyLite extends OntologyBase
     List<String> result = parents.get(term);
     return result == null ? new ArrayList<>() : result;
   }
+
+  @Override
+  public boolean isValidTerm(String term)
+  {
+    return parents.containsKey(term);
+  }
 }