]> git.donarmstrong.com Git - samtools.git/blobdiff - bam_import.c
* BUGGY VERSION
[samtools.git] / bam_import.c
index 2b4fb7e03f956e6ea35a2216c5c853c414fa0aa4..34cc776fed8ffb49575df2baebc9ae33bc64c7ad 100644 (file)
@@ -171,13 +171,6 @@ static inline void append_text(bam_header_t *header, kstring_t *str)
        header->text[header->l_text] = 0;
 }
 
-int sam_header_parse_rg(bam_header_t *h)
-{
-       if (h->dict == 0) h->dict = sam_header_parse2(h->text);
-       if (h->rg2lib) h->rg2lib = sam_header2tbl(h->dict, "RG", "ID", "LB");
-       return sam_tbl_size(h->rg2lib);
-}
-
 int sam_header_parse(bam_header_t *h)
 {
        char **tmp;