Thank you for sharing this issue. I reproduced your error and I found a bug in internal function of Rqc package. I will fix this error soon as possible. The code below is a workaround for this issue.
library(Rqc)# replace internal function code to avoid the bug.readFrequency <- function (chunk){tbl <- table(as.character(sread(chunk)))count <- as.integer(tbl)hash <- names(tbl)data.frame(hash, count, stringsAsFactors = FALSE)}assignInNamespace(".readFrequency", .readFrequency, "Rqc")fs <- "corrupted.fastq"qa <- rqcQA(fs, sample=F)
Hi Welliton,
Thanks for the workaround
Pau