This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Split VCF file

I downloaded HapMap vcf file for one chromosome the file size is 11 Giga I am trying to use LiftoverVcf from Picard package, but it run out of memory. I am thinking to split the 11 giga file into smaller files each is one giga any tool can do that? or is there a better Idea?

already used -Xmx200g -Djava.io.tmpdir=./mytmp

vcf sequencing

1 answer

Using GATK:

This tool takes a VCF file, randomly splits variants into different sets, and writes the results to separate files. By default the tool splits the input into two new sets, but it can be made to output more than two separate call sets.

Log in to answer this question.