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

Assertion failed: (f->e != 0) #1

Closed
karel-brinda opened this issue Sep 4, 2024 · 1 comment
Closed

Assertion failed: (f->e != 0) #1

karel-brinda opened this issue Sep 4, 2024 · 1 comment

Comments

@karel-brinda
Copy link

FIrst of all, big congrats for all this work!

I've made a little experiment with 600 bact genomes (./ropebwt3 build -t10 -bo bwt.fmr), which seemed to be constructed correctly.

However, when I run the stat command, I get:

$ ./ropebwt3 stat bwt.fmr
[M::mr_restore] ($, A, C, G, T, N) = (1490118, 791852006, 519124575, 519124575, 791852006, 160)
1490118 sequences
2623443440 symbols
Assertion failed: (f->e != 0), function rb3_fmi_get_r, file fm-index.c, line 573.
Abort trap: 6

System: OS X
Version: b033029

@lh3
Copy link
Owner

lh3 commented Sep 4, 2024

Due to my laziness, stat only works for the FMD encoding at the moment. You will need to convert FMR to FMD and then apply stat:

ropebwt3 build -i bwt.fmr -do bwt.fmd   # convert FMR to FMD
ropebwt3 stat bwt.fmd

I will keep this issue open until I implement stat for the FMR encoding as well.

@lh3 lh3 closed this as completed in 3539f20 Sep 5, 2024
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

3 participants
@lh3 @karel-brinda and others