rsabpoa

Crates.iorsabpoa
lib.rsrsabpoa
version0.1.1
sourcesrc
created_at2024-10-31 15:47:59.072175
updated_at2024-11-01 01:36:37.096412
descriptionabpoa rust binding
homepage
repositoryhttps://github.com/keithyin/rsabpoa
max_upload_size
id1430272
size43,566,453
kethyin (keithyin)

documentation

README

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.*'
Commit count: 16

cargo fmt