]> git.donarmstrong.com Git - samtools.git/blobdiff - bcftools/bcf.h
VCF annotations with and without -m and more robust rm_info
[samtools.git] / bcftools / bcf.h
index 7e451a67f5dad91f95c287b6c08b7cd7d278cf40..8c52451f7a40d939a322a2737f922ac44fa9e871 100644 (file)
@@ -124,7 +124,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);