]> git.donarmstrong.com Git - samtools.git/blobdiff - bam.h
* samtools-0.1.3-21 (286)
[samtools.git] / bam.h
diff --git a/bam.h b/bam.h
index 7167dc155588642ea79ce30b282b0e4dd84c0cef..eb4a375bdc236d9954ef69975f101ea07741fac4 100644 (file)
--- a/bam.h
+++ b/bam.h
@@ -315,6 +315,9 @@ extern "C" {
         */
        bam_header_t *sam_header_read2(const char *fn_list);
 
+       bam_header_t *sam_header_read(tamFile fp);
+       int sam_header_parse(bam_header_t *h);
+
 #define sam_write1(header, b) bam_view1(header, b)
 
        /*!
@@ -589,6 +592,7 @@ extern "C" {
        void bam_parse_region(bam_header_t *header, const char *str, int *ref_id, int *begin, int *end);
 
        void bam_aux_append(bam1_t *b, const char tag[2], char type, int len, uint8_t *data);
+       uint8_t *bam_aux_get_core(bam1_t *b, const char tag[2]); // an alias of bam_aux_get()
        uint8_t *bam_aux_get(bam1_t *b, const char tag[2]);
        int32_t bam_aux2i(const uint8_t *s);
        float bam_aux2f(const uint8_t *s);