indexVcfFile: Index a VCF file

indexVcfFileR Documentation

Index a VCF file

Description

Index a VCF file if it exists and if its index file doesn't already exist or is older.

Usage

indexVcfFile(vcf.file, software = "Rsamtools", nb.cores = 1)

Arguments

vcf.file

path to a VCF file (must be sorted!)

software

name of the software with which to index the file (Rsamtools/bcftools)

nb.cores

number of threads for "bcftools"

Value

invisible path to the index file

Author(s)

Timothee Flutre

See Also

sortVcfFile


timflutre/rutilstimflutre documentation built on Feb. 7, 2024, 8:17 a.m.