Error in DADA2
1
0
Entering edit mode
7.5 years ago

I want to try DADA2 pipeline for the data analysis, but I got the following error

 "Error in mcmapply(fastqPairedFilter, mapply(c, fwd, rev, SIMPLIFY = FALSE),  : 
  'mc.cores' > 1 is not supported on Windows"

Can anyone please help in resolving this issue. Thanks in advance.

R RNA-Seq software error next-gen sequencing • 2.2k views
ADD COMMENT
0
Entering edit mode
7.5 years ago
always_learning ★ 1.1k

mc.cores > 1 is not available for windows. You may try as mc.cores = 1 something like below may work.

mcmapply(fastqPairedFilter, mapply(c, fwd, rev, SIMPLIFY = FALSE), mc.cores = 1 )

Can you please try above and let us know.

ADD COMMENT
0
Entering edit mode

Please look at the initial code

 "out <- filterAndTrim(fnFs, filtFs, fnRs, filtRs, truncLen=c(240,160),
              maxN=0, maxEE=c(2,2), truncQ=2, rm.phix=TRUE,
              compress=TRUE, multithread=TRUE)"

When I ran this code, I got the error that I mentioned in the question. I couldnt find mcmapply anywhere in the code so I was intrigued.

ADD REPLY
0
Entering edit mode

I have formatted your code correctly. In future use the icon shown below (after highlighting the text you want to format as code) when editing (Screenshot courtsey of @Wouter).

ScreenCap

ADD REPLY
0
Entering edit mode

Can you try this please ?

 out <- filterAndTrim(fnFs, filtFs, fnRs, filtRs, truncLen=c(240,160),
                  maxN=0, maxEE=c(2,2), truncQ=2, rm.phix=TRUE,
                  compress=TRUE, multithread=FALSE)"
ADD REPLY
0
Entering edit mode

Ya same here , I also get this error. Can somebody help on this matter. If your suggesting to try as mc.cores = 1 , how to enter this code ? Because in the code there is nothing to set the cores.

ADD REPLY

Login before adding your answer.

Traffic: 1561 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