]> git.donarmstrong.com Git - samtools.git/blobdiff - bcftools/bcf.h
* samtools-0.1.9-6 (r803)
[samtools.git] / bcftools / bcf.h
index 72861113d5bac07b66d7014f41a8c95b888e143d..89feeb89ac3bd2e278329866996d02e7709414aa 100644 (file)
@@ -106,6 +106,10 @@ extern "C" {
        int bcf_destroy(bcf1_t *b);
        // BCF->VCF conversion
        char *bcf_fmt(const bcf_hdr_t *h, bcf1_t *b);
+       // append more info
+       int bcf_append_info(bcf1_t *b, const char *info, int l);
+       // copy
+       int bcf_cpy(bcf1_t *r, const bcf1_t *b);
 
        // open a VCF or BCF file if "b" is set in "mode"
        bcf_t *vcf_open(const char *fn, const char *mode);
@@ -124,6 +128,8 @@ extern "C" {
        int bcf_shrink_alt(bcf1_t *b, int n);
        // convert GL to PL
        int bcf_gl2pl(bcf1_t *b);
+       // if the site is an indel
+       int bcf_is_indel(const bcf1_t *b);
 
        // string hash table
        void *bcf_build_refhash(bcf_hdr_t *h);