fully integrate HMMER3 file format into Jalview
[jalview.git] / src / jalview / io / FileFormat.java
index 3354b88..50d2aa7 100644 (file)
@@ -353,8 +353,24 @@ public enum FileFormat implements FileFormatI
     {
       return false;
     }
+  },
+  HMMER3("HMMER3", "hmm", false, false)
+  {
+    @Override
+    public AlignmentFileReaderI getReader(FileParse source)
+            throws IOException
+    {
+      return new HMMFile(source);
+    }
+
+    @Override
+    public AlignmentFileWriterI getWriter(AlignmentI al)
+    {
+      return new HMMFile();
+    }
   };
 
+
   private boolean writable;
 
   private boolean readable;