Package org.pharmgkb.parser.vcf
Class MemoryMappedVcfLineParser.Builder
java.lang.Object
org.pharmgkb.parser.vcf.MemoryMappedVcfLineParser.Builder
- Enclosing class:
- MemoryMappedVcfLineParser
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Determines what to do when an ID that was previously set is encountered, regardless of whether the two IDs correspond to the same locus.Determines what to do when a VCF record is encountered with a locus (chromosome and position) that was already found.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setDuplicateIdHandler
@Nonnull public MemoryMappedVcfLineParser.Builder setDuplicateIdHandler(@Nonnull MemoryMappedVcfLineParser.DuplicateHandler handler) Determines what to do when an ID that was previously set is encountered, regardless of whether the two IDs correspond to the same locus. This is independent ofsetDuplicateLocusHandler(DuplicateHandler), except when either is set toMemoryMappedVcfLineParser.DuplicateHandler.FAIL. -
setDuplicateLocusHandler
@Nonnull public MemoryMappedVcfLineParser.Builder setDuplicateLocusHandler(@Nonnull MemoryMappedVcfLineParser.DuplicateHandler handler) Determines what to do when a VCF record is encountered with a locus (chromosome and position) that was already found. This is independent ofsetDuplicateIdHandler(DuplicateHandler), except when either is set toMemoryMappedVcfLineParser.DuplicateHandler.FAIL. -
build
-