]> git.donarmstrong.com Git - samtools.git/log
samtools.git
12 years agoHelpful error message on bad CIGAR in unpad_seq
peterjc [Thu, 22 Mar 2012 17:48:47 +0000 (17:48 +0000)]
Helpful error message on bad CIGAR in unpad_seq

12 years agobugfix: downsampling not always working
Heng Li [Tue, 20 Mar 2012 15:49:29 +0000 (11:49 -0400)]
bugfix: downsampling not always working

12 years agoOn behalf of Petr: multi-allelic GT
Heng Li [Fri, 9 Mar 2012 03:25:34 +0000 (22:25 -0500)]
On behalf of Petr: multi-allelic GT

12 years agoRemoved SVN ChangeLog; merged my private github Log to ChangeLog.old
Heng Li [Fri, 9 Mar 2012 02:47:29 +0000 (02:47 +0000)]
Removed SVN ChangeLog; merged my private github Log to ChangeLog.old

12 years agodoc for downsampling
Heng Li [Fri, 9 Mar 2012 02:43:02 +0000 (02:43 +0000)]
doc for downsampling

12 years agoanother example, used by g1k for QA
Heng Li [Fri, 9 Mar 2012 02:39:49 +0000 (02:39 +0000)]
another example, used by g1k for QA

12 years agoTwo auxilary Lua scripts
Heng Li [Fri, 9 Mar 2012 02:39:19 +0000 (02:39 +0000)]
Two auxilary Lua scripts

12 years agoIncoporated changes from Nils Homer.
Heng Li [Fri, 9 Mar 2012 02:31:51 +0000 (02:31 +0000)]
Incoporated changes from Nils Homer.

 * Better error checking in bam_sort.c
 * Parse "K", "M" and "G" in the sort command
 * Better color-space handling
 * Bugfix of wrong integer conversion

New commands are not added.

12 years agobugfix: wrong SP; missing DV in the VCF header
Heng Li [Thu, 16 Feb 2012 14:33:07 +0000 (14:33 +0000)]
bugfix: wrong SP; missing DV in the VCF header

12 years agochanges from git
Heng Li [Wed, 8 Feb 2012 16:37:40 +0000 (16:37 +0000)]
changes from git

12 years agounpadded output
Heng Li [Wed, 28 Sep 2011 05:36:36 +0000 (05:36 +0000)]
unpadded output

12 years agoadded the ace2sam converter
Heng Li [Fri, 23 Sep 2011 15:20:15 +0000 (15:20 +0000)]
added the ace2sam converter

12 years agoconverted padded SAM to unpadded SAM
Heng Li [Fri, 23 Sep 2011 15:14:21 +0000 (15:14 +0000)]
converted padded SAM to unpadded SAM

12 years ago * Updated samtools to the latest
Heng Li [Fri, 2 Sep 2011 16:57:34 +0000 (16:57 +0000)]
 * Updated samtools to the latest
 * Added seqtk.c
 * Updated wgsim.c
 * release samtools-0.1.18

12 years ago * bugfix in index: large memory when a read pos is 1
Heng Li [Wed, 17 Aug 2011 18:26:22 +0000 (18:26 +0000)]
 * bugfix in index: large memory when a read pos is 1
 * bugfix in BAQ: incorrect probability (rare)
 * compute variant distance bias (commited by Petr)
 * bugfix for computing LRT2: LRT2=nan

12 years agoallow to set seed in view-subsampling
Heng Li [Fri, 15 Jul 2011 20:04:59 +0000 (20:04 +0000)]
allow to set seed in view-subsampling

12 years agosubsampling read pairs
Heng Li [Fri, 15 Jul 2011 19:56:04 +0000 (19:56 +0000)]
subsampling read pairs

12 years agosupport trio indels
Heng Li [Wed, 13 Jul 2011 13:50:16 +0000 (13:50 +0000)]
support trio indels

12 years agofor WIN32 compatibility
Heng Li [Thu, 7 Jul 2011 04:37:01 +0000 (04:37 +0000)]
for WIN32 compatibility

12 years agofixed a bug in bam_plcmd.c
Heng Li [Thu, 7 Jul 2011 03:46:12 +0000 (03:46 +0000)]
fixed a bug in bam_plcmd.c

12 years agoRelease samtools-0.1.17
Heng Li [Thu, 7 Jul 2011 02:59:05 +0000 (02:59 +0000)]
Release samtools-0.1.17

12 years agofixed a bug caused by a recent patch
Heng Li [Wed, 15 Jun 2011 15:08:41 +0000 (15:08 +0000)]
fixed a bug caused by a recent patch

