Run this code:
beastier::get_beast2_version()
Currently, this returns 2.6.4
which means that the
BEAUti version 2.6
(the patch version is irrelevant)
is ignored.
See install.md
Currently, babette
does not have a road map itself, but beautier
does:
Submit an Issue.
See CONTRIBUTING, at 'Submitting code'
See CONTRIBUTING, at 'Submitting bugs'
Submit an Issue. Or send an email to Richèl Bilderbeek.
The path to the BEAST2 .xml
file,
which is the file that contains the inference model,
can be found in the BEAST2 options.
A typical user is unaware these options exists,
as these are generated by default.
Here is an example that calls bbt_run_from_model
with
an explicit BEAST2 options:
# Default BEAST2 options
beast2_options <- create_beast2_options()
# The path where the BEAST2 XML file will be created:
beast2_options$input_filename
bbt_run_from_model(
fasta_filename = get_babette_path("anthus_aco.fas"),
beast2_options = beast2_options
)
# Show BEAST2 XML file
readLines(beast2_options$input_filename)
The path to the BEAST2 .xml.state
file,
which is the file that contains the current/final state of the MCMC machinery,
can be found in the BEAST2 options.
A typical user is unaware these options exists,
as these are generated by default.
A typical user is unaware these options exists, as these are generated by default.
Here is an example that calls bbt_run_from_model
with
an explicit BEAST2 options:
# Default BEAST2 options
beast2_options <- create_beast2_options()
# The path where the final BEAST2 state file will be created:
beast2_options$output_state_filename
bbt_run_from_model(
fasta_filename = get_babette_path("anthus_aco.fas"),
beast2_options = beast2_options
)
# Show BEAST2 state file
readLines(beast2_options$output_state_filename)
This .trees
file, which holds the estimated trees,
is part of the inference_model
:
inference_model <- create_test_inference_model()
# Path to .trees file
inference_model$mcmc$treelog$filename
bbt_run_from_model(
fasta_filename = get_babette_path("anthus_aco.fas"),
inference_model = inference_model
)
# Show the generated .trees file
readLines(inference_model$mcmc$tracelog$filename)
This .log
file holds the parameter estimations
is part of the inference_model
:
inference_model <- create_test_inference_model()
# Path to .log file
inference_model$mcmc$tracelog$filename
bbt_run_from_model(
fasta_filename = get_babette_path("anthus_aco.fas"),
inference_model = inference_model
)
# Show the generated .log file
readLines(inference_model$mcmc$tracelog$filename)
Yes. BEAST2 can missing data in the FASTA files (which
contain the DNA/RNA or protein sequences) and so does babette
.
In your FASTA file, use a dash -
(not NA)
for the sequences that are missing.
This is similar to what the phangorn
package does.
Correct. This is a feature of BEAST2. Using the create_mrca
prior
gives prettier results.
Bilderbeek, Richèl JC, and Rampal S. Etienne. "babette: BEAUti 2, BEAST 2 and Tracer for R." Methods in Ecology and Evolution (2018).
or
@article{bilderbeek2018babette,
title={babette: BEAUti 2, BEAST 2 and Tracer for R},
author={Bilderbeek, Richel JC and Etienne, Rampal S},
journal={Methods in Ecology and Evolution},
year={2018},
publisher={Wiley Online Library}
}
- lumier: Shiny app to help create the function call needed
- BEASTmasteR: tip-dating analyses using fossils as dated terminal taxa
- RBeast: misc other things
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.
Thanks to Paul van Els.
ba
: BeAutierbet
: BEasTierte
: TracErer
Later on, mauricer
got added.
Initially, the logo was a low-tech remake of Babette, a maid in Beauty and the Beast. To prevent problems with Disney, a different logo was picked.
The current logo shows a swan, an animal considered to be graceful. The swan is drawn by Jose Scholte, who kindly allowed her work to be used for free, by attribution.
For me, this Stack Overflow post helped me out:
sudo mousepad /etc/ld.so.conf.d/java.conf
In that file put:
/usr/lib/jvm/java-8-oracle/jre/lib/amd64
/usr/lib/jvm/java-8-oracle/jre/lib/amd64/server
Save, close, restart R studio, fixed!
Else this Stack Overflow post may be helpful:
sudo apt-get install jdk-*
sudo R CMD javareconf
sudo R CMD javareconf -e
export LD_LIBRARY_PATH=$JAVA_LD_LIBRARY_PATH
sudo apt-get install r-cran-rjava