Skip to content

davidrasm/Lumiere

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lumiere

BEAST 2 package for phylodynamics with adaptive molecular evolution using the marginal fitness birth-death model.

System Requirements

Lumiere is a BEAST2 package. The latest version of the package has been compiled against BEAST2 v2.5.2.

Lumiere requires:

  • BEAST2 - available for download at the BEAST2 site. Required to be between versions v2.4.0 and v2.5.2, older versions can be found on the GitHub page.
  • MASTER - available for download on the GitHub page.
  • MultiTypeTree - available for download on the GitHub page.
  • BEASTLabs - available for download on the GitHub page.
  • sampled-ancestors - download can be found on the GitHub page.
  • Eclipse - software for package development and running, download can be found on Eclipse website.

Users should check the relevant version.xml files for each package to ensure dependecies are fulfilled.

Installation guide for Eclipse

To compile BEAST with the Lumiere source code, we recommend using the Eclipse IDE.

Create folder in any accessible directory, this will serve as your eclipse workspace. For our purposes we will assume this directory is

\home\eclipse-workspace

Place unzipped folders for all of the BEAST2 related packages (BEAST2, MASTER, MultiTypeTree, beast-classic, BEASTLabs, and sampled-ancestors) here.

Once you have installed Eclipse, open and choose \home\eclipse-workspace as working directory. Add a new java project for each BEAST2 related package via File > New > Java Project, subsequently de-selecting "Use default location", and browsing for the folder of interest.

Once all folders have been added, they should be present on the Project Explorer tab where we can explore their subdirectories.

Subsequently, for each package in the table below we need to do the following:

  • Go to package properties, add the listed packages (found in parentheses in the table below) to the project references and the Projects tab in the java build path
  • Under the Libraries tab, add all the JAR files(found in the table below). The package they are found in preceeds them in parentheses, all will be found in their packages respective lib folder.
Package Project Build Path / References Libraries
(1) beast2 all jar files found in (1)/lib
(2) BEAST LABS (1) (2).junit
(3) Lumiere (1)-(2),(4)-(6) (3).commons-lang3, (1).commons-math3, (5).jblas
(4) MASTER (1) all jar files found in (4)/lib
(5) MultiTypeTree all jar files found in (5)/lib
(6) SampledAncestors (1)

Test Example

Test that you have set up Lumiere correctly by running any of the xml files found in

Lumiere/examples

This can be done by navigating to Run > Run Configurations > Java Application and selecting the New Launch Configuration button at the top right of the pop-up window. Subsequently ensure the following:

  • Under the Main tab the Project is listed to be the Lumiere folder
  • The Main class is beast.app.BeastMCMC
  • Under the Arguments tab, reference the selected xml (eg. examples/ebola_makona_multFitnessBD_9genos_exactP0s.xml)
  • Navigate to the tab labeled either Classpath or Dependecies. If labeled Classpath add all of the projects to the Bootstrap Entries and all of the jar files should automatically become listed under User Entries. If labeled Dependencies add all of the projects to Classpath Entries and ensure all jar files found in the lib folders are listed.

Running simulation tests

To run your own simulations please follow the directions found in

Lumiere/sim/README.md

Running on clusters

Running MCMC algorithms on personal computers can be cumbersome. Here we have included additional steps for how one can run this algorithm using a cluster.

  • File > Export > Runnable Jar File
  • Browse > Choose where to save > Save As
  • SFTP shell file, xml, and .jar file to cluster
  • Utilize cluster specific submission protocols (sbatch filename.sh)

Authors

  • David Rasmussen with Marco Hamins-Puertolas

About

BEAST 2 package for phylodynamics with adaptive molecular evolution using the Marginal Fitness Birth-Death model

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published