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 #4

Open
cjain7 opened this issue May 16, 2022 · 1 comment
Open

Segmentation fault #4

cjain7 opened this issue May 16, 2022 · 1 comment

Comments

@cjain7
Copy link

cjain7 commented May 16, 2022

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
Copy link
Author

cjain7 commented May 16, 2022

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.

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