get_alignment_ids_from_fasta_filenames: Get the alignment ID from one or more FASTA filenames.

View source: R/get_alignment_ids.R

get_alignment_ids_from_fasta_filenamesR Documentation

Get the alignment ID from one or more FASTA filenames.

Description

This is done in the same way as BEAST2 does by default. The files are assumed to be FASTA. If this is not the case, there may be any kind of error message when calling this function.

Usage

get_alignment_ids_from_fasta_filenames(fasta_filenames)

Arguments

fasta_filenames

One or more FASTA filenames. Use get_fasta_filename to obtain a testing FASTA filename.

Value

the IDs from one or more FASTA files

Author(s)

Richèl J.C. Bilderbeek

See Also

Use get_alignment_ids to get the alignment IDs from multiple kids of files. Use are_fasta_filenames to see if the filenames all have a common FASTA filename extension.

Examples

check_empty_beautier_folder()

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

check_empty_beautier_folder()

beautier documentation built on Nov. 2, 2023, 5:08 p.m.