]> git.donarmstrong.com Git - samtools.git/commitdiff
On behalf of Bradford Powell: fixed typo in VCF header, output DV not DP
authorPetr Danecek <pd3@sanger.ac.uk>
Thu, 12 Apr 2012 17:48:17 +0000 (18:48 +0100)
committerPetr Danecek <pd3@sanger.ac.uk>
Thu, 12 Apr 2012 17:48:17 +0000 (18:48 +0100)
bcftools/call1.c

index f6717b37297216f4aba010611b7c72bda90892fa..6c530085ba591a23aeae98918361cb10745793a6 100644 (file)
@@ -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,"))