How to use R`s Short read package to get a quality report on a set of paired fastq files?
0
0
Entering edit mode
7.8 years ago

How to use R`s Short read package to get a quality report on a set of paired fastq files?

I run the code: **

**    library("ShortRead")
       fls <- dir("//XDR_MARCH_2016//Pure_FASTQ_Converted//", "*fastq$", full=TRUE)
      qaSummary <- qa(fls, type="fastq")
       browseURL(report(qaSummary))**

**

and get --- Error in slot(object, ".srlist") : cannot get a slot (".srlist") from an object of type "NULL"

How to fix that? Are there alternative R packages for assessment of the quality of WGS short reads?

R fastqc short read • 2.3k views
ADD COMMENT
1
Entering edit mode

Why not use FastQC? For that matter, BBMap produces a great set of histograms from reads that tell you the actual error rates rather than Illumina's quality scores. For example, add the flags "mhist=mhist.txt qhist=qhist.txt"; then you can plot those files in R/Excel.

ADD REPLY
0
Entering edit mode

Thank you, does BBMap able to call FASTQC directly?

ADD REPLY
0
Entering edit mode

No, they are independent. But FastQC is very easy to use.

ADD REPLY
1
Entering edit mode

Can you check if your variables fls and qaSummary are what you expect them to be? Does fls contain files?

ADD REPLY

Login before adding your answer.

Traffic: 1321 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6