Peer Review Status CRAN_Status_Badge DOI

Branch Travis CI logo AppVeyor logo Codecov logo
master Build Status Build status
develop Build Status None

beautier is BEAUti for R.

beautier logo

The purpose of beautier is to create a valid BEAST2 XML input file from a n inference model. In this way, a scientific pipeline using BEAST2 can be fully scripted, instead of using BEAUti’s GUI.

beautier is part of the babette package suite:

  • beautier create a BEAST2 input (.xml) file from an inference model.
  • tiebeaur creates an inference model from a BEAST2 input (.xml) file ⚠️ experimental ⚠️
  • beastier runs BEAST2
  • tracerer pastes BEAST2 output (.log, .trees, etc) files.
  • mauricer install BEAST2 packages

Related R packages:


See examples.


beautier can be installed:

  • Latest CRAN version: CRAN
  • Latest stable version: GitHub, master branch
  • Bleeding-edge version: GitHub, develop branch


For the latest CRAN version:


GitHub, master branch

For the latest stable version:


GitHub, develop branch

For the bleeding-edge version:

remotes::install_github("ropensci/beautier", ref = "develop")


See FAQ.


This works, and the interface is unlikely to change.

  • 1 DNA alignment
  • Site models:
    • JC69
    • HKY
    • TN93
    • GTR
  • Clock models:
    • Strickt
    • Relaxed log-normal
  • Tree models:
    • Yule
    • Birth-Death
    • Coalescent Bayesian Skyline
    • Coalescent Constant Population
    • Coalescent Exponential Population


This works, but the interface may change.

  • Tip dating

Missing features/unsupported

beautier cannot do everything BEAUti can.

Here are some missing or (yet) unsupported features:

  • Two or more DNA alignments
  • Two or more site, clock or tree models
  • Two or more MRCA priors
  • Shared site, clock and/or tree models
  • Using an amino acid alignment
  • Support for hyper parameters
  • Clock models
    • Relaxed exponential
    • Random local
  • Tree priors
    • Calibrated Yule model
    • Coalescent Extended Bayesian Skyline
  • Initialization (this is a tab that is hidden by default in BEAUti)

There is a feature I miss

See CONTRIBUTING, at Submitting use cases

I want to collaborate

See CONTRIBUTING, at ‘Submitting code’

I think I have found a bug

See CONTRIBUTING, at ‘Submitting bugs’

There’s something else I want to say

Sure, just add an Issue. Or send an email.


Article about babette:

FASTA files anthus_aco.fas and anthus_nd2.fas from:

  • Van Els, Paul, and Heraldo V. Norambuena. “A revision of species limits in Neotropical pipits Anthus based on multilocus genetic and vocal data.” Ibis.

FASTA file G_VII_pre2003_msa.fas from:

  • Durr, PA; Wibowo, MH; Tabbu, CR; Asmara, W; Selleck, P; Wang, J; Broz, I; Graham, K.; Dimitrov, K and Afonso, C. (in preparation). Phylodynamics of Genotype VII Newcastle disease virus in Indonesia.