File treemix.spec of Package treemix
#
# spec file for package treemix
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: treemix
Version: 1.13
Release: 0
Summary: Inference of patterns of population splitting and mixing
License: GPL-3.0-or-later
Group: Productivity/Scientific/Other
URL: https://bitbucket.org/nygcresearch/treemix/wiki/Home
Source0: https://bitbucket.org/nygcresearch/treemix/downloads/treemix-%{version}.tar.gz#/treemix-%{version}.tar.gz
Source1: plink2treemix.py
BuildRequires: boost-devel
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: gsl-devel
BuildRequires: zlib-devel
%description
TreeMix is a program for the inference of patterns of population splitting and mixing from genome- wide allele frequency data. If given a set of allele frequencies from a number of populations, it will return the maximum likelihood tree for the set of populations, and optionally attempt to infer a number of admixture events.
%prep
%setup -q
%build
%configure
%make_build
%install
%make_install
install -D -m 0755 %{SOURCE1} %{buildroot}%{_bindir}/
%check
%files
%{_bindir}/*
%changelog