Skip to content

abpoa_add_graph_sequence assert(0) on zero-length input → Python process aborts #87

Description

@Goatofmountain

Hello !
I got following error when I'm trying to use abPOA algorithm.

When any sequence in the input list has length 0, abPOA prints
[abpoa_add_graph_sequence] seq_l: 0 start: 0 end: 0.
and then immediately causes the whole Python interpreter to abort.
From the user side the shell prompt simply disappears; no Python exception is raised and no partial result is returned.

Here is the Minimal reproducible example:

import pyabpoa as pa
seqs = ['', 'ACG', '', '','', 'ATCG']          # first sequence is empty
aligner = pa.msa_aligner()
aligner.msa(seqs, out_cons=False, out_msa=True)   # <-- process dies here

Then the console output stops after the debug line above.

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