This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Error in DADA2

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

1 answer

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.

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.

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

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)"

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.

Log in to answer this question.