Draft is working, but fails on 'long' reads - i.e. on a single smallish read of 4098 bp. I think this is due to the BUFSIZE limit in the crate fastq::Reader implementation:
let buffer = vec![0u8; BUFSIZE].into_boxed_slice();
let buffer = self.parser.buffer.replace_buffer(buffer);
if self.parser.buffer.n_free() == 0 {
return Some(Err(Error::new(ErrorKind::InvalidData,
"Fastq record is too long.")))
}
Draft is working, but fails on 'long' reads - i.e. on a single smallish read of 4098 bp. I think this is due to the
BUFSIZE
limit in the cratefastq::Reader
implementation:and later returns the error message linked to: