dada2 icon indicating copy to clipboard operation
dada2 copied to clipboard

Manual assignment of ASV after BLASTing

Open callmcgovern opened this issue 2 years ago • 2 comments

Hello, I have been running a microbial community analysis through the dada2 pipeline and it has been working well however when I go to assign taxonomy I notice that my top 3 most abundance ASVs are being assigned to "Tychonema" but when I blast the ASV on Genbank I am seeing "phormidium autumnale" as a 100% match. Is there a way I can manually change the taxonomic assignment from tychonema to phormidium? The samples are benthic and, based on our in-culture experiments, we are pretty sure it is truly a phormidium, not a tychonema (which is usually planktonic). Thank you so much for the help.

callmcgovern avatar May 25 '22 19:05 callmcgovern

Is there a way I can manually change the taxonomic assignment from tychonema to phormidium?

Yes, you can just use base R to manipulate the taxonomy table returned by assignTaxonomy. That table is just a character matrix, and you can overwrite the values in the appropriate cells to your hand assignments. For example:

## asv1 is the sequence of asv1
tax[asv1, "Genus"] <- "Tychonema"

benjjneb avatar May 27 '22 20:05 benjjneb

Thank you very much Ben, this helps a lot!

callmcgovern avatar Jun 01 '22 12:06 callmcgovern