Entering edit mode
14 months ago
Bioinfo
▴
20
Hello I'm using dada 2 version ‘1.22.0’ on windows 10, I have list of compressed (.gz ) fastq files, when I use the function filterAndTrim I get this error message : Error in add(bin) : record does not start with '@'
But when I want to see if I can read th .gz file with library(ShortRead)
:
library(ShortRead)
fn <- "path/to/example.fastq.gz"
reads <- readFastq(fn)
It doesn't give any error message message
I don't understand why the function filterAndTrim give the error message (Error in add(bin) : record does not start with '@'
)
Do you have any solution please
Thank you very much
Looks like you will need to examine the particular file. There must be a corrupt fastq record in it.