pkgsrc/biology/lucy/Makefile
obache 546d012f69 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.
2010-09-19 07:13:37 +00:00

31 lines
957 B
Makefile

# $NetBSD: Makefile,v 1.7 2010/09/19 07:13:37 obache Exp $
#
DISTNAME= ${PKGNAME:S/-//}
PKGNAME= lucy-1.20
CATEGORIES= biology
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_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 \
${DESTDIR}${PREFIX}/share/examples/lucy
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"