Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segmentation fault #2

Open
hangsuUNC opened this issue Aug 21, 2024 · 0 comments
Open

Segmentation fault #2

hangsuUNC opened this issue Aug 21, 2024 · 0 comments

Comments

@hangsuUNC
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant