Package vcf
Class VcfMetaInfo
java.lang.Object
vcf.VcfMetaInfo
Class VcfMetaInfo
represents a VCF meta-information line.
Instances of class VcfMetaInfo
are immutable.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionVcfMetaInfo
(String line) Constructs aVcfMetaInfo
instance representing the specified VCF meta-information line. -
Method Summary
-
Field Details
-
PREFIX
The VCF meta-information line prefix: "##"- See Also:
-
DELIMITER
public static final char DELIMITERThe VCF meta-information line key-value delimiter: '='- See Also:
-
-
Constructor Details
-
VcfMetaInfo
Constructs aVcfMetaInfo
instance representing the specified VCF meta-information line.- Parameters:
line
- a VCF meta-information line- Throws:
IllegalArgumentException
- if the specified information line, after removing any beginning and ending white-space, does not begin withVcfMetaInfo.PREFIX
, and does not contain non-empty key and value strings separated by theVcfMetaInfo.DELIMITER
characterNullPointerException
- ifline == null
-
-
Method Details
-
key
Returns the VCF meta-information line key.- Returns:
- the VCF meta-information line key
-
value
Returns the VCF meta-information line value.- Returns:
- the VCF meta-information line value
-
toString
Returns the VCF meta-information line represented bythis
.
-