]> git.donarmstrong.com Git - samtools.git/log
samtools.git
14 years ago * samtools-0.1.7-6
Heng Li [Mon, 1 Feb 2010 14:13:19 +0000 (14:13 +0000)]
 * samtools-0.1.7-6
 * fixed a bug in faidx

14 years agoPut the right filename in the error message.
On behalf of John Marshall [Mon, 11 Jan 2010 23:51:49 +0000 (23:51 +0000)]
Put the right filename in the error message.

14 years ago * samtools-0.1.7-5 (r528)
Heng Li [Mon, 14 Dec 2009 16:26:47 +0000 (16:26 +0000)]
 * samtools-0.1.7-5 (r528)
 * further add new consensus generation strategy

14 years agoFixed a bug in knet_seek
Petr Danecek [Fri, 11 Dec 2009 17:31:05 +0000 (17:31 +0000)]
Fixed a bug in knet_seek

14 years agoSmall fix in VCF format: dot for the empty INFO field
Petr Danecek [Fri, 11 Dec 2009 12:51:18 +0000 (12:51 +0000)]
Small fix in VCF format: dot for the empty INFO field

14 years agoAllow tabs in the CO header field
Petr Danecek [Fri, 11 Dec 2009 09:36:18 +0000 (09:36 +0000)]
Allow tabs in the CO header field

14 years agoDepend on libbam.a rather than the phony target, so that samtools is not
On behalf of John Marshall [Thu, 10 Dec 2009 15:03:58 +0000 (15:03 +0000)]
Depend on libbam.a rather than the phony target, so that samtools is not
unnecessarily rebuilt every time.  Also clean bgzip.

14 years agoFix a bug in compiling bgzip: this also needs knetfile.o when _USE_KNETFILE
On behalf of John Marshall [Thu, 10 Dec 2009 14:45:32 +0000 (14:45 +0000)]
Fix a bug in compiling bgzip: this also needs knetfile.o when _USE_KNETFILE
is defined.  Also introduce $(KNETFILE_O) which can be set to empty to
facilitate non-knet builds.

14 years ago * samtools-0.1.7-4 (r522)
Heng Li [Tue, 1 Dec 2009 18:02:36 +0000 (18:02 +0000)]
 * samtools-0.1.7-4 (r522)
 * fixed a bug in "view -r"
 * added a new option "view -R" to read required read groups from a file

14 years ago * samtools-0.1.7-3 (r521)
Heng Li [Tue, 1 Dec 2009 15:00:12 +0000 (15:00 +0000)]
 * samtools-0.1.7-3 (r521)
 * calmd: optionally mask matching bases as N

14 years ago * samtools-0.1.7-2 (r520)
Heng Li [Tue, 1 Dec 2009 14:37:17 +0000 (14:37 +0000)]
 * samtools-0.1.7-2 (r520)
 * fixed a few issues with compilation in Windows (on behalf of John)
 * choose a random base as the consensus (for population genetics studies)

14 years agoPut libraries at the end, so they can resolve references from libbam.a
On behalf of John Marshall [Mon, 30 Nov 2009 15:53:02 +0000 (15:53 +0000)]
Put libraries at the end, so they can resolve references from libbam.a
as well, even with old-fashioned linkers.

Also use libbam.a explicitly rather than "-L. -lbam" to ensure that we get
the freshly built library, not some other libbam.a lying around the system.

14 years agoAlso clean *.exe (for Cygwin users using this makefile).
On behalf of John Marshall [Mon, 30 Nov 2009 13:44:56 +0000 (13:44 +0000)]
Also clean *.exe (for Cygwin users using this makefile).

14 years agoIndex files should be opened in binary mode, not text mode.
On behalf of John Marshall [Mon, 30 Nov 2009 12:09:04 +0000 (12:09 +0000)]
Index files should be opened in binary mode, not text mode.

14 years agoanother example program
Heng Li [Fri, 27 Nov 2009 20:18:59 +0000 (20:18 +0000)]
another example program

14 years ago * samtools-0.1.7-1 (r515)
Heng Li [Fri, 27 Nov 2009 15:44:56 +0000 (15:44 +0000)]
 * samtools-0.1.7-1 (r515)
 * report an error when .fai contains duplicated names, instead of segfault

