parse_silva_tax | R Documentation |
Split single SILVA taxonomic annotation to taxonomic ranks.
parse_silva_tax(x, db)
x |
Character string with taxonomic annotation from BLAST. |
db |
Data frame with rank designations for all taxonomic paths in the SILVA taxonomy. |
This function will split the taxonomic annotation based on the SILVA database and assign a corresponding taxonomic rank to the obtained parts.
Named charcter vector with taxonomic annotation (names = rank designations).
parse_silva_tax_batch
# Download taxonomic rank designations for all taxonomic paths used in the SILVA taxonomies
tax.db <- read.delim("https://www.arb-silva.de/fileadmin/silva_databases/release_128/Exports/taxonomy/tax_slv_ssu_128.txt", header = F, stringsAsFactors = F)
colnames(tax.db) <- c("path", "taxid", "rank", "remark", "release")
x <- "Eukaryota;SAR;Alveolata;Ciliophora;Intramacronucleata;Conthreep;Oligohymenophorea;Peritrichia;Telotrochidium;uncultured eukaryote"
parse_silva_tax(x, tax.db)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.