This function takes an uncompressed vcf file and uses bgzip and tabix to compress and index the file while preserving the original file
1 2 3 4 5 6 | compress_and_index_vcf(
bin_path = "tools/htslib/bgzip",
bin_path2 = "tools/htslib/tabix",
vcf = "",
output_dir = ""
)
|
vcf |
REQUIRED Path to VCF to compress |
output_dir |
OPTIONAL Path to output directory |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.