compress_and_index_vcf: Compress and index vcf file

Description Usage Arguments

View source: R/util.R

Description

This function takes an uncompressed vcf file and uses bgzip and tabix to compress and index the file while preserving the original file

Usage

1
2
3
4
5
6
compress_and_index_vcf(
  bin_path = "tools/htslib/bgzip",
  bin_path2 = "tools/htslib/tabix",
  vcf = "",
  output_dir = ""
)

Arguments

vcf

REQUIRED Path to VCF to compress

output_dir

OPTIONAL Path to output directory


TearsWillFall/variantCall documentation built on Oct. 15, 2021, 8:51 p.m.