Table of Contents

Merlin

Merlin is a program from the Abecassis Lab at the Center for Statistical Genetics, University of Michigan.

Its used for parametric and non-parametric linkage analysis in diploid populations. Its algorithms utilise a sparse 'tree' for representing gene flow within pedigrees and its is particularly well geared towards handling dense marker maps. There are a wide range of options to choose from when analysing your data and when used in conjunction with SimWalk2 provides a powerful set of tools for analysing your data.

Since its first release the functionality of Merlin has improved and it now handles dense genetic maps where linkage disequilibrium exists between markers, which if properly accounted for can increase the power to detect linkage.

Ebuild

The ebuild is shown below

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
 
DESCRIPTION="Statistical analysis of human pedigree data."
HOMEPAGE="http://www.sph.umich.edu/csg/abecasis/Merlin/"
SRC_URI="http://www.sph.umich.edu/csg/abecasis/Merlin/download/${P}.tar.gz"
SLOT="0"
 
# License of the package.  This must match the name of file(s) in
# /usr/portage/licenses/.  For complex license combination see the developer
# docs on gentoo.org for details.
LICENSE=""
 
KEYWORDS="~x86"
 
src_install() {
        mkdir ${D}usr #For some reason this is needed
        make install INSTALLDIR=${D}usr/bin || die
}

merlin-1.1.2.ebuild

Installation instructions

Create a directory in your /usr/local/portage overlay, grab the ebuild, digest it and emerge it

# mkdir -p /usr/local/portage/sci-biology/merlin
# cd /usr/local/portage/sci-biology/merlin
# wget http://kimura.no-ip.org/dokuwiki/lib/exe/fetch.php?id=merlin&cache=cache&media=merlin-1.1.2.ebuild.bz2
# bunzip2 merlin-1.1.2.ebuild.bz2
# ebuild merlin-1.1.2.ebuild digest
# emerge -av merlin

References