Package htsjdk.tribble.index.tabix
Class StreamBasedTabixIndexCreator
java.lang.Object
htsjdk.tribble.index.tabix.AllRefsTabixIndexCreator
htsjdk.tribble.index.tabix.StreamBasedTabixIndexCreator
- All Implemented Interfaces:
IndexCreator
A
TabixIndexCreator that can write to an output stream.-
Constructor Summary
ConstructorsConstructorDescriptionStreamBasedTabixIndexCreator(SAMSequenceDictionary sequenceDictionary, TabixFormat formatSpec, OutputStream out) -
Method Summary
Modifier and TypeMethodDescriptionfinalizeIndex(long finalFilePosition) Create the index, given the stream of features passed in to this pointMethods inherited from class htsjdk.tribble.index.tabix.AllRefsTabixIndexCreator
addFeatureMethods 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
-
StreamBasedTabixIndexCreator
public StreamBasedTabixIndexCreator(SAMSequenceDictionary sequenceDictionary, TabixFormat formatSpec, OutputStream out)
-
-
Method Details
-
finalizeIndex
Description copied from interface:IndexCreatorCreate the index, given the stream of features passed in to this point- Specified by:
finalizeIndexin interfaceIndexCreator- Overrides:
finalizeIndexin classAllRefsTabixIndexCreator- Parameters:
finalFilePosition- the final file position, for indexes that have to close out with the final position- Returns:
- an index object
-