]> git.donarmstrong.com Git - samtools.git/commitdiff
* samtools-0.1.4-6 (r334)
authorHeng Li <lh3@live.co.uk>
Fri, 12 Jun 2009 14:43:36 +0000 (14:43 +0000)
committerHeng Li <lh3@live.co.uk>
Fri, 12 Jun 2009 14:43:36 +0000 (14:43 +0000)
 * 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)

bam.h
bam_aux.c
bamtk.c

diff --git a/bam.h b/bam.h
index eb4a375bdc236d9954ef69975f101ea07741fac4..9330075ed10bcbcd67e3fba245f87909b56b42ef 100644 (file)
--- 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);
index 98690487a517497976e0cfe0ac40e5c0dc2d932a..41be81910d89478dc160fada8fe2b4c38f8052c5 100644 (file)
--- 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 0b95298e0ef1a48944c9967642f36a470d5fe1ac..f762a136e45e455390744a9806ea4b60ad6a4db7 100644 (file)
--- 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[]);