public static class VcfParser.Builder
extends java.lang.Object
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
VcfParser |
build() |
VcfParser.Builder |
fromFile(java.nio.file.Path dataFile)
Provides the
Path to the VCF file to parse. |
VcfParser.Builder |
fromReader(java.io.BufferedReader reader)
Provides a
BufferedReader to the beginning of the VCF file to parse. |
VcfParser.Builder |
parseWith(VcfLineParser lineParser) |
VcfParser.Builder |
rsidsOnly()
Tells parser to ignore data lines that are not associated with an RSID.
|
public VcfParser.Builder fromFile(@Nonnull java.nio.file.Path dataFile)
Path to the VCF file to parse.public VcfParser.Builder fromReader(@Nonnull java.io.BufferedReader reader)
BufferedReader to the beginning of the VCF file to parse.public VcfParser.Builder rsidsOnly()
public VcfParser.Builder parseWith(@Nonnull VcfLineParser lineParser)
public VcfParser build() throws java.io.IOException
java.io.IOException