summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Fisette <ribosome@gentoo.org>2004-12-23 18:39:57 +0000
committerOlivier Fisette <ribosome@gentoo.org>2004-12-23 18:39:57 +0000
commitdb36b2256043e8d6b7bfc4d1a499850c913490d9 (patch)
tree30f7a695d9596aa12a1fd2c91862bc701a76933e /sci-biology/gibbs
parentMoving to sci-biology/gibbs (diff)
downloadgentoo-2-db36b2256043e8d6b7bfc4d1a499850c913490d9.tar.gz
gentoo-2-db36b2256043e8d6b7bfc4d1a499850c913490d9.tar.bz2
gentoo-2-db36b2256043e8d6b7bfc4d1a499850c913490d9.zip
Moved from app-sci/gibbs to sci-biology/gibbs.
Diffstat (limited to 'sci-biology/gibbs')
-rw-r--r--sci-biology/gibbs/ChangeLog23
-rw-r--r--sci-biology/gibbs/Manifest5
-rw-r--r--sci-biology/gibbs/files/digest-gibbs-1995.91
-rw-r--r--sci-biology/gibbs/files/gibbs-demo7
-rw-r--r--sci-biology/gibbs/gibbs-1995.9.ebuild45
-rw-r--r--sci-biology/gibbs/metadata.xml10
6 files changed, 91 insertions, 0 deletions
diff --git a/sci-biology/gibbs/ChangeLog b/sci-biology/gibbs/ChangeLog
new file mode 100644
index 000000000000..6080c193b309
--- /dev/null
+++ b/sci-biology/gibbs/ChangeLog
@@ -0,0 +1,23 @@
+# ChangeLog for app-sci/gibbs
+# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/gibbs/ChangeLog,v 1.1 2004/12/23 18:39:57 ribosome Exp $
+
+*gibbs-1995.9 (23 Dec 2004)
+
+ 23 Dec 2004; Olivier Fisette <ribosome@gentoo.org> +metadata.xml,
+ +files/gibbs-demo, +gibbs-1995.9.ebuild:
+ Moved from app-sci/gibbs to sci-biology/gibbs.
+
+ 31 Oct 2004; Olivier Fisette <ribosome@gentoo.org> gibbs-1995.9.ebuild:
+ Added to x86.
+
+ 01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org> gibbs-1995.9.ebuild:
+ virtual/glibc -> virtual/libc
+
+*gibbs-1995.9 (27 May 2004)
+
+ 27 May 2004; Patrick Kursawe <phosphan@gentoo.org> gibbs-1995.9.ebuild,
+ metadata.xml, files/gibbs-demo:
+ Initial import, ebuild by Frank Vernaillen <fr_ve@hotmail.com> and
+ olivier.fisette@sympatico.ca in bug #28808
+
diff --git a/sci-biology/gibbs/Manifest b/sci-biology/gibbs/Manifest
new file mode 100644
index 000000000000..e4ef490ec97f
--- /dev/null
+++ b/sci-biology/gibbs/Manifest
@@ -0,0 +1,5 @@
+MD5 17a84693174a8644121605e0d8ea1b12 gibbs-1995.9.ebuild 1223
+MD5 25a6b1c34b2fe30ed4afcd478880dcab ChangeLog 655
+MD5 3c9575b8f66a5705761203f6ff59812e metadata.xml 379
+MD5 66fc93b605c52540a93a218f931abc01 files/digest-gibbs-1995.9 58
+MD5 5d1c8a0323c1506ec063c702ff2013ba files/gibbs-demo 313
diff --git a/sci-biology/gibbs/files/digest-gibbs-1995.9 b/sci-biology/gibbs/files/digest-gibbs-1995.9
new file mode 100644
index 000000000000..cd65b2c83449
--- /dev/null
+++ b/sci-biology/gibbs/files/digest-gibbs-1995.9
@@ -0,0 +1 @@
+MD5 42ec045ea1da932814e645c256c48f38 gibbs9_95.tar 598016
diff --git a/sci-biology/gibbs/files/gibbs-demo b/sci-biology/gibbs/files/gibbs-demo
new file mode 100644
index 000000000000..c58ae3b88e04
--- /dev/null
+++ b/sci-biology/gibbs/files/gibbs-demo
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+gibbs /usr/share/gibbs/examples/porins.b185 11 100 -R2000 -s230
+gibbs /usr/share/gibbs/examples/iomps.b58 11 125 -s1
+gibbs /usr/share/gibbs/examples/Igfold.b60x 12,12,12 90,90,90 -s1
+gibbs /usr/share/gibbs/examples/hth90seqs 12 150 -s1
+gibbs /usr/share/gibbs/examples/hth90seqs 18,18,18 20,20,20 -s1
diff --git a/sci-biology/gibbs/gibbs-1995.9.ebuild b/sci-biology/gibbs/gibbs-1995.9.ebuild
new file mode 100644
index 000000000000..5fdc58fc8e75
--- /dev/null
+++ b/sci-biology/gibbs/gibbs-1995.9.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/gibbs/gibbs-1995.9.ebuild,v 1.1 2004/12/23 18:39:57 ribosome Exp $
+
+DESCRIPTION="A Gibbs sampling algorithm for local alignment of subtle sequence signals in multiple protein sequences."
+
+HOMEPAGE="http://www.people.fas.harvard.edu/~junliu/index1.html"
+
+SRC_NAME="gibbs9_95" # 9_95 refers to the september 1995 version
+SRC_URI="http://www.fas.harvard.edu/~junliu/Software/${SRC_NAME}.tar"
+
+LICENSE="public-domain"
+
+SLOT="0"
+KEYWORDS="x86"
+IUSE=""
+
+DEPEND="virtual/libc"
+
+S=${WORKDIR}/${SRC_NAME}/code
+
+src_compile() {
+ LIBS="-lm" make -e || die
+}
+
+src_install() {
+ cd ${WORKDIR}/${SRC_NAME}
+ dobin gibbs purge scan
+ dobin ${FILESDIR}/gibbs-demo
+
+ dodoc README
+
+ insinto /usr/share/${PN}
+ doins demo.out
+ insinto /usr/share/${PN}/examples
+ doins examples/*
+}
+
+pkg_postinst() {
+ einfo 'Testcase: To ensure the gibbs sampler works correctly,'
+ einfo 'run "gibbs-demo > mydemo.out" and compare "mydemo.out"'
+ einfo 'with "/usr/share/gibbs/demo.out" using diff. The files'
+ einfo 'should differ only by their timing statistics and the'
+ einfo 'paths of the example files.'
+}
diff --git a/sci-biology/gibbs/metadata.xml b/sci-biology/gibbs/metadata.xml
new file mode 100644
index 000000000000..1a57aad8a742
--- /dev/null
+++ b/sci-biology/gibbs/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>sci</herd>
+ <longdescription>
+ The Gibbs motif sampler stochastically examines candidate alignments
+ in an effort to find the best alignment as measured by the maximum
+ a posteriori (MAP) log-likelihood ratio.
+ </longdescription>
+</pkgmetadata>