From b04b40a836f19a9a3f0a2625915b67ef50985874 Mon Sep 17 00:00:00 2001 From: Heng Li Date: Tue, 19 May 2009 22:44:25 +0000 Subject: [PATCH] * samtools-0.1.3-22 (r293) * open tview in the dot-view mode by default --- bam_tview.c | 1 + bamtk.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/bam_tview.c b/bam_tview.c index c6780c3..5858e3b 100644 --- a/bam_tview.c +++ b/bam_tview.c @@ -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 5ee0924..fcac281 100644 --- 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[]); -- 2.39.5