VCFIDHeaderLine, Serializable, ComparableVCFFormatHeaderLine, VCFInfoHeaderLinepublic abstract class VCFCompoundHeaderLine extends VCFHeaderLine implements VCFIDHeaderLine
| Modifier and Type | Class | Description |
|---|---|---|
static class |
VCFCompoundHeaderLine.SupportedHeaderLineType |
ALLOW_UNBOUND_DESCRIPTIONS, serialVersionUID, UNBOUND_DESCRIPTION| Modifier | Constructor | Description |
|---|---|---|
protected |
VCFCompoundHeaderLine(String name,
int count,
VCFHeaderLineType type,
String description,
VCFCompoundHeaderLine.SupportedHeaderLineType lineType) |
create a VCF format header line
|
protected |
VCFCompoundHeaderLine(String name,
VCFHeaderLineCount count,
VCFHeaderLineType type,
String description,
VCFCompoundHeaderLine.SupportedHeaderLineType lineType) |
create a VCF format header line
|
protected |
VCFCompoundHeaderLine(String line,
VCFHeaderVersion version,
VCFCompoundHeaderLine.SupportedHeaderLineType lineType) |
create a VCF format header line
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(Object o) |
returns true if we're equal to another compound header line
|
boolean |
equalsExcludingDescription(VCFCompoundHeaderLine other) |
|
int |
getCount() |
|
int |
getCount(VariantContext vc) |
Get the number of values expected for this header field, given the properties of VariantContext vc
If the count is a fixed count, return that.
|
VCFHeaderLineCount |
getCountType() |
|
String |
getDescription() |
|
String |
getID() |
|
VCFHeaderLineType |
getType() |
|
int |
hashCode() |
|
boolean |
isFixedCount() |
|
boolean |
sameLineTypeAndName(VCFCompoundHeaderLine other) |
|
void |
setNumberToUnbounded() |
|
protected String |
toStringEncoding() |
make a string representation of this header line
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcompareTo, getKey, getValue, isHeaderLine, shouldBeAddedToDictionary, toString, toStringEncodingprotected VCFCompoundHeaderLine(String name, int count, VCFHeaderLineType type, String description, VCFCompoundHeaderLine.SupportedHeaderLineType lineType)
name - the name for this header linecount - the count for this header linetype - the type for this header linedescription - the description for this header linelineType - the header line typeprotected VCFCompoundHeaderLine(String name, VCFHeaderLineCount count, VCFHeaderLineType type, String description, VCFCompoundHeaderLine.SupportedHeaderLineType lineType)
name - the name for this header linecount - the count type for this header linetype - the type for this header linedescription - the description for this header linelineType - the header line typeprotected VCFCompoundHeaderLine(String line, VCFHeaderVersion version, VCFCompoundHeaderLine.SupportedHeaderLineType lineType)
line - the header lineversion - the VCF header versionlineType - the header line typepublic String getID()
getID in interface VCFIDHeaderLinepublic String getDescription()
public VCFHeaderLineType getType()
public VCFHeaderLineCount getCountType()
public boolean isFixedCount()
public int getCount()
public int getCount(VariantContext vc)
vc - public void setNumberToUnbounded()
protected String toStringEncoding()
toStringEncoding in class VCFHeaderLinepublic boolean equals(Object o)
equals in class VCFHeaderLineo - a compound header linepublic int hashCode()
hashCode in class VCFHeaderLinepublic boolean equalsExcludingDescription(VCFCompoundHeaderLine other)
public boolean sameLineTypeAndName(VCFCompoundHeaderLine other)