block-aligner 0.1.4

SIMD-accelerated library for computing global and X-drop affine gap sequence alignments using an adaptive block-based algorithm.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use cbindgen;

use std::env;

fn main() {
    if env::var("BLOCK_ALIGNER_C").is_ok() {
        let crate_dir = env::var("CARGO_MANIFEST_DIR").unwrap();
        cbindgen::generate(&crate_dir)
            .unwrap()
            .write_to_file(format!("{}/c/block_aligner.h", crate_dir));
    }
}