X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=bam.h;h=163dc893e192d6eaa9ebfcc3b3b8614d142ca211;hb=2f8de7def998e2c804213aaf16cc42b3f4095167;hp=1195e75be3220a0ecfe569de249dc1a5a70780a5;hpb=f1222861f3824c28d35cd143f5565ca09d80f056;p=samtools.git diff --git a/bam.h b/bam.h index 1195e75..163dc89 100644 --- 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) /*! @@ -512,17 +515,6 @@ extern "C" { */ int bam_plbuf_push(const bam1_t *b, bam_plbuf_t *buf); - /*! - @abstract A more convenient interface to bam_plbuf_push() - @param fp BAM file handler - @param func user defined function - @param func_data user provided data - - @discussion The file position indicator must be placed right - before the start of an alignment. See also bam_plbuf_push(). - */ - int bam_pileup_file(bamFile fp, int mask, bam_pileup_f func, void *func_data); - struct __bam_lplbuf_t; typedef struct __bam_lplbuf_t bam_lplbuf_t;