d1315ddd4b44f6cf470237caa5f054dc0e24b798 kent Tue Mar 22 15:49:03 2011 -0700 Utility to extract coordinates for promoters, introns, first exon of bed seems to work. diff --git src/utils/bedGeneParts/makefile src/utils/bedGeneParts/makefile new file mode 100644 index 0000000..9d0c110 --- /dev/null +++ src/utils/bedGeneParts/makefile @@ -0,0 +1,26 @@ +include ../../inc/common.mk + +L += -lm +MYLIBDIR = ../../lib/${MACHTYPE} +MYLIBS = ${MYLIBDIR}/jkweb.a + +A = bedGeneParts +O = bedGeneParts.o + +bedGeneParts: ${O} ${MYLIBS} + ${CC} ${COPT} -o ${DESTDIR}${BINDIR}/${A}${EXE} $O ${MYLIBS} $L + ${STRIP} ${DESTDIR}${BINDIR}/${A}${EXE} + +compile:: ${O} + ${CC} ${COPT} -o ${A}${EXE} ${O} ${MYLIBS} $L + +clean:: + rm -f ${A}${EXE} ${O} + +test: + bedGeneParts firstExon test.in firstExon.out + diff firstExon.expected firstExon.out + bedGeneParts introns test.in introns.out + diff introns.expected introns.out + bedGeneParts promoter test.in promoter.out + diff promoter.expected promoter.out