I am trying to run Dada2 merge_pairs but failed always. I am following the pipeline of Dada2.
I have nine samples. Firstly, I have separated forward and reverse samples, and created a collection of each. Using the collection, I firstly run Filter&Trim -> Learn Errors -> Dada. I have no problem with this functions. For merge_pairs, I always getting always an error.
The error is:
Error in FUN(X[[i]], …) :
Non-corresponding derep-class and dada-class objects.
Calls: mergePairs -> lapply -> FUN
I have checked that samples have the same name. Probably something is missing. This is new to me.
Could you please help?
Thank you, CV