X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=bcftools%2Fbcf.h;h=822ae5cf80fd7f9dc375259524935c933f088323;hb=3f2fa921fcd76d90b293725474e9f2009dfed23a;hp=dff439df5d7f2d74a09e8d4b3b327a57f58ccc62;hpb=80658e4d152b53bd55927c432ceece7702ab49d7;p=samtools.git diff --git a/bcftools/bcf.h b/bcftools/bcf.h index dff439d..822ae5c 100644 --- a/bcftools/bcf.h +++ b/bcftools/bcf.h @@ -28,7 +28,7 @@ #ifndef BCF_H #define BCF_H -#define BCF_VERSION "0.1.16-dev (r963:240)" +#define BCF_VERSION "0.1.17-dev (r973:277)" #include #include @@ -152,6 +152,10 @@ 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); + // convert up to 4 INDEL alleles to GLF-like 10-likelihood GL + int bcf_gl10_indel(const bcf1_t *b, uint8_t *gl); // string hash table void *bcf_build_refhash(bcf_hdr_t *h);