Commit Graph

913 Commits (9f26bfcc7780753129b60717ecab0ebba6f04b7c)

Author SHA1 Message Date
Heng Li 9f26bfcc77 Released bwa-0.7.17 (r1188) 2017-10-23 13:10:17 -04:00
Heng Li b582816211 r1187: a typo in command line help 2017-09-26 09:35:19 -04:00
Heng Li 340babdd67 r1185: don't lower supp mapq with -5 2017-09-11 09:58:41 -04:00
Heng Li a9c688ac92 r1181: fixed a segfault (#145) due to (#138) 2017-07-31 07:55:35 -04:00
Heng Li 47d9fb27d7 Release 0.7.16-r1180 2017-07-30 22:35:38 -04:00
Heng Li 5d15c8b09f Merge pull request #129 from lexentbio/bwakit_fix_sort
Fix output file parameter for samtools sort
2017-07-30 19:14:09 -04:00
Heng Li 950ea8cf40 Merge pull request #138 from nh13/nh_mem_mate_cigar
Mem should set the mate cigar tag.
2017-07-30 19:05:47 -04:00
Heng Li 83260ccb10 Merge pull request #60 from jdagilliland/typo
Typos, doc improvements in man page
2017-07-30 18:59:11 -04:00
Heng Li 1eee77ad93 Merge pull request #84 from jblachly/readgroupfix
Forbid literal TAB control characters in @RG line
2017-07-30 18:56:39 -04:00
Heng Li 24a8d66481 removed drone.io 2017-07-30 18:49:06 -04:00
Heng Li 89a5c0c5c8 moved BWTFree() into BWTIncFree()
BWTFree() is not for build. Only BWTIncFree() is needed.
2017-07-30 18:47:03 -04:00
Heng Li 0976272d99 Merge pull request #139 from jmarshall/fixes
Various collected fixes (updated versions of several existing PRs)
2017-07-30 18:36:07 -04:00
Heng Li a54e76945e Merge pull request #70 from rmzelle/patch-1
Update README.md
2017-07-30 17:01:27 -04:00
Heng Li 31bf49d814 Merge pull request #96 from jpfeil/master
Add -M option to run-bwamem
2017-07-30 16:57:30 -04:00
Heng Li 498973642f Merge pull request #123 from bwlang/patch-1
updates grch38 URL
2017-07-30 16:55:39 -04:00
Heng Li 87ed015b24 Merge pull request #141 from jmarshall/bwasw-nan
Fail to infer insert size distribution when no pairs are within boundaries (re issue 108)
2017-07-30 16:53:04 -04:00
Andreas Tille c56c2e4677 Several trivial Debian patches
[Andreas Tille]
Check exact number of arguments of bwtupdate
Fix spelling

[Fabian Klötzl]
change printing as size_t is unsigned
2017-07-04 21:24:15 +01:00
Nils Homer 3b96dcee7f Mem should set the mate cigar tag. 2017-07-03 08:51:00 -07:00
John Marshall bcb475cd03 In bsw2_stat(), fail to infer when no pairs are within boundaries
Just as we set r.failed and return early if there are no high-quality
read pairs at all, also do so if there are none within the calculated
boundaries.  This avoids returning avg=NAN std=NAN, which leads to
malloc(INFINITY) and a crash; fixes #108.
2017-07-03 13:42:11 +01:00
John Marshall 690649872b Copy the whole kstring_t even if it contains NULs
FASTQ files containing NULs are invalid but should not cause bwa to
crash, as it does if the quality line contains a NUL.  Fixes #122.
2017-06-30 12:46:56 +01:00
John Marshall a61b1dc610 Expand tot_seqs variable to long long
This counter is only used in a log message.  Fixes #131.
2017-06-29 15:36:46 +01:00
Rintze M. Zelle 5ede7eb981 Update README.md
Correct header formatting, fix some typos in headers
2017-06-28 12:07:27 +01:00
John Marshall bc58bf265d Add "bwa mem -o FILE" synonym and documentation
As -o is still free in the mem command, use that standard option to
specify an output file (and keep -f to parallel bwase/bwape commands).
Document it in the usage and man page.
2017-06-27 17:05:44 +01:00
José Manuel Abuín Mosquera d28da05f36 Added option to write output to file 2017-06-27 16:47:13 +01:00
John Marshall ab3a92bc73 Prevent Clang warnings on abs() and fabs() calls
In the bwa.c and bwase.c calls, rlen is an int64_t returned from
bns_get_seq() and is the number of reference bases covered by the
alignment; l_query/len is an int and the query length of the alignment;
and the result is an int given to an int parameter of ksw_global[2]().

As even the result is int and as rlen is effectively bounded by the
maximum length of a reference sequence, we maintain the status quo in
this code and simply cast rlen to int to silence Clang's "use llabs()"
(llabs() would not be a great answer given an int64_t anyway).

The bwtsw2_pair.c call needs to remain fabs() so both divisions are
done in floating point; cast to double to prevent Clang suggesting
changing the call to integer abs().
2017-06-26 10:45:13 +01:00
Heng Li 05c501332c Merge branch 'dev' 2017-06-08 16:06:37 -04:00
Heng Li 298284d754 r1144: output debugging message to stderr 2017-06-08 16:06:13 -04:00
Ram Yalamanchili 7a77cc4785 Fix output file parameter for samtools sort
samtools sort v0.7.15+ requires -o flag to specify the output file
2017-05-18 15:42:25 -07:00
Gwen Ives 6a5caf764f Fixed BWTIncFree() memory leaks
[Based on PR #37 with the additions below.]

Don't free non-malloced items in BWTFree().  If BWTCreate() is ever
called with a non-NULL decodeTable, BWTFree() will need to not free
decodeTable -- see FIXME comment.

Close packedFile in BWTIncConstructFromPacked() in the normal case.
Ignore it in error cases, as they immediately call exit() anyway.
2017-05-12 16:34:57 +01:00
John Marshall 1972a97813 Only realloc(pac,...) if it needs to be made larger
Similarly to the realloc(pac,...) within add1(), only bother to call
realloc() if appending the reverse complemented sequence requires more
space than is currently in the pac/m_pac buffer.

Avoids realloc(pac,0) (and a "Failed to allocate 0 bytes at bntseq.c"
message from wrap_realloc()) in the corner case of an empty reference
FASTA file.  Fixes #54.
2017-05-10 19:47:12 +01:00
Brad Langhorst 6442d009cd updates grch38 URL
simple URL update for grch38
fixes #111, #115
grch37 link is still valid
2017-04-27 08:40:48 -04:00
John Marshall beff2e27f8 Add missing <stdint.h> include
Fixes compilation on non-glibc platforms, e.g., FreeBSD and Alpine Linux.
2017-04-25 13:54:31 +01:00
John Marshall af87825525 Replace u_int32_t by the more common uint32_t
The u_int32_t type comes from <sys/types.h>, which is often included
as a byproduct of other headers on glibc platforms, but not on FreeBSD
or Alpine Linux.  Use <stdint.h>'s uint32_t instead, which is used
elsewhere in bwa source code.
2017-04-25 13:51:52 +01:00
Jacob Pfeil 9dfb9708db Add -M option to bwakit 2016-11-09 11:36:55 -08:00
James Blachly 8cc02badd9 Forbid literal TAB control characters in @RG line 2016-08-09 17:05:51 -04:00
Rintze M. Zelle 00e59ddbae Update README.md
Correct header formatting, fix some typos in headers
2016-06-10 11:15:53 -04:00
Heng Li 5961611c35 Merge branch 'dev' 2016-05-31 11:02:54 -04:00
Heng Li f123871451 r1142: added option -5 for Hi-C data 2016-05-31 11:01:36 -04:00
Heng Li 08764215c6 Merge branch 'dev' 2016-05-31 09:43:16 -04:00
Heng Li 850dd811fc Release bwa-0.7.15-r1140 2016-05-31 09:42:50 -04:00
Heng Li bdfb9efaaa Merge branch 'dev' 2016-05-20 18:06:03 -04:00
Heng Li 58bcc251f2 r1138: fixed typo in insert size estimate (#65)
credit to @sjackman
2016-05-20 18:05:15 -04:00
Heng Li ee730f3832 Merge branch 'dev' 2016-05-04 14:41:53 -04:00
Heng Li 5db0c362f5 Release 0.7.14-r1136 2016-05-04 14:41:37 -04:00
Heng Li fe545f6ad5 Merge branch 'dev' 2016-05-03 11:29:43 -04:00
Heng Li 7ec3261877 r1134: use AH:* instead of AH:Y 2016-05-03 11:28:58 -04:00
Heng Li 6b9be61666 Merge branch 'master' of github.com:lh3/bwa 2016-04-28 15:40:57 -04:00
Heng Li d668311f37 Merge branch 'dev' 2016-04-28 15:39:58 -04:00
Heng Li 3c038250f9 r1130: changed "ah" to "AH" 2016-04-28 15:39:18 -04:00
Jason Gilliland d6636daead Include in man page info on read types
Previously this info had only been present in the help text emitted from
`bwa mem` without arguments, but I think it helpful to include in man page.
2016-03-31 12:40:09 -04:00