This is a test version of Biostars. For the public version, visit https://www.biostars.org.
bcftools extract data

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

1 answer

Sorry, I just found the answer :

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

Log in to answer this question.