readVCF2: Read VCF file using tabix.
Description
Require tabix in PATH
VCF manual is referred from https://samtools.github.io/hts-specs/VCFv4.3.pdf
Usage
readVCF2(vcf.file, chr.names, starts, ends, INFO.filter = NULL)
Value
A data.table of VCF.
Arguments
- vcf.file
A path to a local or remote tabix-indexed VCF file.
- chr.names
Chromosome names.
- starts
Start positions.
- ends
End positions.
- INFO.filter
Parse only filtered INFO ID. Default is to parse all IDs.