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

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 • 721 views
ADD COMMENT

Login before adding your answer.

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