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