Hi,
I am trying to use VariantAnnotation and this is the error I am getting
library("VariantAnnotation")
f1 <-system.file("extdata","chr22.vcf.gz", package="VatiantAnnotation")
vcf<-readVcf(f1,"hg19")
Error in .io_check_exists(path(con)) : file(s) do not exist:
''
list.files(system.file("extdata", package="VariantAnnotation"))
[1] "chr22.vcf.gz" "chr22.vcf.gz.tbi" "chr7-sub.vcf.gz"
[4] "chr7-sub.vcf.gz.tbi" "ex2.vcf" "gl_chr1.vcf"
[7] "h1187-10k.vcf.gz" "h1187-10k.vcf.gz.tbi" "structural.vcf"
Much appreciate help,
Thanks,
Tinu
you write you have downloaded it, but have you installed the package and Bioconductor? rt(fine)m: http://bioconductor.org/install/
I found this tutorial very useful especially for reading data into R