From: Heng Li Date: Tue, 3 Mar 2009 11:26:08 +0000 (+0000) Subject: * samtools-0.1.2-13 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=dbdb7c6264741765d93519c694f869d7941dd439;p=samtools.git * samtools-0.1.2-13 * fixed a minor bug in displaying pileup --- diff --git a/bam_plcmd.c b/bam_plcmd.c index 2fe32b4..34c48de 100644 --- a/bam_plcmd.c +++ b/bam_plcmd.c @@ -149,7 +149,7 @@ static int pileup_func(uint32_t tid, uint32_t pos, int n, const bam_pileup1_t *p if (!p->is_del) { int c = bam_nt16_rev_table[bam1_seqi(bam1_seq(p->b), p->qpos)]; if (toupper(c) == toupper(rb)) c = bam1_strand(p->b)? ',' : '.'; - else bam1_strand(p->b)? tolower(c) : toupper(c); + else c = bam1_strand(p->b)? tolower(c) : toupper(c); putchar(c); if (p->indel > 0) { printf("+%d", p->indel); diff --git a/bamtk.c b/bamtk.c index b55415e..1025bef 100644 --- a/bamtk.c +++ b/bamtk.c @@ -3,7 +3,7 @@ #include "bam.h" #ifndef PACKAGE_VERSION -#define PACKAGE_VERSION "0.1.2-12" +#define PACKAGE_VERSION "0.1.2-13" #endif int bam_taf2baf(int argc, char *argv[]);