Error produced when trying to assign taxonomy in DADA2 in R

I have been trying to assign taxonomy against the MiDAS database in R. In previous steps, I have cleaned up my genetic data using the DADA2 profiles and then use this code to assign taxonomy

  taxa_midas_genus <- assignTaxonomy(seqtab.nochim, "C:/R/MiDAS.fa",
                                     taxLevels = c("Kingdom", "Phylum", "Class", "Order", "Family", "Genus"),
                                     verbose = TRUE,
                                     tryRC = TRUE,
                                     minBoot = 80) %>%

    as_tibble(rownames = "sequence")

However, I keep getting the error: Error in if ((is.null(names) || any(bad_names <- duplicated(names) | names == :
missing value where TRUE/FALSE needed

Any idea on how to resolve this?

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.