Skip to content

Commit b92993c

Browse files
committed
Release bwa-0.7.19 (r1273)
1 parent c232375 commit b92993c

File tree

6 files changed

+51
-27
lines changed

6 files changed

+51
-27
lines changed

.github/workflows/ci.yaml

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -20,27 +20,27 @@ jobs:
2020
- name: Compile with ${{ matrix.compiler }}
2121
run: make CC=${{ matrix.compiler }}
2222

23-
# build-aarch64:
24-
# runs-on: ubuntu-latest
25-
# strategy:
26-
# matrix:
27-
# compiler: [gcc, clang]
28-
#
29-
# steps:
30-
# - name: Checkout bwa
31-
# uses: actions/checkout@v3
32-
#
33-
# - name: Compile with ${{ matrix.compiler }}
34-
# uses: uraimo/run-on-arch-action@v2
35-
# with:
36-
# arch: aarch64
37-
# distro: ubuntu20.04
38-
# githubToken: ${{ github.token }}
39-
# dockerRunArgs: |
40-
# --volume "${PWD}:/bwa"
41-
# install: |
42-
# apt-get update -q -y
43-
# apt-get install -q -y make ${{ matrix.compiler }} zlib1g-dev
44-
# run: |
45-
# cd /bwa
46-
# make CC=${{ matrix.compiler }}
23+
build-aarch64:
24+
runs-on: ubuntu-latest
25+
strategy:
26+
matrix:
27+
compiler: [gcc, clang]
28+
29+
steps:
30+
- name: Checkout bwa
31+
uses: actions/checkout@v3
32+
33+
- name: Compile with ${{ matrix.compiler }}
34+
uses: uraimo/run-on-arch-action@v2
35+
with:
36+
arch: aarch64
37+
distro: ubuntu20.04
38+
githubToken: ${{ github.token }}
39+
dockerRunArgs: |
40+
--volume "${PWD}:/bwa"
41+
install: |
42+
apt-get update -q -y
43+
apt-get install -q -y make ${{ matrix.compiler }} zlib1g-dev
44+
run: |
45+
cd /bwa
46+
make CC=${{ matrix.compiler }}

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CC= gcc
22
#CC= clang --analyze
3-
CFLAGS= -g -Wall -Wno-unused-function -O2
3+
CFLAGS= -g -Wall -Wno-unused-function -O3
44
WRAP_MALLOC=-DUSE_MALLOC_WRAPPERS
55
AR= ar
66
DFLAGS= -DHAVE_PTHREAD $(WRAP_MALLOC)

NEWS.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
Release 0.7.19 (22 March 2025)
2+
------------------------------
3+
4+
Notable changes:
5+
6+
* Bugfix: internal `@HD` lines. The bug was introduced in 0.7.18.
7+
* Merged #414, #391, #346, #312, #311, #308, #291, #288, #286 and #212
8+
9+
BWA produces alignments identical to v0.7.17 and v0.7.18.
10+
11+
(0.7.19: 22 March 2025, r1273)
12+
13+
14+
115
Release 0.7.18 (14 April 2024)
216
------------------------------
317

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ do not have plan to submit it to a peer-reviewed journal in the near future.
8383
5. [How can a BWA-backtrack alignment stands out of the end of a chromosome?](#endref)
8484
6. [Does BWA work with ALT contigs in the GRCh38 release?](#altctg)
8585
7. [Can I just run BWA-MEM against GRCh38+ALT without post-processing?](#postalt)
86+
8. [Why does BWA use a lot of memory?](#largemem)
8687

8788
#### <a name="type"></a>1. What types of data does BWA work with?
8889

@@ -163,8 +164,17 @@ post-processing helps to reduce false mappings caused by reads from the
163164
diverged part of ALT contigs and also enables HLA typing. It is recommended to
164165
run the post-processing script.
165166

167+
### <a name="largemem"></a>8. Why does BWA use a lot of memory?
166168

169+
This is typically caused by FASTQ generated from a coordinate-sorted BAM.
170+
BWA uses a lot more memory for centromeric reads than for unique reads.
171+
In a FASTQ file generated from a sequencing run, centromeric reads are rare in each batch and rarely cause troubles.
172+
However, in a coordinate-sorted FASTQ file, a whole batch could consist of centromeric reads.
173+
Such a batch will take a lot more memory and time to map; the insert size estimate will be distorted as well.
174+
General rule: ***NEVER*** use Picard SamToFastq on coordiate-sorted BAM;
175+
use samtools [collate+fastq][remap] instead.
167176

177+
[remap]: https://lh3.github.io/2021/07/06/remapping-an-aligned-bam
168178
[1]: http://en.wikipedia.org/wiki/GNU_General_Public_License
169179
[2]: https://github.com/lh3/bwa
170180
[3]: http://sourceforge.net/projects/bio-bwa/files/

bwa.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.TH bwa 1 "14 April 2023" "bwa-0.7.18-r1243" "Bioinformatics tools"
1+
.TH bwa 1 "22 March 2025" "bwa-0.7.19-r1273" "Bioinformatics tools"
22
.SH NAME
33
.PP
44
bwa - Burrows-Wheeler Alignment Tool

main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
#include "utils.h"
3131

3232
#ifndef PACKAGE_VERSION
33-
#define PACKAGE_VERSION "0.7.18-r1272-dirty"
33+
#define PACKAGE_VERSION "0.7.19-r1273"
3434
#endif
3535

3636
int bwa_fa2pac(int argc, char *argv[]);

0 commit comments

Comments
 (0)