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

pgr-mdb fails with agc v3.0 compressed sequences. #31

Open
bkille opened this issue Feb 26, 2024 · 1 comment
Open

pgr-mdb fails with agc v3.0 compressed sequences. #31

bkille opened this issue Feb 26, 2024 · 1 comment

Comments

@bkille
Copy link

bkille commented Feb 26, 2024

The indexing step fails immediately w/ the following:

$ ./release/pgr-mdb --version
pgr-mdb pgr-bin 0.5.1 (bioconda release build, linux [x86_64] [rustc 1.70.0 (90c541806 2023-05-31)])

$ echo hsap.chr1.agc > filelist

$ ./release/pgr-mdb filelist hsap.chr1
Reading AGC file using the AGC library writing in C can cause segmentation fault if wrong file type or corrupted AGC file is provided. If you see segmentation fault, please make sure you have a proper AGC file specified as the input file.
Segmentation fault (core dumped)

However, if I recreate the .agc file with v2.0 of agc, it runs just fine.

@cschin
Copy link
Contributor

cschin commented Feb 29, 2024

@bkille Thanks. BTW, I can't modify this repo and only check it from time to time.
please use this https://github.com/cschin/pgr-tk for the future. When I get a chance, I will look into AGC3.0 to see what is the issue and change PGR-TK to use it.

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

2 participants