Package htsjdk.tribble.index.tabix
Class AllRefsTabixIndexCreator
java.lang.Object
htsjdk.tribble.index.tabix.AllRefsTabixIndexCreator
- All Implemented Interfaces:
IndexCreator
- Direct Known Subclasses:
StreamBasedTabixIndexCreator
This is a copy of
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 Summary
ConstructorsConstructorDescriptionAllRefsTabixIndexCreator(SAMSequenceDictionary sequenceDictionary, TabixFormat formatSpec) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddFeature(Feature feature, long filePosition) Add a feature to the indexfinalizeIndex(long finalFilePosition) Create the index, given the stream of features passed in to this pointMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface htsjdk.tribble.index.IndexCreator
setIndexSequenceDictionary
-
Constructor Details
-
AllRefsTabixIndexCreator
-
-
Method Details
-
addFeature
Description copied from interface:IndexCreatorAdd a feature to the index- Specified by:
addFeaturein interfaceIndexCreator- Parameters:
feature- the feature, of which start, end, and contig must be filled infilePosition- the current file position, at the beginning of the specified feature
-
finalizeIndex
Description copied from interface:IndexCreatorCreate the index, given the stream of features passed in to this point- Specified by:
finalizeIndexin interfaceIndexCreator- Parameters:
finalFilePosition- the final file position, for indexes that have to close out with the final position- Returns:
- an index object
-