2021-08-05 21:33:18 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, readline }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-08-05 21:33:18 +00:00
|
|
|
pname = "mrbayes";
|
|
|
|
version = "3.2.7a";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-08-05 21:33:18 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "NBISweden";
|
|
|
|
repo = "MrBayes";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "sha256-pkkxZ6YHRn/I1SJpT9A+EK4S5hWGmFdcDBJS0zh5mLA=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2021-08-05 21:33:18 +00:00
|
|
|
description = "Bayesian Inference of Phylogeny";
|
2020-04-24 23:36:52 +00:00
|
|
|
longDescription = ''
|
|
|
|
Bayesian inference of phylogeny is based upon a
|
|
|
|
quantity called the posterior probability distribution of trees, which is
|
|
|
|
the probability of a tree conditioned on the observations. The conditioning
|
|
|
|
is accomplished using Bayes's theorem. The posterior probability
|
|
|
|
distribution of trees is impossible to calculate analytically; instead,
|
|
|
|
MrBayes uses a simulation technique called Markov chain Monte Carlo (or
|
|
|
|
MCMC) to approximate the posterior probabilities of trees.
|
|
|
|
'';
|
2021-08-05 21:33:18 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
homepage = "https://nbisweden.github.io/MrBayes/";
|
2020-07-18 16:06:22 +00:00
|
|
|
platforms = platforms.linux;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|