14 years agoFormat 'c'-encoded auxiliary fields correctly, as *signed* integers.
On behalf of John Marshall [Tue, 24 Nov 2009 14:45:35 +0000 (14:45 +0000)]
Format 'c'-encoded auxiliary fields correctly, as *signed* integers.

14 years agoUpdate Makefile.mingw for the same reason
Heng Li [Mon, 16 Nov 2009 15:13:07 +0000 (15:13 +0000)]
Update Makefile.mingw for the same reason

14 years agoFixed a bug in compiling razip
Heng Li [Mon, 16 Nov 2009 15:00:08 +0000 (15:00 +0000)]
Fixed a bug in compiling razip

14 years agoRelease samtools-0.1.7 (r510)
Heng Li [Tue, 10 Nov 2009 15:55:41 +0000 (15:55 +0000)]
Release samtools-0.1.7 (r510)

14 years ago * samtools-0.1.6-22 (r509)
Heng Li [Fri, 6 Nov 2009 14:17:09 +0000 (14:17 +0000)]
 * samtools-0.1.6-22 (r509)
 * forget to fix a similar problem in glfgen

14 years ago * samtools-0.1.6-21 (r508)
Heng Li [Fri, 6 Nov 2009 14:06:40 +0000 (14:06 +0000)]
 * samtools-0.1.6-21 (r508)
 * fixed a potential bug in the indel caller towards the end of a chromosome

15 years ago * samtools-0.1.6-19 (r494)
Heng Li [Mon, 26 Oct 2009 15:38:00 +0000 (15:38 +0000)]
 * samtools-0.1.6-19 (r494)
 * allow to convert Illumina quality (64 based) to the BAM quality

15 years ago * samtools-0.1.6-18 (r493)
Heng Li [Mon, 26 Oct 2009 14:24:39 +0000 (14:24 +0000)]
 * samtools-0.1.6-18 (r493)
 * fixed the bugs due to improperly incorporating Petr's header parser
 * a little code clean up in sam_header.c

15 years agoAdded sam_header_line_free call for sam_header_parse2
Petr Danecek [Sat, 24 Oct 2009 13:43:25 +0000 (13:43 +0000)]
Added sam_header_line_free call for sam_header_parse2

15 years ago * BUGGY VERSION
Heng Li [Sat, 24 Oct 2009 04:50:16 +0000 (04:50 +0000)]
 * BUGGY VERSION
 * fixed a minor bug

15 years ago * BUGGY VERSION
Heng Li [Sat, 24 Oct 2009 04:45:12 +0000 (04:45 +0000)]
 * BUGGY VERSION
 * improved the interface a bit
 * bug unfixed

15 years ago * BUGGY VERSION. Please NOT use it.
Heng Li [Sat, 24 Oct 2009 04:41:50 +0000 (04:41 +0000)]
 * BUGGY VERSION. Please NOT use it.
 * Fixed a minor bug, but the major bug is still there.

15 years ago * This revision is SERIOUSLY BUGGY. Please NOT use it.
Heng Li [Sat, 24 Oct 2009 04:17:10 +0000 (04:17 +0000)]
 * This revision is SERIOUSLY BUGGY. Please NOT use it.
 * Start to incorporate header parsing from Petr Danecek

15 years agoNow possible to merge multiple HeaderDict dictionaries
Petr Danecek [Fri, 23 Oct 2009 15:44:32 +0000 (15:44 +0000)]
Now possible to merge multiple HeaderDict dictionaries

15 years ago(no commit message)
Petr Danecek [Thu, 22 Oct 2009 15:46:58 +0000 (15:46 +0000)]

15 years ago(no commit message)
Petr Danecek [Thu, 22 Oct 2009 15:41:56 +0000 (15:41 +0000)]

15 years ago * samtools-0.1.6-17 (r484)
Heng Li [Mon, 19 Oct 2009 18:31:32 +0000 (18:31 +0000)]
 * samtools-0.1.6-17 (r484)
 * fixed a memory leak in rmdupse
 * fixed a bug in parsing @RG header lines
 * test rmdup in examples/

15 years ago * samtools-0.1.6-16 (r483)
Heng Li [Mon, 19 Oct 2009 17:22:48 +0000 (17:22 +0000)]
 * samtools-0.1.6-16 (r483)
 * unify the interface of rmdup and rmdupse
 * a new bug found in rg2lib(). Have not been fixed yet.

