Closed marclliros closed 3 months ago
The error is only coming when you assign rownames to trackITS
? If so, you just need to match up the sample.names
with what is in trackITS
.
My guess is that you can simply subset down to the existing files here, e.g. sample.names[file.exists(filtFs)]
. But inspecting the length of sample.names
versus the nrow(trackITS)
will help confirm, the expectation being that there is one less row in trackITS
than there is in sample.names
, corresponding to the one sample that was lost at the filtering step.
Dear @benjjneb thanks for your replay. Yes, it is a matter related with one less sample in the dataset due to filtering step (negative control of sequencing). I will run again with sample.names[file.exists(filtFs)] command Thanks a lot Marc
Dear all I am running dada2 on ITS samples. After sample inference, merging paired reads and constructing sequence (with and without chimera) tables, I came across an error that I am not able to solve. I run:
I know from output that I miss one sample due to zero's (negative control in fact). After looking some old and new issues, exists option must be used, but apparently I did not came across the right "option". By running ..
doesn't solve the problem ... so I'm wondering if I must run "[file.exists(),]" for all dadaFs, dadaRs, mergers and seqtabITS.nochim .. which doesn't look practic.
Any advice?
Thanks in advance
Marc PS, sorry if I miss the solution in a previous post