]> git.donarmstrong.com Git - samtools.git/blobdiff - bam.h
* added bam_verbose global variable
[samtools.git] / bam.h
diff --git a/bam.h b/bam.h
index 4594ac477e33be12fc023ac0e18c2cfe3dc7962e..98612dd687ad3c1813028bb9fddcd1dac0fb29bc 100644 (file)
--- a/bam.h
+++ b/bam.h
@@ -40,6 +40,8 @@
   @copyright Genome Research Ltd.
  */
 
+#define BAM_VERSION "0.1.14 (r947:199)"
+
 #include <stdint.h>
 #include <stdlib.h>
 #include <string.h>
@@ -262,6 +264,12 @@ typedef struct __bam_iter_t *bam_iter_t;
  */
 extern int bam_is_be;
 
+/*!
+  @abstract Verbose level between 0 and 3; 0 is supposed to disable all
+  debugging information, though this may not have been implemented.
+ */
+extern int bam_verbose;
+
 /*! @abstract Table for converting a nucleotide character to the 4-bit encoding. */
 extern unsigned char bam_nt16_table[256];
 
@@ -495,7 +503,7 @@ extern "C" {
                bam1_t *b;
                int32_t qpos;
                int indel, level;
-               uint32_t is_del:1, is_head:1, is_tail:1, is_refskip:1;
+               uint32_t is_del:1, is_head:1, is_tail:1, is_refskip:1, aux:28;
        } bam_pileup1_t;
 
        typedef int (*bam_plp_auto_f)(void *data, bam1_t *b);