15 years ago * samtools-0.1.6-15 (r482)
Heng Li [Mon, 19 Oct 2009 17:03:34 +0000 (17:03 +0000)]
 * samtools-0.1.6-15 (r482)
 * rewrite rmdupse
 * rmdupse is now library aware

15 years ago * samtools-0.1.6-14 (r480)
Heng Li [Sun, 18 Oct 2009 04:07:21 +0000 (04:07 +0000)]
 * samtools-0.1.6-14 (r480)
 * rmdup is now RG aware

15 years agoadded a small unitity to parse SRA XML files
Heng Li [Sun, 18 Oct 2009 02:05:20 +0000 (02:05 +0000)]
added a small unitity to parse SRA XML files

15 years ago * samtools-0.1.6-13 (r479)
Heng Li [Sun, 18 Oct 2009 00:57:26 +0000 (00:57 +0000)]
 * samtools-0.1.6-13 (r479)
 * merge: optionally use file names as RG tags

15 years ago * samtools-0.1.6-12 (r478)
Heng Li [Wed, 14 Oct 2009 18:18:12 +0000 (18:18 +0000)]
 * samtools-0.1.6-12 (r478)
 * fixed a bug in the indel caller

15 years ago * samtools-0.1.6-11 (r477)
Heng Li [Sat, 10 Oct 2009 10:12:26 +0000 (10:12 +0000)]
 * samtools-0.1.6-11 (r477)
 * fixed a bug due to recent change in bam_index.c (thank Nicole Washington for the patch)

15 years agoAdded the sam2vcf.pl script.
Petr Danecek [Fri, 9 Oct 2009 15:45:36 +0000 (15:45 +0000)]
Added the sam2vcf.pl script.

15 years agoUnfinished modification. Please do not use this revision...
Heng Li [Thu, 8 Oct 2009 14:19:16 +0000 (14:19 +0000)]
Unfinished modification. Please do not use this revision...

15 years agoRemoved the offending knet_seek message.
Petr Danecek [Thu, 8 Oct 2009 10:39:54 +0000 (10:39 +0000)]
Removed the offending knet_seek message.

15 years agoBug fix - faidx on RAZF compressed files now working.
Petr Danecek [Tue, 6 Oct 2009 13:26:35 +0000 (13:26 +0000)]
Bug fix - faidx on RAZF compressed files now working.

15 years agoClarify the meaning of a region like "chr2:1,000,000".
Heng Li [Fri, 2 Oct 2009 12:42:57 +0000 (12:42 +0000)]
Clarify the meaning of a region like "chr2:1,000,000".

15 years agoFixed minor bugs in novo2sam.pl (on behalf of Ken Chen and Colin Hercus)
Heng Li [Fri, 2 Oct 2009 09:42:19 +0000 (09:42 +0000)]
Fixed minor bugs in novo2sam.pl (on behalf of Ken Chen and Colin Hercus)

15 years ago * samtools-0.1.6-9 (r470)
Heng Li [Tue, 29 Sep 2009 19:01:27 +0000 (19:01 +0000)]
 * samtools-0.1.6-9 (r470)
 * make knetfile.c compatible with MinGW (thank Martin Morgan for the patch)

15 years ago * samtools-0.1.6-9 (r469)
Heng Li [Tue, 29 Sep 2009 12:07:44 +0000 (12:07 +0000)]
 * samtools-0.1.6-9 (r469)
 * refactor bam_fetch() for Python binding. On behalf of Leo Goodstadt.

15 years ago * samtools-0.1.6-7 (r468)
Heng Li [Mon, 28 Sep 2009 09:18:29 +0000 (09:18 +0000)]
 * samtools-0.1.6-7 (r468)
 * make merge stable

15 years agoChanged the mode for newly created files to 0666. This allows less strict permissions...
Petr Danecek [Mon, 28 Sep 2009 08:51:29 +0000 (08:51 +0000)]
Changed the mode for newly created files to 0666. This allows less strict permissions with umask properly set (e.g. 0002 vs. 0022).

15 years ago * samtools-0.1.6-6 (r466)
Heng Li [Thu, 24 Sep 2009 10:29:19 +0000 (10:29 +0000)]
 * samtools-0.1.6-6 (r466)
 * do not crash calmd when some sequences are absent from the reference.

