Index: head/biology/Makefile =================================================================== --- head/biology/Makefile +++ head/biology/Makefile @@ -96,6 +96,7 @@ SUBDIR += pycogent SUBDIR += pyfasta SUBDIR += python-nexus + SUBDIR += rainbow SUBDIR += recombine SUBDIR += ruby-bio SUBDIR += rubygem-bio Index: head/biology/rainbow/Makefile =================================================================== --- head/biology/rainbow/Makefile +++ head/biology/rainbow/Makefile @@ -0,0 +1,26 @@ +# $FreeBSD$ + +PORTNAME= rainbow +DISTVERSION= 2.0.4 +CATEGORIES= biology +MASTER_SITES= SF/bio-rainbow +DISTNAME= rainbow_${PORTVERSION} + +MAINTAINER= jwb@FreeBSD.org +COMMENT= Efficient clustering and assembling of short reads, especially for RAD + +LICENSE= GPLv3+ + +USES= gmake + +PLIST_FILES= bin/rainbow bin/ezmsim bin/rbasm + +do-install: + @${MKDIR} ${STAGEDIR}${PREFIX}/bin + ${INSTALL_PROGRAM} \ + ${WRKSRC}/rainbow \ + ${WRKSRC}/ezmsim \ + ${WRKSRC}/rbasm \ + ${STAGEDIR}${PREFIX}/bin + +.include Index: head/biology/rainbow/distinfo =================================================================== --- head/biology/rainbow/distinfo +++ head/biology/rainbow/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1520455667 +SHA256 (rainbow_2.0.4.tar.gz) = 79281aae3bccd1ad467afef6fc7c8327aaa8d56f538821e2833d2b8f26b5bafc +SIZE (rainbow_2.0.4.tar.gz) = 77111 Index: head/biology/rainbow/files/patch-Makefile =================================================================== --- head/biology/rainbow/files/patch-Makefile +++ head/biology/rainbow/files/patch-Makefile @@ -0,0 +1,10 @@ +--- Makefile.orig 2015-07-27 18:28:54 UTC ++++ Makefile +@@ -1,5 +1,5 @@ +-CC=gcc +-CFLAGS= -W -O2 -Wall -Wno-self-assign -Wno-unused-function ++CC?=gcc ++CFLAGS?= -W -O2 -Wall -Wno-self-assign -Wno-unused-function + DFLAGS= -D_FILE_OFFSET_BITS=64 + GLIBS=-lm + GENERIC_SRC= string.h bitvec.h file_reader.h hashset.h sort.h list.h dna.h heap.h stdaln.h vector.h Index: head/biology/rainbow/pkg-descr =================================================================== --- head/biology/rainbow/pkg-descr +++ head/biology/rainbow/pkg-descr @@ -0,0 +1,10 @@ +Rainbow provides an ultra-fast and memory-efficient solution to clustering and +assembling short genetic sequence reads produced by Restriction site Associated +DNA Sequencing (RAD-seq). It does this by, first, clustering reads using a +spaced seed method, then it divides potential groups into haplotypes in a +top-down manner. Next, along a guide tree, it iteratively merges sibling +leaves in a bottom-up manner if they are similar enough. Finally, Rainbow uses +a greedy algorithm to locally assemble merged reads into contigs. Both optimal +and suboptimal assembly results are output. + +WWW: http://sourceforge.net/projects/bio-rainbow/