]> git.donarmstrong.com Git - samtools.git/blobdiff - bcftools/bcf.h
* samtools-0.1.12-10 (r896)
[samtools.git] / bcftools / bcf.h
index f87ac1e6fa3021964753f051a944fdc95a59549d..6932f35147a72c88fb7a4bd9bed682403c677a4c 100644 (file)
@@ -142,10 +142,13 @@ extern "C" {
        int bcf_gl2pl(bcf1_t *b);
        // if the site is an indel
        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);
 
        // string hash table
        void *bcf_build_refhash(bcf_hdr_t *h);
        void bcf_str2id_destroy(void *_hash);
+       void bcf_str2id_thorough_destroy(void *_hash);
        int bcf_str2id_add(void *_hash, const char *str);
        int bcf_str2id(void *_hash, const char *str);
        void *bcf_str2id_init();