public class AllRefsTabixIndexCreator extends java.lang.Object implements IndexCreator
TabixIndexCreator, except sequence
names are populated from the header, not from the ones that are seen. This
change is needed to support index merging.| Constructor and Description |
|---|
AllRefsTabixIndexCreator(SAMSequenceDictionary sequenceDictionary,
TabixFormat formatSpec) |
| 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
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetIndexSequenceDictionarypublic AllRefsTabixIndexCreator(SAMSequenceDictionary sequenceDictionary, TabixFormat formatSpec)
public void addFeature(Feature feature, long filePosition)
IndexCreatoraddFeature in interface IndexCreatorfeature - the feature, of which start, end, and contig must be filled infilePosition - the current file position, at the beginning of the specified featurepublic Index finalizeIndex(long finalFilePosition)
IndexCreatorfinalizeIndex in interface IndexCreatorfinalFilePosition - the final file position, for indexes that have to close out with the final position