Package org.broad.igv.bbfile
Class BBFileHeader
- java.lang.Object
-
- org.broad.igv.bbfile.BBFileHeader
-
public class BBFileHeader extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static int
BBFILE_HEADER_SIZE
static int
BIGBED_MAGIC_HTL
static int
BIGBED_MAGIC_LTH
static int
BIGWIG_MAGIC_HTL
static int
BIGWIG_MAGIC_LTH
-
Constructor Summary
Constructors Constructor Description BBFileHeader(int magic, short version, short zoomLevels, long chromTreeOffset, long fullDataOffset, long fullIndexOffset, short fieldCount, short definedFieldCount, long autoSqlOffset, long totalSummaryOffset, int uncompressBuffSize, long reserved)
BBFileHeader(java.lang.String path, SeekableStream fis, long fileOffset)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getAutoSqlOffset()
long
getChromosomeTreeOffset()
short
getDefinedFieldCount()
short
getFieldCount()
int
getFileHeaderSize()
long
getFullDataOffset()
long
getFullIndexOffset()
int
getMagic()
java.lang.String
getPath()
long
getTotalSummaryOffset()
int
getUncompressBuffSize()
short
getVersion()
short
getZoomLevels()
boolean
isBigBed()
boolean
isBigWig()
boolean
isHeaderOK()
boolean
isLowToHigh()
void
print()
-
-
-
Field Detail
-
BBFILE_HEADER_SIZE
public static final int BBFILE_HEADER_SIZE
- See Also:
- Constant Field Values
-
BIGWIG_MAGIC_LTH
public static final int BIGWIG_MAGIC_LTH
- See Also:
- Constant Field Values
-
BIGWIG_MAGIC_HTL
public static final int BIGWIG_MAGIC_HTL
- See Also:
- Constant Field Values
-
BIGBED_MAGIC_LTH
public static final int BIGBED_MAGIC_LTH
- See Also:
- Constant Field Values
-
BIGBED_MAGIC_HTL
public static final int BIGBED_MAGIC_HTL
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
BBFileHeader
public BBFileHeader(java.lang.String path, SeekableStream fis, long fileOffset)
-
BBFileHeader
public BBFileHeader(int magic, short version, short zoomLevels, long chromTreeOffset, long fullDataOffset, long fullIndexOffset, short fieldCount, short definedFieldCount, long autoSqlOffset, long totalSummaryOffset, int uncompressBuffSize, long reserved)
-
-
Method Detail
-
getPath
public java.lang.String getPath()
-
isHeaderOK
public boolean isHeaderOK()
-
isLowToHigh
public boolean isLowToHigh()
-
isBigBed
public boolean isBigBed()
-
isBigWig
public boolean isBigWig()
-
getFileHeaderSize
public int getFileHeaderSize()
-
getMagic
public int getMagic()
-
getVersion
public short getVersion()
-
getZoomLevels
public short getZoomLevels()
-
getChromosomeTreeOffset
public long getChromosomeTreeOffset()
-
getFullDataOffset
public long getFullDataOffset()
-
getFullIndexOffset
public long getFullIndexOffset()
-
getFieldCount
public short getFieldCount()
-
getDefinedFieldCount
public short getDefinedFieldCount()
-
getAutoSqlOffset
public long getAutoSqlOffset()
-
getTotalSummaryOffset
public long getTotalSummaryOffset()
-
getUncompressBuffSize
public int getUncompressBuffSize()
-
print
public void print()
-
-