-
Notifications
You must be signed in to change notification settings - Fork 136
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
Explain "Error occurs when reading inputs" #271
Comments
Hi there i encounter the same error too! But I cant figure out how to resolve it. @ctb @lgautier @sebhtml @aquaskyline please enlighten! |
my problem is resolved by regenerating one fastq file - likely was corrupted during the one of the file-transferring process. hope this helps someone! cheers! |
I'm getting the same error, when the number of libraries gets over a certain number (v. 1.2.9; I tried both a Conda package running in a Singularity container and a computing-center provided module). For me, it doesn't help to concatenate the fastq files as it did for @s4251484. Nor does it help to allocate more memory. Going from a machine with 128 GiB to one with 256 GiB results in the same failure for the same libraries. I'm happy to share data for debugging. |
Hi, Wonder if anyone found a solution for this? Nico |
I encountered a similar error with NC_038311, which contains a W in the sequence, which seems to trip megahit.
I can recommend to lint your input files, e.g.: |
This experience might provide a solution for others. I initially faced the same problem when I used Trimmomatic to trim the reads. I concatenated the unpaired reads (those where forward or reverse reads did not survive) with the paired reads (concatenating was a mistake), then attempted to run MEGAHIT, resulting in the same error. However, when I processed only the paired reads, MEGAHIT ran without any issues. So, consider what you had done before the megahit run. |
Hi, just coming to report I am facing the same problem, I performed QC and trimming with Fastp, host removal with Minimap2, paired reads with fastq-pair to ensure same amount of R1 and R2 reads, and then I get this error for about half of my samples. The other half works fine. I'll try @USMortality's linting solution to see if the problem is ambiguous bases. I'm still not sure if the problem is in my upstream steps (sure doesn't look like it) or if it's just a megahit problem. |
Anyone ever figure this out? |
Hi! I had the same issue, I solved it by decompressing the fastq.gz file to fastq. I hope this helps. |
Megahit fails for me with "Error occurs when reading inputs". It seems to work with a subset of the reads. Is this some kind of memory overflow?
The text was updated successfully, but these errors were encountered: