@@ -0,0 +1,41 @@
1+{ stdenv, fetchurl, coreutils, fltk, libjpeg }:
2+
3+stdenv.mkDerivation rec {
4+ version = "4.7";
5+ name = "seaview-${version}";
6+
7+ src = fetchurl {
8+ url = "ftp://pbil.univ-lyon1.fr/pub/mol_phylogeny/seaview/archive/seaview_${version}.tar.gz";
9+ sha256 = "0fhyq7dcn0izhwcfin9ajsr7kmmsqm9f1np1rmhzg4digfwqb29n";
10+ };
11+
12+ buildInputs = [ fltk libjpeg ];
13+
14+ patchPhase = "sed -i 's#PATH=/bin:/usr/bin rm#'${coreutils}/bin/rm'#' seaview.cxx";
15+ installPhase = "mkdir -p $out/bin; cp seaview $out/bin";
16+
17+ meta = with stdenv.lib; {
18+ description = "GUI for molecular phylogeny";
19+ longDescription = ''
20+ SeaView is a multiplatform, graphical user interface for multiple sequence alignment and molecular phylogeny.
21+ - SeaView reads and writes various file formats (NEXUS, MSF, CLUSTAL, FASTA, PHYLIP, MASE, Newick) of DNA and protein sequences and of phylogenetic trees.
22+ - SeaView drives programs muscle or Clustal Omega for multiple sequence alignment, and also allows to use any external alignment algorithm able to read and write FASTA-formatted files.
23+ - Seaview drives the Gblocks program to select blocks of evolutionarily conserved sites.
24+ - SeaView computes phylogenetic trees by
25+ + parsimony, using PHYLIP's dnapars/protpars algorithm,
26+ + distance, with NJ or BioNJ algorithms on a variety of evolutionary distances,
27+ + maximum likelihood, driving program PhyML 3.1.
28+ - Seaview can use the Transfer Bootstrap Expectation method to compute the bootstrap support of PhyML and distance trees.
29+ - SeaView prints and draws phylogenetic trees on screen, SVG, PDF or PostScript files.
30+ - SeaView allows to download sequences from EMBL/GenBank/UniProt using the Internet.
31+
32+ Seaview is published in:
33+
34+ Gouy M., Guindon S. & Gascuel O. (2010) SeaView version 4 : a multiplatform graphical user interface for sequence alignment and phylogenetic tree building. Molecular Biology and Evolution 27(2):221-224.
35+ '';
36+ homepage = http://doua.prabi.fr/software/seaview;
37+ license = licenses.gpl3;
38+ maintainers = [ maintainers.iimog ];
39+ platforms = platforms.linux;
40+ };
41+}