HopedWall / rs-abPOA

Rust bindings for the abPOA partial order aligner
MIT License
9 stars 2 forks source link

Is there a crate at crate.io for this repository? #1

Open hangsuUNC opened 1 month ago

hangsuUNC commented 1 month ago

Hi,

Thanks for providing this tool. Is there a crate available to use this rust abPOA repository?

Thanks,

Hang

hangsuUNC commented 3 weeks ago

I was trying to run the consensus_from_seqs by using:

            let sequences: Vec<&str> = input_seq.iter().map(AsRef::as_ref).collect::<Vec<_>>();
            let mut aligner = unsafe { ab_poa::abpoa_wrapper::AbpoaAligner::new_with_example_params() };
            let consensus = unsafe {
                aligner.consensus_from_seqs(&sequences)

However, I got an 92284 segmentation fault when running this code. I was using bindgen "0.70.0". Could you please provide some suggestions about how to resolve this?

Thanks,

Hang