X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=bam_import.c;fp=bam_import.c;h=34cc776fed8ffb49575df2baebc9ae33bc64c7ad;hb=b188ebcd53973ed3084aff5d5e2ad4a3475dd17e;hp=2b4fb7e03f956e6ea35a2216c5c853c414fa0aa4;hpb=ed9cedc66455cf33331261e0d230c508411b3df6;p=samtools.git diff --git a/bam_import.c b/bam_import.c index 2b4fb7e..34cc776 100644 --- a/bam_import.c +++ b/bam_import.c @@ -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;