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

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

Login before adding your answer.

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