metacoder (version 0.1.2)

unite_ex_data_3: Example of UNITE fungal ITS data

Description

A dataset containing information from 500 sequences from the UNITE reference database.

Usage

unite_ex_data_3

Arguments

Format

An object of type taxmap

Examples

Run this code
## Not run: 
# 
# file_path <- system.file("extdata", "unite_general_release.fasta", package = "metacoder")
# sequences <- ape::read.FASTA(file_path)
# unite_ex_data_3 <- extract_taxonomy(sequences,
#                                     regex = "^(.*)\\|(.*)\\|(.*)\\|.*\\|(.*)$",
#                                     key = c(seq_name = "obs_info", seq_id = "obs_info",
#                                             other_id = "obs_info", "class"),
#                                     class_regex = "^(.*)__(.*)$",
#                                     class_key = c(unite_rank = "taxon_info", "name"),
#                                     class_sep = ";")
# ## End(Not run)

Run the code above in your browser using DataCamp Workspace