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

[slow5_get_next_mem::ERROR] Failed to allocate memory: Cannot allocate memory At src/slow5.c:3265 #142

Open
Tang-pro opened this issue Jan 12, 2025 · 2 comments

Comments

@Tang-pro
Copy link

Tang-pro commented Jan 12, 2025

@hasindu2008

Hi, I converted the POD5 file to BLOW5 using the command: blue-crab p2s subset_by_run_id -d blow5 -t 20
Then, I merged the files using: slow5tools merge blow5 -o Y1_5_2.blow5 -c zstd -s svb-zd
However, I encountered the following error:
image

Other samples were merged successfully, but this one keeps showing the same error.
What could be the cause of this issue?
Even if I increase the memory, it still doesn't work

@hasindu2008
Copy link
Owner

Hello

Did the conversion of pod5->blow5 using blue-crab give any warnings?

Could you check if the two BLOW5 files inside the blow5/ directory are complete blow5 files by running a command like
slow5tools quickcheck blow5/file.blow5?

For example if there are two files file1.blow5 and file2.blow5 inside blow5/, please run

slow5tools quickcheck blow5/file1.blow5
slow5tools quickcheck blow5/file2.blow5
``
andlet me know if it returns any errors?

@Tang-pro
Copy link
Author

@hasindu2008

Sorry, It was an error in the conversion process. I only saw that the operation was successful, but the conversion was not completed.

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