From: Heng Li Date: Fri, 12 Jun 2009 14:43:36 +0000 (+0000) Subject: * samtools-0.1.4-6 (r334) X-Git-Url: https://git.donarmstrong.com/?p=samtools.git;a=commitdiff_plain;h=11b0656ab8ca22edb2fb7fb54fe761ea4c9e05e3 * samtools-0.1.4-6 (r334) * do not export bam_aux_get_core() for Bio::DB::Sam because it has already been implemented in that. * this version works with the latest Bio::DB::Sam (20090612) --- diff --git a/bam.h b/bam.h index eb4a375..9330075 100644 --- a/bam.h +++ b/bam.h @@ -592,7 +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_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); diff --git a/bam_aux.c b/bam_aux.c index 9869048..41be819 100644 --- a/bam_aux.c +++ b/bam_aux.c @@ -17,12 +17,12 @@ void bam_aux_append(bam1_t *b, const char tag[2], char type, int len, uint8_t *d b->data[ori_len + 2] = type; memcpy(b->data + ori_len + 3, data, len); } - +/* uint8_t *bam_aux_get_core(bam1_t *b, const char tag[2]) { return bam_aux_get(b, tag); } - +*/ uint8_t *bam_aux_get(bam1_t *b, const char tag[2]) { uint8_t *s; diff --git a/bamtk.c b/bamtk.c index 0b95298..f762a13 100644 --- a/bamtk.c +++ b/bamtk.c @@ -3,7 +3,7 @@ #include "bam.h" #ifndef PACKAGE_VERSION -#define PACKAGE_VERSION "0.1.4-5 (r331)" +#define PACKAGE_VERSION "0.1.4-6 (r334)" #endif int bam_taf2baf(int argc, char *argv[]);