Skip to content

Biological and Bio-Inspired Computation by Genetic Algorithm with BEAST - the University of Leeds

License

Notifications You must be signed in to change notification settings

HurleyWong/BioGA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

BioGA

What is BEAST

BEAST is a cross-platform program for Bayesian analysis of molecular sequences using MCMC. It is entirely orientated towards rooted, time-measured phylogenies inferred using strict or relaxed molecular clock models. It can be used as a method of reconstructing phylogenies but is also a framework for testing evolutionary hypotheses without conditioning on a single tree topology. BEAST uses MCMC to average over tree space, so that each tree is weighted proportional to its posterior probability. We include a simple to use user-interface program for setting up standard analyses and a suit of programs for analysing the results.

Introduction

BEAST/beast 中包含整个项目运行的 BEAST 源码(注意:代码需运行在配置好 BEAST 和 CMake 环境的操作系统中)。

运行实例

  1. Open terminal and type cd beast/build. If the build directory is not there, simply create it by mkdir build
  2. Call CMake: ccmake ..
  3. Configure: c
  4. It will ask you for the build type: press 'enter' and type Release in the relevant field, then press 'enter' again
  5. Again configure: c
  6. Generate Makefile: g
  7. type make
  8. In the build directory, currently in there are two new directories called 'apps' and 'projects'. The 'apps' directory contains the executable for the beast program called 'beast' and the 'projects' directory contain the required dynamic library needed to run the program called 'libdemos.so'
  9. From the build directory run the beast executable and pass the path to the dynamic library as a prameter as follows: ./apps/beast ./projects/libdemos.so
  10. When inside the program verify that you have a working build by going to 'File' and then 'Start simulation: Mice'

BEAST/Mice 中包含了运行 Mice 模拟器结果处理过程,通过收集 log 日志的数据,用 Pthon 文件处理数据并绘制图片。.txt 文件是收集的数据,.png 文件是绘制的图片,mouse_fitness.ccmouse_network.ccmouse_proximity.cc 是分别使用了不同的 Fitness 函数,神经网络和传感器后的 mouse.cc 源文件。

BEAST/Chase 中包含了运行 10、50、100、4000、14000 代的数据以及 Prey 和 Predator 的关于 average fitness 和 best fitness 的折线图。

BEAST/doc 包括了对整个项目的配置与使用方法,可以访问 BEAST - Bioinspired Evolutionary Agent Simulation Toolkit Documentation 进行在线阅读。

License

知识共享许可协议

本作品采用 知识共享署名 4.0 国际许可协议进行许可。

About

Biological and Bio-Inspired Computation by Genetic Algorithm with BEAST - the University of Leeds

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages