]> 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 7e451a67f5dad91f95c287b6c08b7cd7d278cf40..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>
@@ -124,7 +128,9 @@ extern "C" {
        // append more info
        int bcf_append_info(bcf1_t *b, const char *info, int l);
     // remove tag
-    int remove_tag(char *string, char *tag, char delim);
+    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);