public final class VCFHeaderReader
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static VCFHeader |
readHeaderFrom(SeekableStream in)
Read a VCF header from a stream that may be a VCF file (possibly gzip or block compressed) or a BCF file.
|
public static VCFHeader readHeaderFrom(SeekableStream in) throws java.io.IOException
in
- the stream to read the header fromTribbleException.InvalidHeader
- if the header in the file is invalidjava.io.IOException
- if an IOException occurs while reading the header