]> git.donarmstrong.com Git - samtools.git/blobdiff - bcftools/bcf.h
The indel stats (IS) annotation splitted into two: IDV and IMF
[samtools.git] / bcftools / bcf.h
index 4fe3ed7fb33a3499b3f38d8dd26724f783f5653d..4666a96a05d3a2a8568931933cce2f6716218f59 100644 (file)
 #ifndef BCF_H
 #define BCF_H
 
-#define BCF_VERSION "0.1.17-dev (r973:277)"
+#ifndef VERSION
+#define BCF_VERSION "0.1.19+"
+#else
+#define BCF_VERSION VERSION
+#endif
 
 #include <stdint.h>
 #include <zlib.h>
@@ -123,6 +127,10 @@ extern "C" {
        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);
+    // remove tag
+    int remove_tag(char *string, const char *tag, char delim);
+    // remove info tag, string is the kstring holder of bcf1_t.str
+    void rm_info(kstring_t *string, const char *key);
        // copy
        int bcf_cpy(bcf1_t *r, const bcf1_t *b);