Package org.pharmgkb.parser.vcf
Class VcfParser.Builder
java.lang.Object
org.pharmgkb.parser.vcf.VcfParser.Builder
- Enclosing class:
- VcfParser
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Provides thePathto the VCF file to parse.fromReader(BufferedReader reader) Provides aBufferedReaderto the beginning of the VCF file to parse.parseWith(VcfLineParser lineParser) Tells parser to ignore data lines that are not associated with an RSID.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
fromFile
Provides thePathto the VCF file to parse. -
fromReader
Provides aBufferedReaderto the beginning of the VCF file to parse. -
rsidsOnly
Tells parser to ignore data lines that are not associated with an RSID. -
parseWith
-
build
- Throws:
IOException
-