This is done in the same way as BEAST2 does by default The file extension will be used to determine which type of file is worked on.

get_alignment_ids(filenames)

Arguments

filenames

names of the files to be checked

Value

the IDs extracted from the one or more files

See also

Use get_alignment_ids_from_fasta_filenames to get the alignment IDs from files known to be FASTA files

Author

Richèl J.C. Bilderbeek

Examples

  created <- get_alignment_ids(
    get_beautier_paths(c("anthus_aco.fas", "anthus_nd2.fas"))
  )
  expected <- c(
    get_alignment_id(get_beautier_path("anthus_aco.fas")),
    get_alignment_id(get_beautier_path("anthus_nd2.fas"))
  )
  testit::assert(created == expected)