mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
DNA query sequences against a protein reference database (BLASTP and BLASTX
alignment mode). The speedup over BLAST is up to 20,000 on short reads at a typical sensitivity of 90-99% relative to BLAST depending on the data and settings. WWW: http://ab.inf.uni-tuebingen.de/software/diamond/ PR: 208998 Submitted by: jrm@ftfl.ca
This commit is contained in:
parent
e5e2d3f6b5
commit
ec07b546cf
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=414686
@ -21,6 +21,7 @@
|
||||
SUBDIR += clustalw
|
||||
SUBDIR += consed
|
||||
SUBDIR += crux
|
||||
SUBDIR += diamond
|
||||
SUBDIR += emboss
|
||||
SUBDIR += fasta
|
||||
SUBDIR += fasta3
|
||||
|
28
biology/diamond/Makefile
Normal file
28
biology/diamond/Makefile
Normal file
@ -0,0 +1,28 @@
|
||||
# Created by: jrm@ftfl.ca
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= diamond
|
||||
PORTVERSION= 0.7.12
|
||||
DISTVERSIONPREFIX= v
|
||||
CATEGORIES= biology
|
||||
|
||||
MAINTAINER= jrm@ftfl.ca
|
||||
COMMENT= BLAST-compatible local sequence aligner
|
||||
|
||||
LICENSE= BSD2CLAUSE
|
||||
|
||||
BUILD_DEPENDS= ${LOCALBASE}/include/boost:devel/boost-libs
|
||||
RUN_DEPENDS= ${LOCALBASE}/include/boost:devel/boost-libs
|
||||
|
||||
ONLY_FOR_ARCHS= amd64
|
||||
|
||||
USES= cmake:outsource
|
||||
|
||||
CFLAGS+= -DNDEBUG
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= bbuchfink
|
||||
|
||||
PLIST_FILES= bin/diamond
|
||||
|
||||
.include <bsd.port.mk>
|
2
biology/diamond/distinfo
Normal file
2
biology/diamond/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (bbuchfink-diamond-v0.7.12_GH0.tar.gz) = 16f8f618e4e5e81071ef8b66dc39685a1e969434ddeff3d88fa01091971b662f
|
||||
SIZE (bbuchfink-diamond-v0.7.12_GH0.tar.gz) = 1826614
|
33
biology/diamond/files/patch-CMakeLists.txt
Normal file
33
biology/diamond/files/patch-CMakeLists.txt
Normal file
@ -0,0 +1,33 @@
|
||||
--- CMakeLists.txt.orig 2016-03-29 09:23:52 UTC
|
||||
+++ CMakeLists.txt
|
||||
@@ -9,6 +9,7 @@ if(BUILD_STATIC)
|
||||
set(CMAKE_EXE_LINKER_FLAGS "-static")
|
||||
endif()
|
||||
|
||||
+FIND_PACKAGE(Threads REQUIRED)
|
||||
find_package(Boost
|
||||
1.53.0 REQUIRED
|
||||
COMPONENTS program_options timer iostreams thread
|
||||
@@ -16,9 +17,6 @@ find_package(Boost
|
||||
|
||||
find_package(ZLIB REQUIRED)
|
||||
|
||||
-set(CMAKE_BUILD_TYPE Release)
|
||||
-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wno-uninitialized")
|
||||
-
|
||||
add_subdirectory("src/algo/blast/core")
|
||||
include_directories(
|
||||
"${CMAKE_SOURCE_DIR}/src"
|
||||
@@ -29,6 +27,11 @@ add_executable(diamond src/main.cpp
|
||||
src/basic/options.cpp
|
||||
src/util/tinythread.cpp)
|
||||
|
||||
-target_link_libraries(diamond blast_core ${Boost_LIBRARIES} ${ZLIB_LIBRARY})
|
||||
+target_link_libraries(diamond blast_core ${Boost_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT} ${ZLIB_LIBRARY})
|
||||
|
||||
install(TARGETS diamond DESTINATION bin)
|
||||
+
|
||||
+get_cmake_property(_variableNames VARIABLES)
|
||||
+foreach (_variableName ${_variableNames})
|
||||
+ message(STATUS "${_variableName}=${${_variableName}}")
|
||||
+endforeach()
|
7
biology/diamond/pkg-descr
Normal file
7
biology/diamond/pkg-descr
Normal file
@ -0,0 +1,7 @@
|
||||
DIAMOND is a BLAST-compatible local aligner for mapping protein and translated
|
||||
DNA query sequences against a protein reference database (BLASTP and BLASTX
|
||||
alignment mode). The speedup over BLAST is up to 20,000 on short reads at a
|
||||
typical sensitivity of 90-99% relative to BLAST depending on the data and
|
||||
settings.
|
||||
|
||||
WWW: http://ab.inf.uni-tuebingen.de/software/diamond/
|
Loading…
Reference in New Issue
Block a user