12 years ago * 0.1.16-dev (r969:252)
Heng Li [Fri, 3 Jun 2011 18:49:27 +0000 (18:49 +0000)]
 * 0.1.16-dev (r969:252)
 * faidx/view: smarter way to parse a region string
 * index: more rigorously check the sorting order
 * Makefile: added -s to ar
 * bcftools: compute 2-degree P-value by default
 * bcftools: compute the ML estimate of the allele count

13 years agoRemoved the pileup command
Heng Li [Fri, 22 Apr 2011 13:46:42 +0000 (13:46 +0000)]
Removed the pileup command

13 years agoRelease samtools-0.1.16 (r963:234)
Heng Li [Fri, 22 Apr 2011 03:13:42 +0000 (03:13 +0000)]
Release samtools-0.1.16 (r963:234)

13 years agofixed a bug in merge
Heng Li [Thu, 21 Apr 2011 18:50:12 +0000 (18:50 +0000)]
fixed a bug in merge

13 years agoAdded the support for the new SAM/BAM type "B"
Heng Li [Mon, 18 Apr 2011 01:55:37 +0000 (01:55 +0000)]
Added the support for the new SAM/BAM type "B"

13 years ago * fixed a bug in bedidx: input BED not sorted
Heng Li [Sun, 17 Apr 2011 23:32:01 +0000 (23:32 +0000)]
 * fixed a bug in bedidx: input BED not sorted
 * make bcftools a little bit more robust given wrong inputs
 * perform posterior-chi^2 by default

13 years ago * Added Brent's method for frequency estimate
Heng Li [Fri, 15 Apr 2011 16:01:34 +0000 (16:01 +0000)]
 * Added Brent's method for frequency estimate
 * Added likelihood ratio test for HWE and association

13 years agoRelease samtools-0.1.15 (r949:203)
Heng Li [Sun, 10 Apr 2011 22:31:54 +0000 (22:31 +0000)]
Release samtools-0.1.15 (r949:203)

13 years ago * added bam_verbose global variable
Heng Li [Fri, 8 Apr 2011 22:20:06 +0000 (22:20 +0000)]
 * added bam_verbose global variable
 * fixed a bug when grouping reads in mpileup (due to recent changes)
 * do not validate SAM header
 * estimate genotype frequency
 * added HWE test back, but with a different method

13 years agoadded quality filtering
Heng Li [Fri, 1 Apr 2011 12:55:51 +0000 (12:55 +0000)]
added quality filtering

13 years agofixed a few typos in comments
Heng Li [Fri, 1 Apr 2011 03:31:42 +0000 (03:31 +0000)]
fixed a few typos in comments

13 years agoAdded an example of using mpileup
Heng Li [Fri, 1 Apr 2011 03:17:03 +0000 (03:17 +0000)]
Added an example of using mpileup

13 years ago * synchronize bgzf in tabix and in samtools
Heng Li [Thu, 31 Mar 2011 20:38:57 +0000 (20:38 +0000)]
 * synchronize bgzf in tabix and in samtools
 * fixed a severe bug in bedidx.c

13 years ago * added BED support to samtools view and mpileup and bcftools view
Heng Li [Wed, 30 Mar 2011 18:35:53 +0000 (18:35 +0000)]
 * added BED support to samtools view and mpileup and bcftools view
 * ML estimate of allele frequency in two groups
 * better error message given inconsisten RG labels
 * compute all-pair r^2

13 years agoRelease samtools-0.1.14 (r933:170)
Heng Li [Tue, 22 Mar 2011 03:08:31 +0000 (03:08 +0000)]
Release samtools-0.1.14 (r933:170)

13 years agoforget to add this file
Heng Li [Fri, 18 Mar 2011 20:34:14 +0000 (20:34 +0000)]
forget to add this file

13 years ago * allow to change the compression level in BAM output
Heng Li [Fri, 18 Mar 2011 20:33:51 +0000 (20:33 +0000)]
 * allow to change the compression level in BAM output
 * use compress level 1 in sorting
 * association test
 * concatenate BAMs
 * allow to threshold on max depth in INDEL calling

13 years agoexport2sam.pl-2.3.1, provided by Chris Saunders from Illumina Inc.
Heng Li [Fri, 18 Mar 2011 19:23:06 +0000 (19:23 +0000)]
export2sam.pl-2.3.1, provided by Chris Saunders from Illumina Inc.

