vcf_getcontignames:
Return the contig/chromosome identifiers used in the VCF file
Description
Return the contig/chromosome identifiers used in the VCF file
Usage
vcf_getcontignames(vcff)
Arguments
vcff
VCF file handle
Value
Vector with contig and/or chromosome identifiers.
Details
vcf_setregion for example requires one of these identifiers to be able to successfully select a region for extraction.
Use .Call("VCF_getContigNames", vcff ) to eliminate the overhead of using the R wrapper function.