Write a reference database in utax format.

refdb_export_utax(x, file, verbose = TRUE)

Arguments

x

a reference database.

file

a file path. This will be used to create a .fasta file.

verbose

print information in the console.

Value

No return value, called for side effects.

Examples

lib <- read.csv(system.file("extdata", "baetidae_bold.csv", package = "refdb"))
lib <- refdb_set_fields_BOLD(lib)
refdb_export_utax(lib, tempfile())
#> Warning: subfamily not supported by utax format and was not included.