From: Heng Li Date: Thu, 2 Dec 2010 16:39:57 +0000 (+0000) Subject: Release samtools-0.1.12 X-Git-Url: https://git.donarmstrong.com/?p=samtools.git;a=commitdiff_plain;h=07f8f0c963bd0ad034153758863cd6a700b7cade Release samtools-0.1.12 --- diff --git a/NEWS b/NEWS index 478e718..9118140 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,27 @@ +Beta release 0.1.12 (2 December, 2010) +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +This is another bug fix release: + + * Fixed a memory violation in mpileup, which causes segfault. Release + 0.1.9 and above are affected. + + * Fixed a memory violation in the indel caller, which does not causes + segfault, but may potentially affect deletion calls in an unexpected + way. Release 0.1.10 and above are affected. + + * Fixed a bug in computing r-square in bcftools. Few are using this + functionality and it only has minor effect. + + * Fixed a memory leak in bam_fetch(). + + * Fixed a bug in writing meta information to the BAM index for the last + sequence. This bug is invisible to most users, but it is a bug anyway. + +(0.1.12: 2 December 2010, r859) + + + Beta release 0.1.11 (21 November, 2010) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/bam_index.c b/bam_index.c index 0638a2e..328f011 100644 --- a/bam_index.c +++ b/bam_index.c @@ -212,7 +212,7 @@ bam_index_t *bam_index_core(bamFile fp) } if (save_tid >= 0) { insert_offset(idx->index[save_tid], save_bin, save_off, bam_tell(fp)); - insert_offset(idx->index[save_tid], BAM_MAX_BIN, off_beg, off_end); + insert_offset(idx->index[save_tid], BAM_MAX_BIN, off_beg, bam_tell(fp)); insert_offset(idx->index[save_tid], BAM_MAX_BIN, n_mapped, n_unmapped); } merge_chunks(idx); diff --git a/bamtk.c b/bamtk.c index 116c45f..32c8417 100644 --- a/bamtk.c +++ b/bamtk.c @@ -9,7 +9,7 @@ #endif #ifndef PACKAGE_VERSION -#define PACKAGE_VERSION "0.1.11-1 (r858)" +#define PACKAGE_VERSION "0.1.12 (r859)" #endif int bam_taf2baf(int argc, char *argv[]); diff --git a/samtools.1 b/samtools.1 index e059560..57f1aff 100644 --- a/samtools.1 +++ b/samtools.1 @@ -1,4 +1,4 @@ -.TH samtools 1 "21 November 2010" "samtools-0.1.11" "Bioinformatics tools" +.TH samtools 1 "2 December 2010" "samtools-0.1.12" "Bioinformatics tools" .SH NAME .PP samtools - Utilities for the Sequence Alignment/Map (SAM) format