3 unstable releases

new 0.1.1 Nov 1, 2024
0.1.0 Oct 31, 2024
0.0.1 Oct 31, 2024

#93 in FFI

Download history

56 downloads per month

MIT license

37MB
469K SLoC

C 467K SLoC // 0.0% comments Rust 1.5K SLoC // 0.0% comments Cython 329 SLoC // 0.1% comments Shell 230 SLoC // 0.1% comments Python 146 SLoC // 0.3% 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