13 years agoadded the haploid mode
Heng Li [Tue, 8 Mar 2011 03:07:35 +0000 (03:07 +0000)]
added the haploid mode

13 years agoRelease samtools-0.1.13 (r926:134)
Heng Li [Tue, 1 Mar 2011 19:48:25 +0000 (19:48 +0000)]
Release samtools-0.1.13 (r926:134)

13 years ago * optionally drop phase ambiguous reads
Heng Li [Tue, 1 Mar 2011 14:51:01 +0000 (14:51 +0000)]
 * optionally drop phase ambiguous reads
 * write vcf format 4.1 instead of 4.0

13 years agominor changes to a heuristic rule
Heng Li [Mon, 28 Feb 2011 20:45:17 +0000 (20:45 +0000)]
minor changes to a heuristic rule

13 years ago * 0.1.12-r924:126
Heng Li [Mon, 28 Feb 2011 20:24:04 +0000 (20:24 +0000)]
 * 0.1.12-r924:126
 * fixed a bug in phase (due to recent changes)
 * fixed a bug in vcf2fq

13 years ago * put version number in bam.h
Heng Li [Mon, 28 Feb 2011 17:57:39 +0000 (17:57 +0000)]
 * put version number in bam.h
 * write version to BCF
 * in phase, change the default -q to 37
 * output a little more information during phasing

13 years ago * change the order of PL/GL according to the latest VCF spec
Heng Li [Fri, 25 Feb 2011 21:40:09 +0000 (21:40 +0000)]
 * change the order of PL/GL according to the latest VCF spec
 * change the type of SP to int32_t

13 years agoupdate the BCF spec
Heng Li [Fri, 25 Feb 2011 19:40:56 +0000 (19:40 +0000)]
update the BCF spec

13 years agoadded the phase command
Heng Li [Fri, 25 Feb 2011 05:59:27 +0000 (05:59 +0000)]
added the phase command

13 years agoadded "const" to bcf_p1_cal()
Heng Li [Thu, 24 Feb 2011 15:05:54 +0000 (15:05 +0000)]
added "const" to bcf_p1_cal()

13 years agomore meaningful BAM truncation message
Heng Li [Thu, 24 Feb 2011 14:36:30 +0000 (14:36 +0000)]
more meaningful BAM truncation message

13 years ago * automatically fix errors in GL
Heng Li [Thu, 24 Feb 2011 14:35:06 +0000 (14:35 +0000)]
 * automatically fix errors in GL
 * output unrecognized FORMAT as "."

13 years agofinished VCF->BCF conversion
Heng Li [Fri, 11 Feb 2011 03:59:47 +0000 (03:59 +0000)]
finished VCF->BCF conversion

13 years agoPrevent division by zero
Petr Danecek [Thu, 3 Feb 2011 08:13:48 +0000 (08:13 +0000)]
Prevent division by zero

13 years agofixed a typo in the VCF header
Heng Li [Wed, 2 Feb 2011 16:29:20 +0000 (16:29 +0000)]
fixed a typo in the VCF header

13 years ago * fixed an out-of-boundary bug
Heng Li [Wed, 2 Feb 2011 16:28:24 +0000 (16:28 +0000)]
 * fixed an out-of-boundary bug
 * improved sorting order checking in index

13 years ago * avoid a segfault when network connect fails
Heng Li [Sun, 30 Jan 2011 03:59:20 +0000 (03:59 +0000)]
 * avoid a segfault when network connect fails
 * update INSTALL
 * fixed a bug in tview on big-endian by Nathan Weeks

13 years ago * fixed a rare memory issue in bam_md.c
Heng Li [Thu, 27 Jan 2011 19:50:02 +0000 (19:50 +0000)]
 * fixed a rare memory issue in bam_md.c
 * fixed a bug in indel calling related to unmapped and refskip reads

13 years agofixed two minor bugs in Fisher's exact test
Heng Li [Mon, 24 Jan 2011 02:46:18 +0000 (02:46 +0000)]
fixed two minor bugs in Fisher's exact test

13 years agoSkip sites with unknown ref
Petr Danecek [Wed, 19 Jan 2011 14:28:02 +0000 (14:28 +0000)]
Skip sites with unknown ref

13 years agomove bam_nt16_nt4_table[] from bam_maqcns.c to bam_md.c
Heng Li [Sat, 15 Jan 2011 17:56:05 +0000 (17:56 +0000)]
move bam_nt16_nt4_table[] from bam_maqcns.c to bam_md.c

