public interface IndexCreator
Modifier and Type | Method and Description |
---|---|
void |
addFeature(Feature feature,
long filePosition)
Add a feature to the index
|
Index |
finalizeIndex(long finalFilePosition)
Create the index, given the stream of features passed in to this point
|
default void |
setIndexSequenceDictionary(SAMSequenceDictionary dict)
Set the sequence dictionary for the index.
|
void addFeature(Feature feature, long filePosition)
feature
- the feature, of which start, end, and contig must be filled infilePosition
- the current file position, at the beginning of the specified featureIndex finalizeIndex(long finalFilePosition)
finalFilePosition
- the final file position, for indexes that have to close out with the final positiondefault void setIndexSequenceDictionary(SAMSequenceDictionary dict)
dict
- the dictionary to add to the index.