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

MotifSeq read error #26

Open
obehrto opened this issue Dec 9, 2019 · 3 comments
Open

MotifSeq read error #26

obehrto opened this issue Dec 9, 2019 · 3 comments
Assignees
Labels
enhancement New feature or request multi-fast5

Comments

@obehrto
Copy link

obehrto commented Dec 9, 2019

Hi,

if I try to run MotifSeq on a folder of .fast5 files I get the following error:

Traceback (most recent call last):
File "MotifSeq.py", line 339, in process_fast5
c = list(hdf['Raw/Reads'].keys())
File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
File "/home/ole/.local/lib/python2.7/site-packages/h5py/_hl/group.py", line 264, in getitem
oid = h5o.open(self.id, self._e(name), lapl=self._lapl)
File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
File "h5py/h5o.pyx", line 190, in h5py.h5o.open
KeyError: 'Unable to open object (component not found)'
process_fast5():failed to extract events or fastq from: /media/sf_ONT/fast5_pass/FAL13819_42bda39cad99b93a371765a98b14b09ee42f3f16_0.fast5
main():data not extracted. Moving to next file - /media/sf_ONT/fast5_pass/FAL13819_42bda39cad99b93a371765a98b14b09ee42f3f16_0.fast5

This message is repeated for each file in the directory. Running MotifSeq with the provided example files works perfectly. Is this due to my files being multifast5 files?

Best,

Ole

@Psy-Fer
Copy link
Owner

Psy-Fer commented Dec 9, 2019

Hello,

Ahh, yes. I need to push the latest update with multi fast5 support for that.

I'm at a conference the next 2 days, I'll try and find the time to get it updated.

James

@Psy-Fer Psy-Fer self-assigned this Dec 9, 2019
@Psy-Fer Psy-Fer added enhancement New feature or request multi-fast5 labels Dec 9, 2019
@obehrto
Copy link
Author

obehrto commented Dec 10, 2019

James,

thank you so much. Looking forward to the update. Keep up the great work!

Best,

Ole

@Psy-Fer
Copy link
Owner

Psy-Fer commented Nov 30, 2020

Mutli-fast5 support will be released in the next few weeks, however if you use SquigglePull on the multi-fast5 file with the multi-fast5 command on --multi , then use MotifSeq on the squiggle file, that should work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request multi-fast5
Projects
None yet
Development

No branches or pull requests

2 participants