Extract the names of taxa from a file

get_taxa_names(filename)

Arguments

filename

name of a FASTA file

Value

the taxa names

Author

Richèl J.C. Bilderbeek

Examples

  created <- get_taxa_names(get_beautier_path("anthus_aco_sub.fas"))
  expected <- c(
    "61430_aco", "626029_aco", "630116_aco", "630210_aco", "B25702_aco"
   )
  testit::assert(created == expected)