pod5-file-format
pod5-file-format copied to clipboard
pod5 convert fast5 error, currently using python 3.10 and singularity 3.10.4
Attempted to convert one fast5 file to test pod5 functionality on our current system
Used standard convertfast5 command and then used the POD5_DEBUG=1 additional to generate additional a log that I'm sharing here. I'm hoping it is something silly like I have an older version of python also loaded and that might be interfering.
Logs
Singularity> pod5 convert fast5 PAW59116_pass_2cfaf0b1_98202c91_9986.fast5 --output converted9986.pod5
An unexpected error occurred: getrandom
Converting 1 Fast5s: 0%| | 0/4000 [00:03<?, ?Reads/s]
POD5 has encountered an error: 'getrandom'
For detailed information set POD5_DEBUG=1'
Converting 1 Fast5s: 0%| | 0/4000 [00:03<?, ?Reads/s]
Singularity> POD5_DEBUG=1 pod5 convert fast5 PAW59116_pass_2cfaf0b1_98202c91_9986.fast5 --output converted9986.pod5
An unexpected error occurred: getrandom
Converting 1 Fast5s: 0%| | 0/4000 [00:01<?, ?Reads/s]Traceback (most recent call last):
File "/usr/local/bin/pod5", line 8, in
Specifications
- Pod5 Version: 0.3.12
- Python Version: 3.10
- Singularity Version: 3.10.4
- Platform: GNU/Linux X86-64
The error: RuntimeError: getrandom
Is from the GLIBC getrandom function (docs) which is available from in versions Linux 3.17, glibc 2.25.
Can you please check your linux kernel version uname -r?
Best regards, Rich
Thanks for your swift response Rich! I think I have to beg my systems administrator for an update
Here's the result: 3.10.0-514.2.2.el7.x86_64
Best, Noe
Hi Noe, no problem!
Yeah, it looks like this is the underlying issue. It might be possible to get a suitable glibc version within your singularity or docker container though. Although I'm not sure on the details on achieving this.
Best regards, Rich