Class VariantTxtFileIterator
java.lang.Object
org.snpeff.fileIterator.FileIterator<Variant>
org.snpeff.fileIterator.MarkerFileIterator<Variant>
org.snpeff.fileIterator.VariantFileIterator
org.snpeff.fileIterator.VariantTxtFileIterator
Opens a sequence change file and iterates over all sequence changes
TXT Format: Tab-separated format, containing five columns that correspond to:
chr \t position \t refSeq \t newSeq \t strand \t quality \t coverage \t id \n
Fields strand, quality, coverage and id are optional
E.g.
5 140532 T C + 31
12 1017956 T A +
2 946507 G C + 21 16 Very_important_Snp
14 19584687 C T -
19 66520 G A + 27
8 150029 A T + 31
- Author:
- pcingola
-
Field Summary
Fields inherited from class MarkerFileIterator
createChromos, genome, ignoreChromosomeErrors, inOffset -
Constructor Summary
ConstructorsConstructorDescriptionVariantTxtFileIterator(String fileName) VariantTxtFileIterator(String fileName, 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, hasSeek, isDebug, iterator, load, 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
-
Constructor Details
-
VariantTxtFileIterator
-
VariantTxtFileIterator
-
-
Method Details
-
hasNext
-
next
-
readNext
Description copied from class:FileIteratorRead next element- Specified by:
readNextin classFileIterator<Variant>
-