Conclude the ID from a FASTA filename.Source:
This is done in the same way as BEAST2 will do so.
a FASTA filename. Use
get_fasta_filenameto obtain a testing FASTA filename. Note that BEAST2 also supports missing data, by using a dash (
-) or question mark (
?) as a sequence.
if TRUE, the first character will be capitalized
Use check_alignment_id to check if an alignment ID is valid.