s3_1kg {ldblock} | R Documentation |
Create a URL referencing 1000 genomes content in AWS S3.
s3_1kg(chrnum, tag = "20130502", wrap = function(x) TabixFile(x), tmpl = NULL, dropchr = TRUE) stack1kg(chrs=as.character(1:22), index = FALSE)
chrnum |
a character string denoting a chromosome, such as '22' |
chrs |
a vector of chromosome names for extraction from 1000 genomes VCF collection |
tag |
a character string identifying the version, ignored if |
wrap |
The URL is returned after evaluating |
tmpl |
alternate template for full URL, useful if versions prior to 2010 are of interest |
dropchr |
if TRUE |
index |
a logical indicating if the vcf index files should be created
(for |
stack1kg produces a VcfStack instance with references to VCF for 1000 genomes autosomal chrs. S3-resident VCF files with version "v5a.20130502" are used.
by default, a TabixFile
instance
s3_1kg("22") ## Not run: require(VariantAnnotation) scanVcfHeader(s3_1kg("22")) ## End(Not run)