X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=samtools.git;a=blobdiff_plain;f=bcftools%2Fbcf.h;fp=bcftools%2Fbcf.h;h=ba6dbe9b42ae033c6b3c179a730a48312cf927dd;hp=f545a916879ee9f527c3e12b622926dfaf96971b;hb=fa217aa47313e2535cbd2d4bb034cfd405162662;hpb=c34624801b980425af68c3c431423c72b18c14fe diff --git a/bcftools/bcf.h b/bcftools/bcf.h index f545a91..ba6dbe9 100644 --- a/bcftools/bcf.h +++ b/bcftools/bcf.h @@ -146,6 +146,10 @@ extern "C" { int bcf_is_indel(const bcf1_t *b); bcf_hdr_t *bcf_hdr_subsam(const bcf_hdr_t *h0, int n, char *const* samples, int *list); int bcf_subsam(int n_smpl, int *list, bcf1_t *b); + // move GT to the first FORMAT field + int bcf_fix_gt(bcf1_t *b); + // update PL generated by old samtools + int bcf_fix_pl(bcf1_t *b); // string hash table void *bcf_build_refhash(bcf_hdr_t *h);