4 releases
0.1.1 | Mar 25, 2025 |
---|---|
0.1.0 |
|
0.0.3 | Mar 24, 2025 |
0.0.2 | Mar 23, 2025 |
0.0.1 | Mar 23, 2025 |
#225 in Biology
397 downloads per month
4MB
3K
SLoC
let query = b"elephant";
let target = b"telephone";
let mut param = EdlibAlignParam::default();
// param.set_mode(param::AlignMode::Global);
param.set_task(param::AlignTask::Path);
param.set_cigar_fmt(param::CigarFmt::Extended);
let aln_res = edlib_align(query, target, ¶m);
println!("{:?}", aln_res);
/*
Ok(EdlibAlignResult { edit_distance: 3, alphabet_length: 8, locations: [(0, 8)], cigar: Some("1D5=1X1=1X") })
*/