I downloaded the Chromosome in vcf format along with the tbi file from 1000 Genomes ftp server. I installed the packaged "PopGenome". However, I cannot open the files. I type this command and get an error message. Am I missing something?
readVCF("C:/Users/Davide/Documents/chr22/Chr22.vcf", 1000,"22",1,100000)
open: No such file or directory
Caught exception inside whop_tabix::open('C:/Users/Davide/Documents/chr22/Chr22.vcf.gz"):
'whop_tabix::open : Failed to open tabix index file'
return FALSE from whoptabix_open
vcff::open : could not open tabix-index!
VCF_open : Could not open file 'C:/Users/Davide/Documents/chr22/Chr22.vcf' as tabix-indexed!
[1] FALSE
I have both files in the same folder and I downloaded from here: ftp://ftp.1000genomes.ebi.ac.uk/vol1/ftp/release/20130502/
Did you try this:
GENOME.class=readVCF()
instead of justreadVCF()
?By the way, the
example.VCF
file didn't have a tabix-index file with it, why it can load in successfully?Hi ALL, see also http://popgenome.weebly.com/
THX, all the best.
Bastian