Entering edit mode
3.8 years ago
the_cowa
▴
40
I have a list with chromosome and the position as like this
Chr1 254
Chr5 8965
ChrX 25
ChrY 8965
Chr19 2354
and need to extract the position from a huge vcf file of size 1 TB. So far I have used
bcftools view -T Locations.txt Input.vcf.gz >Output.vcf
But it is taking days to finish. Is there any method/programme to speed up the run OR is it possible to run with tabix ?
Try tabix. bgzip the vcf, index the vcf and try
tabix -R
with the input OP list.