Learn R Programming

kmeRtone (version 1.0)

getGnomADvariants: Get gnomAD VCF file using tabix.

Description

Function retrieves variant data from gnomAD VCF files using tabix for a specified set of genomic regions. It allows users to select the gnomAD version and server location (Google, Amazon, or Microsoft) for fetching the data.

Usage

getGnomADvariants(
  chr.names,
  starts,
  ends,
  INFO.filter = NULL,
  version = "3.1.2",
  server = "random"
)

Value

A data.table of VCF.

Arguments

chr.names

Chromosome names.

starts

Start positions.

ends

End positions.

INFO.filter

Parse only filtered INFO ID. Default is to parse all IDs.

version

The gnomAD version. Default to latest version 3.1.2.

server

Server locations: "google", "amazon", or "microsoft". Default is random.