JAL-2909 JAL-3894 hack in support to import regions of an unindexed SAM file.
[jalview.git] / src / jalview / io / IdentifyFile.java
index 0c201e1..55f5651 100755 (executable)
@@ -207,6 +207,11 @@ public class IdentifyFile
             break;
           }
         }
+        if (data.startsWith("@HD\t"))
+        {
+          reply = FileFormat.Bam;
+          break;
+        }
         if (data.startsWith("H ") && !aaIndexHeaderRead)
         {
           aaIndexHeaderRead = true;