bcftools extract data
1
0
Entering edit mode
9.7 years ago
sacha ★ 2.4k

Without awk, only with bcftools, is there a way to view selected data from a vcf file?

For example, show only Depth value, something like:

bcftools view a.vcf -select=DP
extract bcftools • 2.3k views
ADD COMMENT
1
Entering edit mode
9.7 years ago
sacha ★ 2.4k

Sorry, I just found the answer :

bcftools query: Extracts fields from VCF/BCF file and prints them in user-defined format

ADD COMMENT

Login before adding your answer.

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