-
Notifications
You must be signed in to change notification settings - Fork 6
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
f2s_child_worker::ERROR:Bad fast5:Fast5 file '***.fast5' could not be opened or is corrupted #139
Comments
Hi slow5tools will just terminate if an error is met. An error is different to a warning where it will proceed as normal. So answers are:
In this case, can you move this "./fast5/pass/186/W_003002_20180912_ch_261_strand.fast5" to somewhere outside the |
Thank you for your reply!Here is my bad fast5:
…---- Replied Message ----
| From | Hasindu ***@***.***> |
| Date | 11/27/2024 08:55 |
| To | ***@***.***> |
| Cc | ***@***.***>,
***@***.***> |
| Subject | Re: [hasindu2008/slow5tools] f2s_child_worker::ERROR:Bad fast5:Fast5 file '***.fast5' could not be opened or is corrupted (Issue #139) |
Hi
slow5tools will just terminate if an error is met. An error is different to a warning where it will proceed as normal. So answers are:
it will just terminate there and no more conversion will be done
yes, we need to eliminate this corrupted file and reconvert the rest. See below:
In this case, can you move this "./fast5/pass/186/W_003002_20180912_ch_261_strand.fast5" to somewhere outside the ./fast5 (maybe fast5_corrupted) and relaunch the conversion? Hopefully, this is just one single fast5 file that is corrupted. Also, can you share this W_003002_20180912_ch_261_strand.fast5 so we can investigate what is wrong with it?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Hi the fast5 wasn't attached I think. |
How can I fix this? I once tried to move the bad fast5 to somewhere else, but a new bad fast5 appeared.What should I do?Looking forward to hearing from you |
Hey, Is this a publicly available dataset that I can download and try? |
I try to use nanopolish index with it(fast5).
nanopolish index -d ./fast5/pass ./vir1_nanopore_drs_1.fastq
This happened:
could not open fast5 file ./***fast5
could not open fast5 file ./***fast5
could not open fast5 file ./***fast5
[readdb] num reads:1730254,num reads with path to fast5:549776
fast5 files could not be located for 1180478
I think this is a problem with the fast5 file itself. It seems to be because the fast5 file version is old.Just delete bad fast5. What do you think?
…---- Replied Message ----
| From | Hasindu ***@***.***> |
| Date | 12/11/2024 10:37 |
| To | ***@***.***> |
| Cc | ***@***.***>,
***@***.***> |
| Subject | Re: [hasindu2008/slow5tools] f2s_child_worker::ERROR:Bad fast5:Fast5 file '***.fast5' could not be opened or is corrupted (Issue #139) |
Hey,
Is this a publicly available dataset that I can download and try?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Hey, I found the script I once wrote to cleanup corrupted fast5 files for cases like this. You can rename the .txt file to be .sh. Then in the script change clean-crappy-single-fast5-aggressive.sh.txt The script is a short script and also copied below:
|
When I run
slow5tools f2s ./fast5/pass/ -d ./vir1_nanopore_drs_2 -p 10
I met the Error:
f2s_child_worker::ERROR:Bad fast5:Fast5 file './fast5/pass/186/W_003002_20180912_ch_261_strand.fast5' could not be opened or is corrupted.
First question: I want to know if bad fast5 will be ignored. The second question: Will this affect the subsequent extraction of m6A modification sites.Looking forward to your reply.
The text was updated successfully, but these errors were encountered: