10 unstable releases (3 breaking)

new 0.3.7 Mar 7, 2025
0.3.5 Mar 7, 2025
0.2.1 Mar 7, 2025
0.1.1 Nov 1, 2024
0.0.1 Oct 31, 2024

#111 in FFI

Download history 4/week @ 2024-11-18 72/week @ 2024-12-02 109/week @ 2024-12-09 24/week @ 2024-12-16 19/week @ 2024-12-23 15/week @ 2024-12-30 24/week @ 2025-01-06 8/week @ 2025-01-13 2/week @ 2025-02-03 1/week @ 2025-02-10 766/week @ 2025-03-03

767 downloads per month

MIT license

37MB
470K SLoC

C 467K SLoC // 0.0% comments Rust 2.5K SLoC // 0.0% comments Shell 230 SLoC // 0.1% comments Python 93 SLoC // 0.2% comments

rust binding for abpoa

abpoa v1.5.3

Basic Usage:

use rsabpoa::abpoa::{msa, AbpoaParam};


fn main() {
    let align_param = AbpoaParam::default();
    let seqs = vec!["AAC", "AC", "C"];
    let res = msa(&align_param, &seqs).unwrap();
    res.print_msa();
}

if you can't build rsabpoa, try install the following libs

apt-get update
apt-get install build-essential make libz-dev clang 

just a memo: I am using the following command to automatically generate the src/abpoa_sys.rs.

cargo install bindgen-cli
bindgen abPOA-v1.5.3/include/abpoa.h -o src/abpoa_sys.rs --allowlist-function 'abpoa.*'

Dependencies

~29–42MB
~670K SLoC