download_1000g: Downloads VCF from 1000 Genomes using tabix

Description Usage Arguments Examples

Description

This function downloads a gene's VCF from the 1000 Genomes FTP based on its transcription region as listed in the UCSC Genome database.

Usage

1
download_1000g(genes, download)

Arguments

genes

character; name of a gene(s) indexed in refGene

download

logical; indicates whether to download the file. FALSE still returns transcription coordinates and RefGene details from UCSC.

Examples

1
2
download_1000g('BRCA2', download = T)
download_output <- sapply(ACMG.panel, function(gene) download_1000g(gene, download = T)) %>% t

jamesdiao/clinvaR documentation built on May 18, 2019, 11:19 a.m.