astarix icon indicating copy to clipboard operation
astarix copied to clipboard

Segmentation fault

Open cjain7 opened this issue 2 years ago • 1 comments

Hello,

I wish to test astarix on small test data available in minigraph repository. The graph is in GFA format with zero overlaps.

For this, I ran the following command:

./astarix align-optimal -g MT.gfa -q MT-human.fa -o $PWD

I get the following output:

$ ./astarix --verbose=2 align-optimal -g MT.gfa -q MT-human.fa -o $PWD
----
Assert() checks:       ON
        verbose:        2
----
Loading reference graph... astarix: ext/GraphAligner/GfaGraph.cpp:172: static GfaGraph GfaGraph::LoadFromFile(std::string): Assertion `overlap >= 0' failed.
Aborted

Can you please check and suggest what may be going wrong? I've pulled the latest code from master branch for this. When I run the code without assert checks, it returns segmentation fault.

Thanks in advance.

cjain7 avatar May 16 '22 08:05 cjain7

On looking deeper into the code, it seems that the external code in your GraphAligner folder is not in sync with the latest GraphAligner code. If this can be done, this issue will be resolved.

cjain7 avatar May 16 '22 08:05 cjain7