R, package: ldblock, function stack1kg error in opening BCFFile
0
0
Entering edit mode
3.2 years ago
ting835698 • 0

I am trying to get a VCF stack from the 1000 genome project using package "ldblock" on R (version 4.0.3), but when I used function "stack1kg", the following error was shown.

Error in open.BcfFile(BcfFile(file, character(0), ...)) : 'open' VCF/BCF failed filename: http://ftp.1000genomes.ebi.ac.uk/vol1/ftp/data_collections/1000_genomes_project/release/20190312_biallelic_SNV_and_INDEL/ALL.chr1.shapeit2_integrated_snvindels_v2a_27022019.GRCh38.phased.vcf.gz

I tried stack1kg(chrs = as.character(1:22)) and manually change the number from 1 to 22, all shown similar message as above (the only thing that changed was the filenames). So I assumed it is caused by missing package(s). I downloaded Rsamtools, VariantAnnotation, updated xfun, GenomicFiles and some others, none seems to work. I wonder if anyone had experienced something similar to this and if there is a solution pls let me know. Many Thanks.

SNP • 386 views
ADD COMMENT

Login before adding your answer.

Traffic: 1941 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6