13 years ago * samtools-0.1.12-10 (r896)
Heng Li [Thu, 6 Jan 2011 15:52:15 +0000 (15:52 +0000)]
 * samtools-0.1.12-10 (r896)
 * allow to exclude read groups in mpileup

13 years agosorry. It is SP not ST
Heng Li [Tue, 4 Jan 2011 16:31:29 +0000 (16:31 +0000)]
sorry. It is SP not ST

13 years agoadded ST
Heng Li [Tue, 4 Jan 2011 16:29:06 +0000 (16:29 +0000)]
added ST

13 years agoFixed a typo in read_samples
Petr Danecek [Tue, 4 Jan 2011 11:55:56 +0000 (11:55 +0000)]
Fixed a typo in read_samples

13 years agoSystem libraries go *after* user libraries in link commands, because
On behalf of John Marshall [Tue, 28 Dec 2010 13:06:49 +0000 (13:06 +0000)]
System libraries go *after* user libraries in link commands, because
the user libraries may themselves have dependencies that are satisfied
by the system libraries.  It's not rocket science!

This makes a difference with some linkers; or with -static or --as-needed.

The examples/Makefile fix is from Charles Plessy.
See also http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=606004

13 years ago * samtools-0.1.12-9 (r891)
Heng Li [Tue, 21 Dec 2010 17:16:33 +0000 (17:16 +0000)]
 * samtools-0.1.12-9 (r891)
 * allow to call SNPs from a subset of samples

13 years ago * samtools-0.1.12-12 (r889)
Heng Li [Wed, 15 Dec 2010 16:28:16 +0000 (16:28 +0000)]
 * samtools-0.1.12-12 (r889)
 * set mapQ as 20 if it equals 255

13 years agoWhen -B is applied to mpileup, still use paired reads only unless -A is flagged.
Heng Li [Wed, 15 Dec 2010 03:41:09 +0000 (03:41 +0000)]
When -B is applied to mpileup, still use paired reads only unless -A is flagged.

13 years ago * samtools-0.1.12-6 (r887)
Heng Li [Wed, 15 Dec 2010 03:37:05 +0000 (03:37 +0000)]
 * samtools-0.1.12-6 (r887)
 * added a hidden option -E to mpileup/calmd. -E triggers an alternative way to apply BAQ.

13 years ago(Arguably) improved the indel caller a tiny bit for lowCov data.
Heng Li [Tue, 14 Dec 2010 17:51:03 +0000 (17:51 +0000)]
(Arguably) improved the indel caller a tiny bit for lowCov data.

13 years agoFixed the VCF header to pass validation
Petr Danecek [Tue, 14 Dec 2010 09:55:46 +0000 (09:55 +0000)]
Fixed the VCF header to pass validation

13 years ago * samtools-0.1.12-4 (r884)
Heng Li [Mon, 13 Dec 2010 04:02:19 +0000 (04:02 +0000)]
 * samtools-0.1.12-4 (r884)
 * fixed a long-existing flaw in the INDEL calling model

13 years agocompute max SP and max GQ from sample genotypes
Heng Li [Sun, 12 Dec 2010 01:05:42 +0000 (01:05 +0000)]
compute max SP and max GQ from sample genotypes

13 years agodrop bcf-fix.pl as it is redundant by the latest changes
Heng Li [Fri, 10 Dec 2010 15:50:54 +0000 (15:50 +0000)]
drop bcf-fix.pl as it is redundant by the latest changes

13 years ago * fixed a minor issue in printing VCFs
Heng Li [Fri, 10 Dec 2010 15:50:29 +0000 (15:50 +0000)]
 * fixed a minor issue in printing VCFs
 * write bcftools specific INFO and FORMAT in the header

13 years agoMake sure that the GT genotype field is the first
Heng Li [Fri, 10 Dec 2010 15:09:14 +0000 (15:09 +0000)]
Make sure that the GT genotype field is the first

13 years ago * samtools-0.1.12-2 (r877)
Heng Li [Wed, 8 Dec 2010 22:27:05 +0000 (22:27 +0000)]
 * samtools-0.1.12-2 (r877)

 * allow to fine control the selection of indel candidates. The current
   setting is okay for lowCov and highCov with ~100 samples, but it
   skips too many indels for highCov with >250 samples.

13 years agoa spelling error..
Heng Li [Wed, 8 Dec 2010 03:40:35 +0000 (03:40 +0000)]
a spelling error..

13 years ago * samtools-0.1.12-1 (r873)
Heng Li [Wed, 8 Dec 2010 03:39:57 +0000 (03:39 +0000)]
 * samtools-0.1.12-1 (r873)
 * added a switch to allow anomalous read pairs in calling

