Package htsjdk.variant.vcf
Class VCFFilterHeaderLine
java.lang.Object
htsjdk.variant.vcf.VCFHeaderLine
htsjdk.variant.vcf.VCFSimpleHeaderLine
htsjdk.variant.vcf.VCFFilterHeaderLine
- All Implemented Interfaces:
VCFIDHeaderLine
,Serializable
,Comparable
- See Also:
-
Field Summary
Fields inherited from class htsjdk.variant.vcf.VCFSimpleHeaderLine
DESCRIPTION_ATTRIBUTE, ID_ATTRIBUTE
Fields inherited from class htsjdk.variant.vcf.VCFHeaderLine
ALLOW_UNBOUND_DESCRIPTIONS, UNBOUND_DESCRIPTION
-
Constructor Summary
ConstructorDescriptionVCFFilterHeaderLine
(String name) Convenience constructor for FILTER whose description is the nameVCFFilterHeaderLine
(String line, VCFHeaderVersion version) create a VCF info header lineVCFFilterHeaderLine
(String name, String description) create a VCF filter header line -
Method Summary
Modifier and TypeMethodDescriptionget the "Description" fieldboolean
By default the header lines won't be added to the dictionary, unless this method will be override (for example in FORMAT, INFO or FILTER header lines)Methods inherited from class htsjdk.variant.vcf.VCFSimpleHeaderLine
equals, getGenericFields, getID, hashCode, initialize, toStringEncoding
Methods inherited from class htsjdk.variant.vcf.VCFHeaderLine
compareTo, getKey, getValue, isHeaderLine, toString, toStringEncoding
-
Constructor Details
-
VCFFilterHeaderLine
create a VCF filter header line- Parameters:
name
- the name for this header linedescription
- the description for this header line
-
VCFFilterHeaderLine
Convenience constructor for FILTER whose description is the name- Parameters:
name
-
-
VCFFilterHeaderLine
create a VCF info header line- Parameters:
line
- the header lineversion
- the vcf header version
-
-
Method Details
-
shouldBeAddedToDictionary
public boolean shouldBeAddedToDictionary()Description copied from class:VCFHeaderLine
By default the header lines won't be added to the dictionary, unless this method will be override (for example in FORMAT, INFO or FILTER header lines)- Overrides:
shouldBeAddedToDictionary
in classVCFHeaderLine
- Returns:
- false
-
getDescription
get the "Description" field- Returns:
- the "Description" field
-