Package vcf
Class MarkerParser
java.lang.Object
vcf.MarkerParser
Class MarkerParser
is a parser and filter for a VCF record's
ID, REF, ALT, QUAL, FILTER, and INFO subfields.
Instances of class MarkerParser
are immutable.
-
Constructor Summary
ConstructorsConstructorDescriptionMarkerParser
(boolean storeId, boolean storeQual, boolean storeFilter, boolean storeInfo) Constructs a newMarkerParser
instance from the specified data. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returnstrue
if the VCF FILTER field will be storedboolean
storeId()
Returnstrue
if the VCF ID field will be storedboolean
Returnstrue
if the VCF INFO field will be storedboolean
Returnstrue
if the VCF QUAL field will be storedtoString()
Returns a string description ofthis
.
-
Constructor Details
-
MarkerParser
public MarkerParser(boolean storeId, boolean storeQual, boolean storeFilter, boolean storeInfo) Constructs a newMarkerParser
instance from the specified data.- Parameters:
storeId
-true
if a non-missing VCF ID field will be storedstoreQual
-true
if non-missing VCF QUAL field will be storedstoreFilter
-true
if a non-missing VCF FILTER field will be storedstoreInfo
-true
if a non-missing VCF INFO field will be stored
-
-
Method Details
-
toString
Returns a string description ofthis
. The exact details of the description of are unspecified and subject to change. -
storeId
public boolean storeId()Returnstrue
if the VCF ID field will be stored- Returns:
true
if the VCF ID field will be stored
-
storeQual
public boolean storeQual()Returnstrue
if the VCF QUAL field will be stored- Returns:
true
if the VCF QUAL field will be stored
-
storeFilter
public boolean storeFilter()Returnstrue
if the VCF FILTER field will be stored- Returns:
true
if the VCF FILTER field will be stored
-
storeInfo
public boolean storeInfo()Returnstrue
if the VCF INFO field will be stored- Returns:
true
if the VCF INFO field will be stored
-