VCFIDHeaderLine
, Serializable
, Comparable
public class VCFContigHeaderLine extends VCFSimpleHeaderLine
ALLOW_UNBOUND_DESCRIPTIONS, serialVersionUID, UNBOUND_DESCRIPTION
Constructor | Description |
---|---|
VCFContigHeaderLine(String line,
VCFHeaderVersion version,
String key,
int contigIndex) |
create a VCF contig header line
|
VCFContigHeaderLine(Map<String,String> mapping,
int contigIndex) |
Modifier and Type | Method | Description |
---|---|---|
int |
compareTo(Object other) |
IT IS CRITICAL THAT THIS BE OVERRIDDEN SO WE SORT THE CONTIGS IN THE CORRECT ORDER
|
boolean |
equals(Object o) |
|
Integer |
getContigIndex() |
|
SAMSequenceRecord |
getSAMSequenceRecord() |
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getKey, getValue, isHeaderLine, shouldBeAddedToDictionary, toString, toStringEncoding
getID, initialize, toStringEncoding
public VCFContigHeaderLine(String line, VCFHeaderVersion version, String key, int contigIndex)
line
- the header lineversion
- the vcf header versionkey
- the key for this header linepublic Integer getContigIndex()
public SAMSequenceRecord getSAMSequenceRecord()
public boolean equals(Object o)
equals
in class VCFSimpleHeaderLine
public int hashCode()
hashCode
in class VCFSimpleHeaderLine
public int compareTo(Object other)
compareTo
in interface Comparable
compareTo
in class VCFHeaderLine