GVCFReader

class GVCFReader(val gvcfFile: String, val referenceFile: String, val sizeOfQueue: Int = 5) : SequenceIterator

This reads a GVCF formatted file. The file is required to only have one sample. The file can only be read one time. Either as an iterator (hasNext(), next()), repeatedly calling read(), or using readAll().

Constructors

Link copied to clipboard
constructor(gvcfFile: String, referenceFile: String, sizeOfQueue: Int = 5)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val sizeOfQueue: Int = 5

Functions

Link copied to clipboard
Link copied to clipboard
open operator override fun hasNext(): Boolean
Link copied to clipboard
open operator override fun next(): SeqRecord
Link copied to clipboard
open override fun read(): SeqRecord?

Returns next SeqRecord or null if finished reading.

Link copied to clipboard
open override fun readAll(): Map<String, SeqRecord>

Reads a GVCF file (.gvcf) and returns a map of Chromosomes (String) to Sequence (SeqRecord)