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

KMC yields an error on fixed width fasta files #214

Open
mesti90 opened this issue Apr 26, 2023 · 4 comments
Open

KMC yields an error on fixed width fasta files #214

mesti90 opened this issue Apr 26, 2023 · 4 comments

Comments

@mesti90
Copy link

mesti90 commented Apr 26, 2023

I tried to run kmc (version 3.2.2) on fasta files downloaded from the NCBI ftp server.
The program gave only the following error message:
Error: unknown exception

After many hours I tried to change the fasta file from fixed width to one-line sequence format, and kmc finally worked.
Please add (1) a meaningful error message (2) support for fixed width fasta files

@marekkokot
Copy link
Contributor

Hi,
thank you.
The error message should definitely be more informative. I think I have a fix for this, but this is not in the public version yet.
fixed-width fasta (or multif-asta) is handled in kmc with -fm switch. I guess you were using -fa. If no, please let me know what was your input file and the exact command line to run KMC.
Thanks again for reporting this and using KMC!

@mesti90
Copy link
Author

mesti90 commented Apr 26, 2023

@marekkokot Thank you for your quick answer. I used the -fa switch, thanks for the info.

@marekkokot
Copy link
Contributor

Great, thanks. I will keep this issue opened until I fix the error message.

@yeeus
Copy link

yeeus commented Sep 24, 2023

I also encountered this problem and after using -fm it's cool to get the right result

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