15 years agoSuppress bgzf_check_EOF() messages when reading from a pipe, as there is
On behalf of John Marshall [Wed, 23 Sep 2009 10:14:32 +0000 (10:14 +0000)]
Suppress bgzf_check_EOF() messages when reading from a pipe, as there is
no way to seek on a pipe and the messages always appear.

15 years agoA bug fix, "samtools view" is now working again.
Petr Danecek [Wed, 16 Sep 2009 11:05:41 +0000 (11:05 +0000)]
A bug fix, "samtools view" is now working again.

15 years ago * samtools-0.1.6-5 (r462)
Heng Li [Wed, 16 Sep 2009 08:51:07 +0000 (08:51 +0000)]
 * samtools-0.1.6-5 (r462)
 * Added knetfile support in razf and faidx (on behalf of Petr Danecek)

15 years agofixed a formatting issue
Heng Li [Wed, 9 Sep 2009 11:06:22 +0000 (11:06 +0000)]
fixed a formatting issue

15 years ago * samtools-0.1.6-4 (r459)
Heng Li [Tue, 8 Sep 2009 22:14:08 +0000 (22:14 +0000)]
 * samtools-0.1.6-4 (r459)
 * make sort output the result to stdout when -o is in use

15 years ago * samtools-0.1.6-2 (r458)
Heng Li [Mon, 7 Sep 2009 09:10:28 +0000 (09:10 +0000)]
 * samtools-0.1.6-2 (r458)
 * added more interface to faidx (by Nils)
 * updated documentation

15 years ago * samtools-0.1.6-2 (r457)
Heng Li [Sat, 5 Sep 2009 20:12:04 +0000 (20:12 +0000)]
 * samtools-0.1.6-2 (r457)
 * get rid of three assert() in bam_sort.c

15 years agoReturn NULL from _razf_open() (and hence razf_open()/razf_open2())
On behalf of John Marshall [Fri, 4 Sep 2009 16:46:25 +0000 (16:46 +0000)]
Return NULL from _razf_open() (and hence razf_open()/razf_open2())
when opening the file fails.

15 years agoRelease samtools-0.1.6
Heng Li [Wed, 2 Sep 2009 12:56:33 +0000 (12:56 +0000)]
Release samtools-0.1.6

15 years ago * samtools-0.1.5-34 (r451)
Heng Li [Wed, 2 Sep 2009 09:44:48 +0000 (09:44 +0000)]
 * samtools-0.1.5-34 (r451)
 * applied the patch by John
 * improved the help message a little bit

15 years ago * samtools-0.1.5-33 (r450)
Heng Li [Wed, 2 Sep 2009 08:55:55 +0000 (08:55 +0000)]
 * samtools-0.1.5-33 (r450)
 * fixed a bug in bam_color.c (on behalf of Nils Homer)

15 years ago * samtools-0.1.5-32 (r449)
Heng Li [Sat, 29 Aug 2009 19:36:41 +0000 (19:36 +0000)]
 * samtools-0.1.5-32 (r449)
 * fillmd: fixed a bug in modifying MD/NM tags
 * in import, give a warning if the read is aligned but there is no CIGAR.

15 years ago * samtools-0.1.5-31 (r448)
Heng Li [Wed, 19 Aug 2009 08:44:28 +0000 (08:44 +0000)]
 * samtools-0.1.5-31 (r448)
 * fixed an issue when the last CIGAR is I or D

15 years ago * samtools-0.1.5-30 (r447)
Heng Li [Mon, 17 Aug 2009 08:34:57 +0000 (08:34 +0000)]
 * samtools-0.1.5-30 (r447)
 * fixed a bug in bam_aux_get(): 'A' is not checked

15 years ago *
Heng Li [Mon, 17 Aug 2009 08:33:17 +0000 (08:33 +0000)]
 *

15 years ago * samtools-0.1.5-28 (r444)
Heng Li [Tue, 11 Aug 2009 09:02:36 +0000 (09:02 +0000)]
 * samtools-0.1.5-28 (r444)
 * bug in "merge -n"

15 years ago * samtools-0.1.5-27 (r443)
Heng Li [Tue, 11 Aug 2009 08:29:11 +0000 (08:29 +0000)]
 * samtools-0.1.5-27 (r443)
 * SEQ and QUAL can be "*"
 * parse CIGAR "=" and "X" as "M"

