public interface VCFIterator extends CloseableIterator<VariantContext>
VCFIterator r = new VCFIteratorBuilder().open(System.in);
while (r.hasNext()) {
System.out.println(r.next());
}
r.close();
VCFIteratorBuilder| Modifier and Type | Method and Description |
|---|---|
VCFHeader |
getHeader()
Returns the VCFHeader associated with this VCF/BCF file.
|
VariantContext |
peek()
Returns the next object but does not advance the iterator.
|
close, stream, toListVCFHeader getHeader()
VariantContext peek()