public class SamStreams
extends java.lang.Object
InputStream
s encoding SAM dataConstructor and Description |
---|
SamStreams() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isBAMFile(java.io.InputStream stream) |
static boolean |
isCRAMFile(java.io.InputStream stream) |
static boolean |
isGzippedSAMFile(java.io.InputStream stream) |
static boolean |
sourceLikeBam(SeekableStream strm) |
public static boolean isCRAMFile(java.io.InputStream stream) throws java.io.IOException
java.io.IOException
public static boolean isBAMFile(java.io.InputStream stream) throws java.io.IOException
stream
- stream.markSupported() must be truejava.io.IOException
public static boolean sourceLikeBam(SeekableStream strm)
public static boolean isGzippedSAMFile(java.io.InputStream stream)