complete_treelog_filename: Complete a treelog's filename

View source: R/complete_treelog_filename.R

complete_treelog_filenameR Documentation

Complete a treelog's filename

Description

Complete a treelog's filename

Usage

complete_treelog_filename(treelog_filename, fasta_filename)

Arguments

treelog_filename

name of the MCMC's treelog file, which is $(tree).trees by default. Use complete_treelog_filename to obtain the complete path to the MCMC's treelog file.

fasta_filename

name of a FASTA file. Use get_alignment_id to get the ID of the alignment

Value

the filename for the treelog

Author(s)

Richèl J.C. Bilderbeek

Examples

# Check cleanup by other functions
beastier::check_empty_beaustier_folders()

fasta_filename <- "/home/alignment_folder/my.fasta"

# Will become '/home/alignment_folder/my.trees'
complete_treelog_filename(
  treelog_filename = "$(tree).trees",
  fasta_filename = fasta_filename
)


richelbilderbeek/pirouette documentation built on Oct. 18, 2023, 3:09 p.m.