Package htsjdk.tribble.index
Interface ChrIndex
-
- All Known Implementing Classes:
IntervalTreeIndex.ChrIndex,LinearIndex.ChrIndex
public interface ChrIndexRepresents an index on a specific chromosome
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<Block>getBlocks()List<Block>getBlocks(int start, int end)StringgetName()voidread(LittleEndianInputStream dis)voidwrite(LittleEndianOutputStream dos)
-
-
-
Method Detail
-
getName
String getName()
-
getBlocks
List<Block> getBlocks(int start, int end)
- Parameters:
start- the start position, one basedend- the end position, one based- Returns:
- a list of blocks that include the region defined from start to stop. Can never return null
-
write
void write(LittleEndianOutputStream dos) throws IOException
- Throws:
IOException
-
read
void read(LittleEndianInputStream dis) throws IOException
- Throws:
IOException
-
-