get_alignment_id {beautier} | R Documentation |
Conclude the ID from a FASTA filename.
Description
This is done in the same way as BEAST2 will do so.
Usage
get_alignment_id(fasta_filename, capitalize_first_char_id = FALSE)
Arguments
fasta_filename |
a FASTA filename.
Use |
capitalize_first_char_id |
if TRUE, the first character will be capitalized |
Value
an alignment's ID
Author(s)
Richèl J.C. Bilderbeek
See Also
Use check_alignment_id to check if an alignment ID is valid.
Examples
check_empty_beautier_folder()
# Path need not exist, use UNIX path as example
# anthus_aco_sub
alignment_id <- get_alignment_id("/home/homer/anthus_aco_sub.fas")
check_alignment_id(alignment_id)
check_empty_beautier_folder()
[Package beautier version 2.6.12 Index]