Open lborcard opened 3 months ago
That's interesting, @lborcard, thank you for submitting the issue! Would it be possible to share the file URL or a simple test case that I can use to replicate the issue?
thank your answer, yes I can give you an example file. here is an example: https://s3.amazonaws.com/nanopore-human-wgs/bulkfile/GXB02001_20230509_1250_FAW79338_X3_sequencing_run_NA12878_B1_19382aa5_ef4362cd.fast5
I will try to split and see if I run into the same error.
thanks for your reply
edit: the error is reproducible with the file posted
An error occurred: [Errno 0] Error: 'X0'
Usage example: split.py [-l LINES] [file] [prefix]
I am pretty sure that the python split.py does not work with the -n
flag because it does work without any flags
@lborcard The split works for me. Can you provide details on your machine? OS ?
We should perhaps use logging.exception or traceback. The error message above just prints the X0 filename - likely due to running out of disk space? Looking at the code its not obvious what possible exception was thrown with the filename as the message.
https://stackoverflow.com/questions/1483429/how-do-i-print-an-exception-in-python
@MarkReedZ sounds reasonable.
@lborcard The split works for me. Can you provide details on your machine? OS ? Sorry for the late reply, I am working on centos 8
I tested again today after updating to 3.84 and I get the same error message
Thank you very much for sharing this great project. I am using the cli tool sz_split and it's stopping after the first split when I specify
-n 20
. It produces only 1 of the 20 files and stops with this error message:I am splitting a .fast5 (hdf5 files for sequencing data).
sz_split -n 20 gxb03325_20240327_1204_FAX92537_X5_sequencing_run_no_sample_ac8a3c2b_b3c8a5e7.fast5
best,Loïc