13 years agofixed a bug in vcf2fq
Heng Li [Tue, 7 Dec 2010 19:43:54 +0000 (19:43 +0000)]
fixed a bug in vcf2fq

13 years agoadded a warning for the Windows version
Heng Li [Sun, 5 Dec 2010 06:18:06 +0000 (06:18 +0000)]
added a warning for the Windows version

13 years agoIn ksprintf(), change "%lf" and "%lg" to "%f" and "%g", respectively.
Heng Li [Sun, 5 Dec 2010 06:05:51 +0000 (06:05 +0000)]
In ksprintf(), change "%lf" and "%lg" to "%f" and "%g", respectively.
According to the manual page, this change is valid. However, MinGW seems
to interpret "%lf" as "%Lf".

13 years agobring back the windows support
Heng Li [Sun, 5 Dec 2010 05:35:43 +0000 (05:35 +0000)]
bring back the windows support

13 years agoFixed a compiling error when knetfile is not used.
Heng Li [Sun, 5 Dec 2010 04:33:51 +0000 (04:33 +0000)]
Fixed a compiling error when knetfile is not used.

13 years agovcf->fastq
Heng Li [Sat, 4 Dec 2010 05:13:22 +0000 (05:13 +0000)]
vcf->fastq

13 years ago * remove "-f". Instead always compute consensus quality
Heng Li [Fri, 3 Dec 2010 22:12:30 +0000 (22:12 +0000)]
 * remove "-f". Instead always compute consensus quality
 * increase the upper limit of quality

13 years agomore informative error message
Heng Li [Fri, 3 Dec 2010 20:28:15 +0000 (20:28 +0000)]
more informative error message

13 years agoRelease samtools-0.1.12a
Heng Li [Thu, 2 Dec 2010 21:16:08 +0000 (21:16 +0000)]
Release samtools-0.1.12a

13 years agoa possible fix to DP4=0,0,0,0; have not tested, but should have no side-effect
Heng Li [Thu, 2 Dec 2010 20:55:06 +0000 (20:55 +0000)]
a possible fix to DP4=0,0,0,0; have not tested, but should have no side-effect

13 years agoRelease samtools-0.1.12
Heng Li [Thu, 2 Dec 2010 16:39:57 +0000 (16:39 +0000)]
Release samtools-0.1.12

13 years ago * samtools-0.1.11-1 (r858)
Heng Li [Thu, 2 Dec 2010 16:24:41 +0000 (16:24 +0000)]
 * samtools-0.1.11-1 (r858)
 * fixed a bug in mpileup which causes segfaults
 * bcftools: do not segfault when BCF contains errors

13 years agofixed a memory leak in bam_fetch()
Heng Li [Wed, 1 Dec 2010 04:52:50 +0000 (04:52 +0000)]
fixed a memory leak in bam_fetch()

13 years ago * fixed a memory violation
Heng Li [Fri, 26 Nov 2010 05:07:31 +0000 (05:07 +0000)]
 * fixed a memory violation
 * added splitchr to vcfutils.pl

13 years agofixed a typo/bug in r^2 computation
Heng Li [Tue, 23 Nov 2010 14:05:08 +0000 (14:05 +0000)]
fixed a typo/bug in r^2 computation

13 years agoforget to change the version information
Heng Li [Mon, 22 Nov 2010 03:20:20 +0000 (03:20 +0000)]
forget to change the version information

13 years agoRelease samtools-0.1.11
Heng Li [Mon, 22 Nov 2010 03:16:52 +0000 (03:16 +0000)]
Release samtools-0.1.11

13 years ago * samtools-0.1.10-9 (r844)
Heng Li [Sat, 20 Nov 2010 04:16:08 +0000 (04:16 +0000)]
 * samtools-0.1.10-9 (r844)
 * added the "folded" or reference-free mode for variant calling

13 years agoIn merging, if -R is specified, do not abort if the sequence dictionary is different.
Heng Li [Sat, 20 Nov 2010 03:26:36 +0000 (03:26 +0000)]
In merging, if -R is specified, do not abort if the sequence dictionary is different.

13 years agoWhen merging BAM headers, compare the list of target reference sequences
On behalf of John Marshall [Sat, 20 Nov 2010 02:24:28 +0000 (02:24 +0000)]
When merging BAM headers, compare the list of target reference sequences
strictly (and fail/abort if there is a mismatch), but allow one list to be a
prefix of the other.  (i.e., check that the lists are identical up until the
shorter runs out, and add the excess targets from the longer to the output.)