Question: Unable to read large Vcf file in R
gravatar for sridevi
2.6 years ago by
sridevi0 wrote:

Hi, Is there any way to read large vector VCF files in R . The below doesn't seem to work, where as it works for small vcf files. vcf21<-read.vcfR("D:\ALL.chr21.phase3_shapeit2_mvncall_integrated_v5a.20130502.genotypes.vcf.gz",verbose = FALSE)

Error: Error in read.vcfR("D:\ALL.chr21.phase3_shapeit2_mvncall_integrated_v5a.20130502.genotypes.vcf.gz", : negative length vectors are not allowed

Thanks in Advance,

vcf files variantannotation R • 987 views
ADD COMMENTlink modified 2.6 years ago • written 2.6 years ago by sridevi0

I added code markup to your post for increased readability. You can do this by selecting the text and clicking the 101010 button. When you compose or edit a post that button is in your toolbar, see image below:

101010 Button

The below doesn't seem to work

Does it give an error? What makes you think it doesn't work? Please be as informative as possible.

ADD REPLYlink written 2.6 years ago by WouterDeCoster42k

why do you need


if 'from' is already compressed ??

ADD REPLYlink written 2.6 years ago by Pierre Lindenbaum125k
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1837 users visited in the last hour