X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=samtools.git;a=blobdiff_plain;f=bcftools%2Fbcf.h;fp=bcftools%2Fbcf.h;h=aeae6ca0de411f198f4ff76d7c29f99a19f54448;hp=ba6dbe9b42ae033c6b3c179a730a48312cf927dd;hb=b301e959d73eee0955c57004f344f17af00703f4;hpb=8a8212c76299ff302cdd41be704d8e0308bd2b1b diff --git a/bcftools/bcf.h b/bcftools/bcf.h index ba6dbe9..aeae6ca 100644 --- a/bcftools/bcf.h +++ b/bcftools/bcf.h @@ -28,6 +28,8 @@ #ifndef BCF_H #define BCF_H +#define BCF_VERSION "0.1.17 (r973:277)" + #include #include @@ -150,6 +152,8 @@ extern "C" { int bcf_fix_gt(bcf1_t *b); // update PL generated by old samtools int bcf_fix_pl(bcf1_t *b); + // convert PL to GLF-like 10-likelihood GL + int bcf_gl10(const bcf1_t *b, uint8_t *gl); // string hash table void *bcf_build_refhash(bcf_hdr_t *h);