writeVCF: Write VCF file and compress using bgzip.
Description
Require bgzip in PATH
VCF manual is referred from https://samtools.github.io/hts-specs/VCFv4.3.pdf
Usage
writeVCF(vcf, output.vcf.gz, append = FALSE, tabix = FALSE)
Arguments
- vcf
A VCF object.
- output.vcf.gz
Output filename including vcf.gz extension.
- append
To append or not? Default is FALSE.
- tabix
To tabix or not? Default is FALSE.