about summary refs log tree commit diff
path: root/pkgs/applications/science/biology/slr/default.nix
blob: 7111d1a854e56b58a59963ab8b1bc80a3e1eae06 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{stdenv, fetchurl, liblapack}:

stdenv.mkDerivation {
  name = "slr-1.4.2";

  src = fetchurl {
    url = http://www.ebi.ac.uk/goldman-srv/SLR/download/v1.4.2/slr_source.tgz;
    sha256 = "03ak7jsz89zism6gx8fr1dwlwjgcmnrr9m6xgqpr0xzikxid02jp";
  };

  buildInputs = [ liblapack ];
  preConfigure = "mkdir bin; cd src";
  makeFlags = "-f Makefile.linux";

  meta = {
    description     = "Phylogenetic Analysis by Maximum Likelihood (PAML)";
    longDescription = ''
SLR is a program to detect sites in coding DNA that are unusually conserved and/or unusually variable (that is, evolving under purify or positive selection) by analysing the pattern of changes for an alignment of sequences on an evolutionary tree.     
'';
    license     = "GPL3";
    homepage    = http://www.ebi.ac.uk/goldman/SLR/;
  };
}