Skip to content

Commit 22b3950

Browse files
committed
>2 consensus
1 parent 8a3d7d2 commit 22b3950

5 files changed

Lines changed: 609 additions & 544 deletions

File tree

README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,10 @@
88
[![C/C++ CI](https://github.com/yangao07/abPOA/actions/workflows/linux-CI.yml/badge.svg)](https://github.com/yangao07/abPOA/actions/workflows/linux-CI.yml)
99
[![C/C++ CI](https://github.com/yangao07/abPOA/actions/workflows/macos-CI.yml/badge.svg)](https://github.com/yangao07/abPOA/actions/workflows/macos-CI.yml)
1010
[![License](https://img.shields.io/badge/License-MIT-black.svg)](https://github.com/yangao07/abPOA/blob/main/LICENSE)
11-
## Updates (v1.5.4)
11+
## Updates (v1.5.5)
1212

13-
* Add SIMD dispatch
14-
* Fix pyabpoa installation error in python 3.13 (#81)
15-
* More robust 2-consensus mode (used in [longcallD](https://github.com/yangao07/longcallD))
16-
* Available with `brew install abpoa` on macOS
13+
* Allow >2 consensus sequences (#73) (may be buggy)
14+
* Fix a bug regarding cluster read IDs (#85)
1715

1816
## Getting started
1917
Download the [latest release](https://github.com/yangao07/abPOA/releases):
@@ -37,7 +35,7 @@ abpoa ./test_data/seq.fa > cons.fa
3735
## Table of Contents
3836

3937
- [abPOA: adaptive banded Partial Order Alignment](#abpoa-adaptive-banded-partial-order-alignment)
40-
- [Updates (v1.5.4)](#updates-v154)
38+
- [Updates (v1.5.5)](#updates-v155)
4139
- [Getting started](#getting-started)
4240
- [Table of Contents](#table-of-contents)
4341
- [Introduction](#introduction)

src/abpoa.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,8 +217,8 @@ int main(int argc, char **argv) {
217217

218218
case 'a': abpt->cons_algrm = atoi(optarg); break;
219219
case 'd': abpt->max_n_cons = atoi(optarg);
220-
if (abpt->max_n_cons < 1 || abpt->max_n_cons > 2) {
221-
err_printf("Error: max number of consensus sequences should be 1 or 2.\n");
220+
if (abpt->max_n_cons < 1 || abpt->max_n_cons > 10) {
221+
err_printf("Error: max number of consensus sequences should be 1~10.\n");
222222
return 1;
223223
}
224224
break;

0 commit comments

Comments
 (0)