spholmes / F1000_workflow

43 stars 33 forks source link

Error in R code #36

Open haruosuz opened 4 years ago

haruosuz commented 4 years ago

I have got the following Error messages:

> ddF <- dada(derepFs[1:40], err=NULL, selfConsist=TRUE)
Error in dada(derepFs[1:40], err = NULL, selfConsist = TRUE) : 
  The derep argument must be a derep-class object, list of derep-class objects, or a character vector of fastq filenames.

Enclosed are updated R code and log file. Rcode.txt log.txt

spholmes commented 4 years ago

It seems there is a problem with the filenames as they all have dots in front of them which is not expected, and the filenames in the object derepFs are wrong. You might try and run through the shorter up to date current tutorial here to see if it works on these other files:

https://benjjneb.github.io/dada2/tutorial.html

On Fri, Dec 27, 2019 at 8:11 AM Haruo Suzuki notifications@github.com wrote:

I have got the following Error messages:

ddF <- dada(derepFs[1:40], err=NULL, selfConsist=TRUE) Error in dada(derepFs[1:40], err = NULL, selfConsist = TRUE) : The derep argument must be a derep-class object, list of derep-class objects, or a character vector of fastq filenames.

Enclosed is my log file. log.txt https://github.com/spholmes/F1000_workflow/files/4005732/log.txt

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/spholmes/F1000_workflow/issues/36?email_source=notifications&email_token=AAJFZPMV3U7DOHJFFH32OOTQ2YSJTA5CNFSM4J76MWW2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IC4KCYA, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJFZPIVCS5HBBRAEDVURATQ2YSJTANCNFSM4J76MWWQ .

-- Susan Holmes John Henry Samter Fellow in Undergraduate Education Professor, Statistics 2017-2018 CASBS Fellow, Sequoia Hall, 390 Serra Mall Stanford, CA 94305 http://www-stat.stanford.edu/~susan/