Class VcfHapMapFileIterator
Opens a Hapmap phased file and iterates over all entries, returning VcfEntries for each line
Note: Each HapMap file has one chromosome. The reference sequence for the chromosome is read from a fasta file
- Author:
- pcingola
-
Field Summary
FieldsFields inherited from class MarkerFileIterator
createChromos, ignoreChromosomeErrors, inOffset -
Constructor Summary
ConstructorsConstructorDescriptionVcfHapMapFileIterator(String hapMapFileName, String fatsaFileName, Genome genome) -
Method Summary
Methods inherited from class MarkerFileIterator
getChromosome, getGenome, init, isIgnoreChromosomeErrors, loadMarkers, parsePosition, sanityCheckChromo, setCreateChromos, setIgnoreChromosomeErrors, setInOffsetMethods inherited from class FileIterator
close, countNewLineChars, getFilePointer, getLine, getLineNum, guessNewLineChars, hasNext, hasSeek, isDebug, iterator, load, next, readLine, ready, remove, seek, setAutoClose, setDebug, setVerbose, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Iterable
forEach, spliteratorMethods inherited from interface Iterator
forEachRemaining
-
Field Details
-
genome
-
-
Constructor Details
-
VcfHapMapFileIterator
-
-
Method Details
-
readNext
Description copied from class:FileIteratorRead next element- Specified by:
readNextin classFileIterator<VcfEntry>
-