mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
biology/fastani: New port: Fast Whole-Genome Similarity (ANI) Estimation
This commit is contained in:
parent
24ed0407a9
commit
89f62deb8a
@ -54,6 +54,7 @@
|
||||
SUBDIR += fasta
|
||||
SUBDIR += fasta3
|
||||
SUBDIR += fastahack
|
||||
SUBDIR += fastani
|
||||
SUBDIR += fastdnaml
|
||||
SUBDIR += fastool
|
||||
SUBDIR += fastp
|
||||
|
27
biology/fastani/Makefile
Normal file
27
biology/fastani/Makefile
Normal file
@ -0,0 +1,27 @@
|
||||
PORTNAME= fastani
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 1.34
|
||||
CATEGORIES= biology
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
COMMENT= Fast Whole-Genome Similarity (ANI) Estimation
|
||||
WWW= https://github.com/shenwei356/unikmer/
|
||||
|
||||
LICENSE= APACHE20
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
LIB_DEPENDS= libgsl.so:math/gsl
|
||||
|
||||
USES= cmake:testing
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= ParBLiSS
|
||||
GH_PROJECT= FastANI
|
||||
GH_TUPLE= catchorg:Catch2:359542d:catch/ext/Catch2
|
||||
|
||||
CMAKE_OFF= BUILD_TESTING
|
||||
CMAKE_TESTING_ON= BUILD_TESTING # 6 tests fail, see https://github.com/ParBLiSS/FastANI/issues/138
|
||||
|
||||
PLIST_FILES= bin/fastANI
|
||||
|
||||
.include <bsd.port.mk>
|
5
biology/fastani/distinfo
Normal file
5
biology/fastani/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
TIMESTAMP = 1726871246
|
||||
SHA256 (ParBLiSS-FastANI-v1.34_GH0.tar.gz) = dc185cf29b9fa40cdcc2c83bb48150db46835e49b9b64a3dbff8bc4d0f631cb1
|
||||
SIZE (ParBLiSS-FastANI-v1.34_GH0.tar.gz) = 3899028
|
||||
SHA256 (catchorg-Catch2-359542d_GH0.tar.gz) = 607bf5322291859a136b2580151f41897335e91c51fe0c4dd3950093ff96244b
|
||||
SIZE (catchorg-Catch2-359542d_GH0.tar.gz) = 1031988
|
12
biology/fastani/files/patch-CMakeLists.txt
Normal file
12
biology/fastani/files/patch-CMakeLists.txt
Normal file
@ -0,0 +1,12 @@
|
||||
--- CMakeLists.txt.orig 2023-07-28 20:41:45 UTC
|
||||
+++ CMakeLists.txt
|
||||
@@ -68,7 +68,8 @@ if(${BUILD_TESTING})
|
||||
Catch2::Catch2 Catch2::Catch2WithMain
|
||||
ZLIB::ZLIB GSL::gsl GSL::gslcblas
|
||||
${OpenMP_CXX_LIBRARIES}
|
||||
- gcov)
|
||||
+ --coverage -g -O0 -fprofile-arcs -ftest-coverage
|
||||
+ )
|
||||
catch_discover_tests(fastANITest)
|
||||
file(COPY tests/data DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
|
||||
add_custom_target(lcov lcov -c -d .. -o fastANITest.out
|
@ -0,0 +1,11 @@
|
||||
--- src/cgi/core_genome_identity.cpp.orig 2024-09-20 22:30:43 UTC
|
||||
+++ src/cgi/core_genome_identity.cpp
|
||||
@@ -10,6 +10,8 @@
|
||||
#include <functional>
|
||||
#include <omp.h>
|
||||
|
||||
+#include <unistd.h>
|
||||
+
|
||||
//Own includes
|
||||
#include "map/include/map_parameters.hpp"
|
||||
#include "map/include/base_types.hpp"
|
4
biology/fastani/pkg-descr
Normal file
4
biology/fastani/pkg-descr
Normal file
@ -0,0 +1,4 @@
|
||||
FastANI is developed for fast alignment-free computation of whole-genome Average
|
||||
Nucleotide Identity (ANI). ANI is defined as mean nucleotide identity of
|
||||
orthologous gene pairs shared between two microbial genomes. FastANI supports
|
||||
pairwise comparison of both complete and draft genome assemblies.
|
Loading…
Reference in New Issue
Block a user