jts / nanopolish

Signal-level algorithms for MinION data
MIT License
559 stars 159 forks source link

Error getting group name size #1089

Open gsukrit opened 1 year ago

gsukrit commented 1 year ago

Hi,

I was trying out the nanopolish index which consistently gave me the error as follows:

[readdb] indexing /DATA/BioLab/Sukriti/PF_FAS70460_IIT/ACD_pass_FAST5/barcode02/ error getting group name size

I had barcoded 3 samples in the run and the same command worked fine on barcode01 and barcode03.

I also tried converting the faast5 to slow5 as suggested by people in earlier issues without any luck.

Any help on the same will be appreciated.

Thanks, Sukriti

jts commented 1 year ago

Hm, if it worked on barcode01 and barcode 03 it might mean the fast5 for barcode02 is corrupted somehow. Perhaps try to identify which fast5 doesn't work?

hasindu2008 commented 1 year ago

@gsukrit when converting from fast5>blow5, it should print to the stderr which file gives this error getting group name size. If you put the log from slow5tools f2s, I can pinpoint which file it is. Once you remove that file, reindex with nanopolish and execute it works in most cases (unless more files are corrupted, for which you can repeat this process).

gsukrit commented 1 year ago

Hi,

Can you please let me know how to identify which of the fast5 is corrupted? I am using the fast5 directory of the reads classified under the "pass'' folder after the base calling.

Thanks, Sukriti

On Fri, Jun 16, 2023 at 8:44 PM Jared Simpson @.***> wrote:

Hm, if it worked on barcode01 and barcode 03 it might mean the fast5 for barcode02 is corrupted somehow. Perhaps try to identify which fast5 doesn't work?

— Reply to this email directly, view it on GitHub https://github.com/jts/nanopolish/issues/1089#issuecomment-1594854794, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATOY3FGIBP2ODATS2P2YTP3XLRZ47ANCNFSM6AAAAAAZEVGDBY . You are receiving this because you authored the thread.Message ID: @.***>

-- Sukriti Gujarati PhD Scholar, Department of Biological Sciences, BITS Pilani, Rajasthan, India

-- The information contained in this electronic communication is intended solely for the individual(s) or entity to which it is addressed. It may contain proprietary, confidential and/or legally privileged information. Any review, retransmission, dissemination, printing, copying or other use of, or taking any action in reliance on the contents of this information by person(s) or entities other than the intended recipient is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us by responding to this email or telephone and immediately and permanently delete all copies of this message and any attachments from your system(s). The contents of this message do not necessarily represent the views or policies of BITS Pilani.

hasindu2008 commented 1 year ago

@gsukrit Could you do a slow5tools f2s fast5_directory -d slow5 and copy paste the log messages?