From cdfc39deb042660da95bf62d122bdff0a2d16802 Mon Sep 17 00:00:00 2001 From: Yan Gao Date: Mon, 15 Jan 2024 20:48:33 -0500 Subject: [PATCH] v1.5.1 --- README.md | 24 ++++++++++++------------ setup.py | 2 +- src/abpoa.c | 2 +- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index aa90126..258025f 100644 --- a/README.md +++ b/README.md @@ -8,15 +8,15 @@ [![Build Status](https://img.shields.io/travis/yangao07/abPOA/main.svg?label=Main)](https://travis-ci.org/yangao07/abPOA) [![License](https://img.shields.io/badge/License-MIT-black.svg)](https://github.com/yangao07/abPOA/blob/main/LICENSE) -## Updates (v1.5.0) +## Updates (v1.5.1) -- Fix memory allocation bug for local alignment mode +- Fix a memory allocation bug caused by int overflow when memery is large (>4G) ## Getting started Download the [latest release](https://github.com/yangao07/abPOA/releases): ``` -wget https://github.com/yangao07/abPOA/releases/download/v1.5.0/abPOA-v1.5.0.tar.gz -tar -zxvf abPOA-v1.5.0.tar.gz && cd abPOA-v1.5.0 +wget https://github.com/yangao07/abPOA/releases/download/v1.5.1/abPOA-v1.5.1.tar.gz +tar -zxvf abPOA-v1.5.1.tar.gz && cd abPOA-v1.5.1 ``` Make from source and run with test data: ``` @@ -34,7 +34,7 @@ abpoa ./test_data/seq.fa > cons.fa ## Table of Contents - [abPOA: adaptive banded Partial Order Alignment](#abpoa-adaptive-banded-partial-order-alignment) - - [Updates (v1.5.0)](#updates-v150) + - [Updates (v1.5.1)](#updates-v151) - [Getting started](#getting-started) - [Table of Contents](#table-of-contents) - [Introduction](#introduction) @@ -92,9 +92,9 @@ You can also build abPOA from source files. Make sure you have gcc (>=6.4.0) and zlib installed before compiling. It is recommended to download the [latest release](https://github.com/yangao07/abPOA/releases). ``` -wget https://github.com/yangao07/abPOA/releases/download/v1.5.0/abPOA-v1.5.0.tar.gz -tar -zxvf abPOA-v1.5.0.tar.gz -cd abPOA-v1.5.0; make +wget https://github.com/yangao07/abPOA/releases/download/v1.5.1/abPOA-v1.5.1.tar.gz +tar -zxvf abPOA-v1.5.1.tar.gz +cd abPOA-v1.5.1; make ``` Or, you can use `git clone` command to download the source code. This gives you the latest version of abPOA, which might be still under development. @@ -106,13 +106,13 @@ cd abPOA; make ### Pre-built binary executable file for Linux/Unix or MacOS If you meet any compiling issue, please try the pre-built binary file for linux: ``` -wget https://github.com/yangao07/abPOA/releases/download/v1.5.0/abPOA-v1.5.0_x64-linux.tar.gz -tar -zxvf abPOA-v1.5.0_x64-linux.tar.gz +wget https://github.com/yangao07/abPOA/releases/download/v1.5.1/abPOA-v1.5.1_x64-linux.tar.gz +tar -zxvf abPOA-v1.5.1_x64-linux.tar.gz ``` or for macos: ``` -wget https://github.com/yangao07/abPOA/releases/download/v1.5.0/abPOA-v1.5.0_arm64-macos.tar.gz -tar -zxvf abPOA-v1.5.0_arm64-macos.tar.gz +wget https://github.com/yangao07/abPOA/releases/download/v1.5.1/abPOA-v1.5.1_arm64-macos.tar.gz +tar -zxvf abPOA-v1.5.1_arm64-macos.tar.gz ``` ## General usage diff --git a/setup.py b/setup.py index da85f21..52c0e7e 100644 --- a/setup.py +++ b/setup.py @@ -60,7 +60,7 @@ description = "pyabpoa: SIMD-based partial order alignment using adaptive band", long_description = long_description, long_description_content_type="text/markdown", - version = "1.5.0", + version = "1.5.1", url = "https://github.com/yangao07/abPOA", author = "Yan Gao", author_email = "gaoy1@chop.edu", diff --git a/src/abpoa.c b/src/abpoa.c index bf7ccd7..64105c1 100644 --- a/src/abpoa.c +++ b/src/abpoa.c @@ -16,7 +16,7 @@ char PROG[20] = "abpoa"; #define _bO BOLD UNDERLINE "O" NONE #define _bA BOLD UNDERLINE "A" NONE char DESCRIPTION[100] = _ba "daptive " _bb "anded " _bP "artial " _bO "rder " _bA "lignment"; -char VERSION[20] = "1.5.0"; +char VERSION[20] = "1.5.1"; char CONTACT[30] = "gaoy1@chop.edu"; const struct option abpoa_long_opt [] = {