]> git.donarmstrong.com Git - samtools.git/commitdiff
* samtools-0.1.3-22 (r293)
authorHeng Li <lh3@live.co.uk>
Tue, 19 May 2009 22:44:25 +0000 (22:44 +0000)
committerHeng Li <lh3@live.co.uk>
Tue, 19 May 2009 22:44:25 +0000 (22:44 +0000)
 * open tview in the dot-view mode by default

bam_tview.c
bamtk.c

index c6780c302c285bf6dbcad4bd378d9514fa5deefb..5858e3b40c5999aed6ac09d91e681de4cb55a8c1 100644 (file)
@@ -154,6 +154,7 @@ int tv_pl_func(uint32_t tid, uint32_t pos, int n, const bam_pileup1_t *pl, void
 tview_t *tv_init(const char *fn, const char *fn_fa)
 {
        tview_t *tv = (tview_t*)calloc(1, sizeof(tview_t));
+       tv->is_dot = 1;
        tv->idx = bam_index_load(fn);
        tv->fp = bam_open(fn, "r");
        assert(tv->fp);
diff --git a/bamtk.c b/bamtk.c
index 5ee0924aef93249d0cc56bb2057fe1f7d8aa2ed9..fcac28125f40efb35cecc4a2a71ff902dc6e3597 100644 (file)
--- a/bamtk.c
+++ b/bamtk.c
@@ -3,7 +3,7 @@
 #include "bam.h"
 
 #ifndef PACKAGE_VERSION
-#define PACKAGE_VERSION "0.1.3-21 (r286)"
+#define PACKAGE_VERSION "0.1.3-22 (r293)"
 #endif
 
 int bam_taf2baf(int argc, char *argv[]);