get_alignment_ids: Get the alignment IDs from one or more files.

View source: R/get_alignment_ids.R

get_alignment_idsR Documentation

Get the alignment IDs from one or more files.

Description

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.

Usage

get_alignment_ids(filenames)

Arguments

filenames

names of the files to be checked

Value

the IDs extracted from the one or more files

Author(s)

Richèl J.C. Bilderbeek

See Also

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

Examples

check_empty_beautier_folder()

get_alignment_ids(
  get_beautier_paths(c("anthus_aco.fas", "anthus_nd2.fas"))
)

check_empty_beautier_folder()

ropensci/beautier documentation built on Nov. 3, 2023, 10:41 a.m.