Crates.io | rsabpoa |
lib.rs | rsabpoa |
version | 0.1.1 |
source | src |
created_at | 2024-10-31 15:47:59.072175 |
updated_at | 2024-11-01 01:36:37.096412 |
description | abpoa rust binding |
homepage | |
repository | https://github.com/keithyin/rsabpoa |
max_upload_size | |
id | 1430272 |
size | 43,566,453 |
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.*'