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
56 downloads per month
37MB
469K
SLoC
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.*'