15 years ago * samtools-0.1.5-26 (r442)
Heng Li [Fri, 7 Aug 2009 20:56:38 +0000 (20:56 +0000)]
 * samtools-0.1.5-26 (r442)
 * replace RSA Inc md5.* with ones under permissive lincense
 * fixed a bug in detecting unsorted bam in pileup

15 years agoChange copyright notices now that MIT has approved open source distribution.
On behalf of Bob Handsaker [Wed, 5 Aug 2009 13:41:28 +0000 (13:41 +0000)]
Change copyright notices now that MIT has approved open source distribution.

15 years ago * samtools-0.1.5-25 (r436)
Heng Li [Wed, 5 Aug 2009 09:44:24 +0000 (09:44 +0000)]
 * samtools-0.1.5-25 (r436)
 * in flagstats, do not report singletons if both ends are unmapped

15 years agofixed a SERIOUS bug in setting 0x20 flag
Heng Li [Tue, 4 Aug 2009 21:16:51 +0000 (21:16 +0000)]
fixed a SERIOUS bug in setting 0x20 flag

15 years agofixed two minor bugs (suggested by Tim M Storm)
Heng Li [Tue, 4 Aug 2009 20:50:43 +0000 (20:50 +0000)]
fixed two minor bugs (suggested by Tim M Storm)

15 years ago * samtools-0.1.5-24 (r435)
Heng Li [Tue, 4 Aug 2009 08:13:24 +0000 (08:13 +0000)]
 * samtools-0.1.5-24 (r435)
 * fixed a typo

15 years ago * samtools-0.1.5-23 (r434)
Heng Li [Mon, 3 Aug 2009 09:40:42 +0000 (09:40 +0000)]
 * samtools-0.1.5-23 (r434)
 * in tview, press 'r' to show read names rather than sequences

15 years ago * tried to fixed the buggy FTP random access in Windows. FAILED.
Heng Li [Sun, 2 Aug 2009 18:13:35 +0000 (18:13 +0000)]
 * tried to fixed the buggy FTP random access in Windows. FAILED.
 * anyway, MinGW seems to have problem with "%lld".

15 years ago * samtools-0.1.5-22 (r432)
Heng Li [Sat, 1 Aug 2009 23:32:07 +0000 (23:32 +0000)]
 * samtools-0.1.5-22 (r432)
 * faidx: fixed compitability issue with _WIN32
 * razf: fixed potential compitability issue with _WIN32
 * PDCurses support in Windows

15 years agoreplace the GnuWin32 version of libz.a with my own build with MinGW.
Heng Li [Sat, 1 Aug 2009 22:34:54 +0000 (22:34 +0000)]
replace the GnuWin32 version of libz.a with my own build with MinGW.

15 years agoadd comments
Heng Li [Sat, 1 Aug 2009 22:21:07 +0000 (22:21 +0000)]
add comments

15 years ago * samtools-0.1.5-21 (r428)
Heng Li [Sat, 1 Aug 2009 21:41:19 +0000 (21:41 +0000)]
 * samtools-0.1.5-21 (r428)
 * knetfile.c is now compatible with mingw-winsock

15 years agosimplify MinGW Makefile
Heng Li [Fri, 31 Jul 2009 23:39:07 +0000 (23:39 +0000)]
simplify MinGW Makefile

15 years ago * samtools-0.1.5-20 (r427)
Heng Li [Fri, 31 Jul 2009 23:30:54 +0000 (23:30 +0000)]
 * samtools-0.1.5-20 (r427)
 * MinGW support. At least SAM<->BAM conversion is working. Other
   functionality are not tested at the moment.
 * zlib headers and Windows version of libz.a are included in win32/

15 years ago * samtools-0.1.5-19 (r426)
Heng Li [Fri, 31 Jul 2009 22:32:09 +0000 (22:32 +0000)]
 * samtools-0.1.5-19 (r426)
 * fixed a bug caused by recent modifications. Sorry.

15 years agocompatible with Windows binary files
Heng Li [Fri, 31 Jul 2009 22:23:51 +0000 (22:23 +0000)]
compatible with Windows binary files

