[R-sig-genetics] Reading large VCF into genind

Stefano Iantorno si3 at sanger.ac.uk
Fri May 29 16:07:37 CEST 2015


Hello

I have a VCF file containing 306596 biallelic SNP calls from 18 individuals. I was able to read the entire file as a “loci” object but when I try to convert it into a genind object I run into memory issues.

How can I circumvent this problem? Should I break the single “loci” object into smaller subsets with only 50 000 SNPs or so, and convert each one into a genind object separately with loci2genind? How do I combine the resulting genind objects?

- Stefano



-- 
 The Wellcome Trust Sanger Institute is operated by Genome Research 
 Limited, a charity registered in England with number 1021457 and a 
 company registered in England with number 2742969, whose registered 
 office is 215 Euston Road, London, NW1 2BE. 



	[[alternative HTML version deleted]]



More information about the R-sig-genetics mailing list