From: Petr Danecek <pd3@sanger.ac.uk>
Date: Thu, 12 Apr 2012 17:48:17 +0000 (+0100)
Subject: On behalf of Bradford Powell: fixed typo in VCF header, output DV not DP
X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=93d8193370bf8516f6a60937aa0d6bbecafe8a69;p=samtools.git

On behalf of Bradford Powell: fixed typo in VCF header, output DV not DP
---

diff --git a/bcftools/call1.c b/bcftools/call1.c
index f6717b3..6c53008 100644
--- a/bcftools/call1.c
+++ b/bcftools/call1.c
@@ -285,7 +285,7 @@ static void write_header(bcf_hdr_t *h)
 	if (!strstr(str.s, "##FORMAT=<ID=DP,"))
 		kputs("##FORMAT=<ID=DP,Number=1,Type=Integer,Description=\"# high-quality bases\">\n", &str);
 	if (!strstr(str.s, "##FORMAT=<ID=DV,"))
-		kputs("##FORMAT=<ID=DP,Number=1,Type=Integer,Description=\"# high-quality non-reference bases\">\n", &str);
+		kputs("##FORMAT=<ID=DV,Number=1,Type=Integer,Description=\"# high-quality non-reference bases\">\n", &str);
 	if (!strstr(str.s, "##FORMAT=<ID=SP,"))
 		kputs("##FORMAT=<ID=SP,Number=1,Type=Integer,Description=\"Phred-scaled strand bias P-value\">\n", &str);
 	if (!strstr(str.s, "##FORMAT=<ID=PL,"))