]> git.donarmstrong.com Git - samtools.git/commitdiff
* samtools-0.1.6-6 (r466)
authorHeng Li <lh3@live.co.uk>
Thu, 24 Sep 2009 10:29:19 +0000 (10:29 +0000)
committerHeng Li <lh3@live.co.uk>
Thu, 24 Sep 2009 10:29:19 +0000 (10:29 +0000)
 * do not crash calmd when some sequences are absent from the reference.

ChangeLog
bam_md.c
bamtk.c

index c0afc458da745949eaecc674e2adc4c264f54e6a..18b7d8a10cd4b9dad979569073af81a1baa45fd8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,72 @@
+------------------------------------------------------------------------
+r462 | lh3lh3 | 2009-09-16 09:51:07 +0100 (Wed, 16 Sep 2009) | 3 lines
+Changed paths:
+   M /trunk/samtools/bamtk.c
+   M /trunk/samtools/faidx.c
+   M /trunk/samtools/knetfile.c
+   M /trunk/samtools/knetfile.h
+   M /trunk/samtools/razf.c
+   M /trunk/samtools/razf.h
+
+ * samtools-0.1.6-5 (r462)
+ * Added knetfile support in razf and faidx (on behalf of Petr Danecek)
+
+------------------------------------------------------------------------
+r460 | lh3lh3 | 2009-09-09 12:06:22 +0100 (Wed, 09 Sep 2009) | 2 lines
+Changed paths:
+   M /trunk/samtools/samtools.1
+
+fixed a formatting issue
+
+------------------------------------------------------------------------
+r459 | lh3lh3 | 2009-09-08 23:14:08 +0100 (Tue, 08 Sep 2009) | 3 lines
+Changed paths:
+   M /trunk/samtools/bam_sort.c
+   M /trunk/samtools/bamtk.c
+
+ * samtools-0.1.6-4 (r459)
+ * make sort output the result to stdout when -o is in use
+
+------------------------------------------------------------------------
+r458 | lh3lh3 | 2009-09-07 10:10:28 +0100 (Mon, 07 Sep 2009) | 4 lines
+Changed paths:
+   M /trunk/samtools/bamtk.c
+   M /trunk/samtools/faidx.c
+   M /trunk/samtools/faidx.h
+   M /trunk/samtools/samtools.1
+
+ * samtools-0.1.6-2 (r458)
+ * added more interface to faidx (by Nils)
+ * updated documentation
+
+------------------------------------------------------------------------
+r457 | lh3lh3 | 2009-09-05 21:12:04 +0100 (Sat, 05 Sep 2009) | 3 lines
+Changed paths:
+   M /trunk/samtools/bam_sort.c
+   M /trunk/samtools/bamtk.c
+
+ * samtools-0.1.6-2 (r457)
+ * get rid of three assert() in bam_sort.c
+
+------------------------------------------------------------------------
+r456 | jmarshall | 2009-09-04 17:46:25 +0100 (Fri, 04 Sep 2009) | 3 lines
+Changed paths:
+   M /trunk/samtools/razf.c
+
+Return NULL from _razf_open() (and hence razf_open()/razf_open2())
+when opening the file fails.
+
+------------------------------------------------------------------------
+r453 | lh3lh3 | 2009-09-02 13:56:33 +0100 (Wed, 02 Sep 2009) | 2 lines
+Changed paths:
+   M /trunk/samtools/ChangeLog
+   M /trunk/samtools/NEWS
+   M /trunk/samtools/bamtk.c
+   M /trunk/samtools/samtools.1
+   D /trunk/samtools/source.dot
+
+Release samtools-0.1.6
+
 ------------------------------------------------------------------------
 r451 | lh3lh3 | 2009-09-02 10:44:48 +0100 (Wed, 02 Sep 2009) | 4 lines
 Changed paths:
index 8d074870d336677cee2e606ab05ee81a2b4a6f1e..3ca730993cbc01065eb2c76bd66df1640808e032 100644 (file)
--- a/bam_md.c
+++ b/bam_md.c
@@ -132,8 +132,11 @@ int bam_fillmd(int argc, char *argv[])
                                free(ref);
                                ref = fai_fetch(fai, fp->header->target_name[b->core.tid], &len);
                                tid = b->core.tid;
+                               if (ref == 0)
+                                       fprintf(stderr, "[bam_fillmd] fail to find sequence '%s' in the reference.\n",
+                                                       fp->header->target_name[tid]);
                        }
-                       bam_fillmd1(b, ref, is_equal);
+                       if (ref) bam_fillmd1(b, ref, is_equal);
                }
                samwrite(fpout, b);
        }
diff --git a/bamtk.c b/bamtk.c
index a383c45c1ea990cbb195f63e831e740011f7aa43..a9efb2b314b6a69e2cc75e14bcd4d35c6e5a4b01 100644 (file)
--- a/bamtk.c
+++ b/bamtk.c
@@ -9,7 +9,7 @@
 #endif
 
 #ifndef PACKAGE_VERSION
-#define PACKAGE_VERSION "0.1.6-5 (r462)"
+#define PACKAGE_VERSION "0.1.6-6 (r466)"
 #endif
 
 int bam_taf2baf(int argc, char *argv[]);