This is a test version of Biostars. For the public version, visit https://www.biostars.org.
filterAndTrim : Error in add(bin) : record does not start with '@'

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

r filterandtrim dada2

Looks like you will need to examine the particular file. There must be a corrupt fastq record in it.

0 answers

No answers yet.

Log in to answer this question.