X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=bcftools%2Fbcf.c;h=8801cea00a23feaea70e7cc40a736f580e9f17c1;hb=05cb7b5bb86b37e82a3ea7868b76031866303da2;hp=e375a1fb8791cd6b3f34cfa070d53396b158133e;hpb=d14782f26230244039bf38f6384a7a9106b0daed;p=samtools.git diff --git a/bcftools/bcf.c b/bcftools/bcf.c index e375a1f..8801cea 100644 --- a/bcftools/bcf.c +++ b/bcftools/bcf.c @@ -213,7 +213,7 @@ void bcf_fmt_core(const bcf_hdr_t *h, bcf1_t *b, kstring_t *s) fmt_str(b->str, s); kputc('\t', s); fmt_str(b->ref, s); kputc('\t', s); fmt_str(b->alt, s); kputc('\t', s); - kputw(b->qual, s); kputc('\t', s); + ksprintf(s, "%.3g", b->qual); /*kputw(b->qual, s);*/ kputc('\t', s); fmt_str(b->flt, s); kputc('\t', s); fmt_str(b->info, s); if (b->fmt[0]) {