15 years ago * samtools-0.1.5-18 (r423)
Heng Li [Fri, 31 Jul 2009 09:19:59 +0000 (09:19 +0000)]
 * samtools-0.1.5-18 (r423)
 * output additional information in pileup indel lines, for the purepose
   of debugging at the moment
 * in tview, optionally allow to treat reference skip as deletion

15 years agoconvert BLAT psl to SAM.
Heng Li [Thu, 30 Jul 2009 21:00:36 +0000 (21:00 +0000)]
convert BLAT psl to SAM.

15 years ago * samtools-0.1.5-17 (r422)
Heng Li [Thu, 30 Jul 2009 10:24:39 +0000 (10:24 +0000)]
 * samtools-0.1.5-17 (r422)
 * fixed a but in knetfile.c when seek type is not SEEK_SET
 * write an empty BGZF block to every BGZF file
 * check BGZF EOF marker in bam_header_read()
 * update ChangeLog

15 years ago * samtools-0.1.5-16 (r421)
Heng Li [Thu, 30 Jul 2009 09:03:39 +0000 (09:03 +0000)]
 * samtools-0.1.5-16 (r421)
 * in view and pileup, load header from FASTA index if the input is SAM.

15 years agodo not set "read 1" if reads are not mapped in the PE mode of maq
Heng Li [Wed, 29 Jul 2009 08:18:55 +0000 (08:18 +0000)]
do not set "read 1" if reads are not mapped in the PE mode of maq

15 years ago * samtools-0.1.5-15 (r419)
Heng Li [Tue, 28 Jul 2009 08:52:33 +0000 (08:52 +0000)]
 * samtools-0.1.5-15 (r419)
 * in sam_open(), return NULL when the file cannot be opened.
 * make wgsim_eval.pl more robust to imperfect SAM
 * add "unique" command to samtools.pl

15 years agoskip @header lines in SAM
Heng Li [Fri, 24 Jul 2009 13:04:19 +0000 (13:04 +0000)]
skip @header lines in SAM

15 years ago * samtools-0.1.5-14 (r417)
Heng Li [Fri, 24 Jul 2009 11:42:38 +0000 (11:42 +0000)]
 * samtools-0.1.5-14 (r417)
 * more help in "samtools view" due to the recent changes.

15 years ago * samtools-0.1.5-17 (r416)
Heng Li [Fri, 24 Jul 2009 11:34:30 +0000 (11:34 +0000)]
 * samtools-0.1.5-17 (r416)
 * support import/export SAM with string tags

15 years ago * samtools-0.1.5-12 (r415)
Heng Li [Fri, 24 Jul 2009 10:39:26 +0000 (10:39 +0000)]
 * samtools-0.1.5-12 (r415)
 * FLAG now can be in HEX

15 years agofixed a compiling error (thank Ken for fixing it)
Heng Li [Wed, 22 Jul 2009 21:03:49 +0000 (21:03 +0000)]
fixed a compiling error (thank Ken for fixing it)

15 years agoImplemented Boyer-Moore search in the kstring library.
Heng Li [Tue, 21 Jul 2009 21:19:40 +0000 (21:19 +0000)]
Implemented Boyer-Moore search in the kstring library.

15 years agodo not include knetfile.h when _USE_KNETFILE is not defined
Heng Li [Fri, 17 Jul 2009 16:10:20 +0000 (16:10 +0000)]
do not include knetfile.h when _USE_KNETFILE is not defined

15 years ago * samtools-0.1.5-11 (r408)
Heng Li [Fri, 17 Jul 2009 14:29:21 +0000 (14:29 +0000)]
 * samtools-0.1.5-11 (r408)
 * force to overwirte existing MD if it is different from the one calculated
   from fillmd.
 * bgzf.c: improved the compatibility with Windows headers

15 years ago * samtools-0.1.5-10 (r407)
Heng Li [Fri, 17 Jul 2009 13:46:56 +0000 (13:46 +0000)]
 * samtools-0.1.5-10 (r407)
 * implemented bam_aux_del() to remove a tag
 * fillmd: generate the NM tag
 * fillmd: cmd interface improvement

15 years agoSorry. The old Makefile is for PDCurses...
Heng Li [Thu, 16 Jul 2009 22:30:40 +0000 (22:30 +0000)]
Sorry. The old Makefile is for PDCurses...