is it possible to subset samples and reheader a vcf in a single step?
0
0
Entering edit mode
2.7 years ago
curious ▴ 750

In terms of speed, is there any faster way than doing this?

bcftools view -S samples.list my_vcf.vcf.gz |  bcftools reheader -s reheader.list -Oz > new_vcf.vcf.gz
bcftools • 487 views
ADD COMMENT

Login before adding your answer.

Traffic: 1925 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