Skip to content

Segmentation fault #2

@hangsuUNC

Description

@hangsuUNC

Hi,

I was trying to use this crate to compute the consensus sequences of a few sequences. Here is the code that I used:

            let sequences: Vec<&str> = [
                    "CGTCAAT",
                    "CCACGTCAAT",
                    "CGTCAAT",
                    "CGTCAATGCTA",
                ].to_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 17275 segmentation fault when run this code. I updated the bindgen to 0.70.0 to be compatible to the current version.

Could you please provide some suggestions how to resolve this?

Thanks,

Hang

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions