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 newMarkerParserinstance from the specified data. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturnstrueif the VCF FILTER field will be storedbooleanstoreId()Returnstrueif the VCF ID field will be storedbooleanReturnstrueif the VCF INFO field will be storedbooleanReturnstrueif 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 newMarkerParserinstance from the specified data.- Parameters:
storeId-trueif a non-missing VCF ID field will be storedstoreQual-trueif non-missing VCF QUAL field will be storedstoreFilter-trueif a non-missing VCF FILTER field will be storedstoreInfo-trueif 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()Returnstrueif the VCF ID field will be stored- Returns:
trueif the VCF ID field will be stored
-
storeQual
public boolean storeQual()Returnstrueif the VCF QUAL field will be stored- Returns:
trueif the VCF QUAL field will be stored
-
storeFilter
public boolean storeFilter()Returnstrueif the VCF FILTER field will be stored- Returns:
trueif the VCF FILTER field will be stored
-
storeInfo
public boolean storeInfo()Returnstrueif the VCF INFO field will be stored- Returns:
trueif the VCF INFO field will be stored
-