From 02f550178af333081c29493e7e6789f279a4f17a Mon Sep 17 00:00:00 2001 From: obache Date: Sun, 19 Sep 2010 07:13:37 +0000 Subject: Update lucy to 1.20. Based on PR#43777 by Kamel Derouiche, with some clean up by me. Version 1.20, 9/3/2008. This version fixes a bug that caused lucy to fail when there was too much information on the FASTA header lines in the input files. Lucy had a 256 character buffer for reading lines from the input files. If any FASTA header lines were longer than 256 characters, the remaining characters would get read as part of the FASTA sequence. The solution implemented in this version is simply to increase the buffer size to 4096 characters. While that still leaves the potential for the same error to occur with extremely long header lines, the limitation that this entails seems reasonable, and this should fix the problem for all pratical purposes. --------------------------------------------------------------------- Version 1.19, 12/30/2003. This version fixes a bug that could cause sequences to be rejected incorrectly in the vector detection step (phase 6). Because of the way that lucy compares "tags" in the target sequence with "tags" in the vector sequence, some bases in the target sequence could get counted more than once in the tally of bases that match the vector sequence. In rare instances, this could cause the sequence to exceed the minimum threshold for rejection, as a result of random sequence similarity. The reporting of the CLB range in the -debug output file has also been changed. If the CLB range begins with the first base of the sequence, then the left coordinate of the CLB range will be reported as 1 (instead of 0). The range "CLB 0 0" still indicates an empty CLB range. --- biology/lucy/Makefile | 13 +++++++++---- biology/lucy/distinfo | 8 ++++---- 2 files changed, 13 insertions(+), 8 deletions(-) (limited to 'biology/lucy') diff --git a/biology/lucy/Makefile b/biology/lucy/Makefile index bbad3c7581a..85302e61db7 100644 --- a/biology/lucy/Makefile +++ b/biology/lucy/Makefile @@ -1,22 +1,27 @@ -# $NetBSD: Makefile,v 1.6 2009/06/12 19:07:29 rillig Exp $ +# $NetBSD: Makefile,v 1.7 2010/09/19 07:13:37 obache Exp $ # -DISTNAME= lucy-1.18p +DISTNAME= ${PKGNAME:S/-//} +PKGNAME= lucy-1.20 CATEGORIES= biology -MASTER_SITES= # ftp://ftp.tigr.org/pub/software/Lucy/ +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=lucy/} MAINTAINER= dprice@cs.nmsu.edu HOMEPAGE= http://lucy.sourceforge.net/ COMMENT= Sequence Cleanup Program +#LICENSE= LICENSE file say "artistic", but bit differ. PKG_INSTALLATION_TYPES= overwrite pkgviews PKG_DESTDIR_SUPPORT= user-destdir +WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}p + AUTO_MKDIRS= yes +PTHREAD_AUTO_VARS= yes do-install: ${INSTALL_PROGRAM} ${WRKSRC}/lucy ${DESTDIR}${PREFIX}/bin - ${INSTALL_DATA} ${WRKSRC}/lucy.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 + ${INSTALL_MAN} ${WRKSRC}/lucy.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 cd ${WRKSRC} && ${INSTALL_DATA} PUC19 PUC19splice PUC19splice.for \ PUC19splice.rev atie.seq atie.qul atie.2nd pSPORT1splice \ pSPORT1vector ARMTM40TR.seq ARMTM40TR.qul lucy.ps lucy.debug \ diff --git a/biology/lucy/distinfo b/biology/lucy/distinfo index c4f8ffcb5af..b6006fd9c11 100644 --- a/biology/lucy/distinfo +++ b/biology/lucy/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.3 2005/12/13 15:24:09 joerg Exp $ +$NetBSD: distinfo,v 1.4 2010/09/19 07:13:37 obache Exp $ -SHA1 (lucy-1.18p.tar.gz) = 93ff9002f7eb69815497633007952ede9ca63e66 -RMD160 (lucy-1.18p.tar.gz) = db6f8dd8d3fdab81bfcc7f1a4f558fd908c6d309 -Size (lucy-1.18p.tar.gz) = 1456857 bytes +SHA1 (lucy1.20.tar.gz) = 890006f550efd06745e7156359ee8b519d3b5f62 +RMD160 (lucy1.20.tar.gz) = de6f9a787f9bd63b8d297beb2ecdc9793e3c183d +Size (lucy1.20.tar.gz) = 1457619 bytes SHA1 (patch-aa) = 2e37aaf7cad62d0183f8555b4f2bd8824b10468b SHA1 (patch-ab) = 638e512be7fc526cbd37950f9156ccab46b9f228 -- cgit v1.2.3