From nobody Fri Jul 7 13:38:24 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QyDxX3dvqz4l8D0; Fri, 7 Jul 2023 13:38:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QyDxX3BkWz3kFL; Fri, 7 Jul 2023 13:38:24 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688737104; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=A+yPZcG2YNw1yUuNO0jmdgaG0ORl4Ft59u9lh+Pzsa0=; b=iDl6GLs3fg3iU84Rsvy+Y5Afek5VaSSjexOBary3QVG1fizAfg00dbtb+NPbm+tl1lpk8o pSqh7bo3YPiFwWyEpB4TJlE/JSd2U7cK2iKwfaboAZ8MKKp8Hpw2zS0hzI9nhD04Tevnjv ddYwaxsZTimx6V/SD0vTZKmYaWun38YwzOBR49CendiJbklK/qK0Dvx34XW6eOK1DHErap 4Vnobdh1W+bSD4X+UzD/Vygr65WaA5kUjzk0Ogy4wRBwbgN8DjyoZ+wdPUiBELqH2/Anu0 FCn35JwEbMgY6hokjUa7//F2wqm9nAjD4U30pnfWd7lGx9IRx9ctIKJRobW8wA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688737104; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=A+yPZcG2YNw1yUuNO0jmdgaG0ORl4Ft59u9lh+Pzsa0=; b=PTCx/YdjpotIgMYEi5pH+hwb576VJLwphvFAOlJGAr2bj3AIcLndbo3nLPjr/KuoIHeXvl 4yJx6KY5QXGTZQfI/eJGA1nmo1m45TwfBAAopGV8fEn6XOV7OPBkSB2mZNxPn0UKrH9nRY jQRrAdLTxUWWkjOCv4gA0qU6vYqtxs8jHsS2c5PepUWKdMhLxtjjoIkX04bESAQbanM0Wd VvWaffsiX7giXOoIRsBq8Ysit6ZTXq2wMcMxcymAVbcloSjlABeObT4hTSzOBKp28o1h+B hGCL2Xe2CboPK90l8akHGHZR3lg6FHBb3mV/TM9l8cjGwufBTI4FhrG1B2OqZA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1688737104; a=rsa-sha256; cv=none; b=aDZT3v/QGO62N5gCG/g8sh8yRmwfLwjV2wQbvg9DHwTUV5dLCBHZFPSY7vZ621YPqbeV39 jI/iN5AkhgEszfNkhHdqZr/GCk9iyq8hjE1+T66jWsxkbxeQBRAxrx+MPTkJzOnS8qxCVG MFBdngioww7eECr0ptJBYwwYCso2Lw2HUD2EP3bwJrRfoSkEuMEwlALa9eZyWq9McPnQor vfU+wbRdKRAnUcd42tO9uG1+sKqkl3JZaYqgKnZgAUYq52UFtln5eywtdYUsyTa5oKjSHT FciN8CN7FFV9ldaFhkPjSfeU+XxQWSRXEtjQEPNvMie8MSERTU6lSsSpby82NQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QyDxX2DjVzgYW; Fri, 7 Jul 2023 13:38:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 367DcO5f084008; Fri, 7 Jul 2023 13:38:24 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 367DcOZJ084007; Fri, 7 Jul 2023 13:38:24 GMT (envelope-from git) Date: Fri, 7 Jul 2023 13:38:24 GMT Message-Id: <202307071338.367DcOZJ084007@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: "Jason W. Bacon" Subject: git: 964411795080 - main - biology/bifrost: Parallel tool for de Bruijn graphs List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jwb X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 964411795080849c96f95a7ce315e1b230b9b93a Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jwb: URL: https://cgit.FreeBSD.org/ports/commit/?id=964411795080849c96f95a7ce315e1b230b9b93a commit 964411795080849c96f95a7ce315e1b230b9b93a Author: Jason W. Bacon AuthorDate: 2023-07-07 13:37:33 +0000 Commit: Jason W. Bacon CommitDate: 2023-07-07 13:38:22 +0000 biology/bifrost: Parallel tool for de Bruijn graphs Bifrost is a tool and API for parallel construction, indexing and querying of colored and compacted de Bruijn graphs from FASTA/FASTQ DNA/RNA sequence files. --- biology/Makefile | 1 + biology/bifrost/Makefile | 18 ++++++++ biology/bifrost/distinfo | 3 ++ .../bifrost/files/patch-src_strict__fstream.hpp | 11 +++++ biology/bifrost/pkg-descr | 3 ++ biology/bifrost/pkg-plist | 53 ++++++++++++++++++++++ 6 files changed, 89 insertions(+) diff --git a/biology/Makefile b/biology/Makefile index c8654fab2077..fe34cafefca7 100644 --- a/biology/Makefile +++ b/biology/Makefile @@ -15,6 +15,7 @@ SUBDIR += bcftools SUBDIR += bedtools SUBDIR += bfc + SUBDIR += bifrost SUBDIR += bio-mocha SUBDIR += bioawk SUBDIR += biococoa diff --git a/biology/bifrost/Makefile b/biology/bifrost/Makefile new file mode 100644 index 000000000000..1ca58622a09a --- /dev/null +++ b/biology/bifrost/Makefile @@ -0,0 +1,18 @@ +PORTNAME= bifrost +DISTVERSIONPREFIX= v +DISTVERSION= 1.2.1 +CATEGORIES= biology + +MAINTAINER= jwb@FreeBSD.org +COMMENT= Parallel construction, indexing and querying of de Bruijn graphs +WWW= https://github.com/pmelsted/bifrost + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= cmake +USE_GITHUB= yes + +GH_ACCOUNT= pmelsted + +.include diff --git a/biology/bifrost/distinfo b/biology/bifrost/distinfo new file mode 100644 index 000000000000..f92944f13d87 --- /dev/null +++ b/biology/bifrost/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1688397139 +SHA256 (pmelsted-bifrost-v1.2.1_GH0.tar.gz) = fe93080ef3ea71ff009fc206b5c17dd40fbfd18293000621a83d7d947dfedf1a +SIZE (pmelsted-bifrost-v1.2.1_GH0.tar.gz) = 905438 diff --git a/biology/bifrost/files/patch-src_strict__fstream.hpp b/biology/bifrost/files/patch-src_strict__fstream.hpp new file mode 100644 index 000000000000..e3b3caf35931 --- /dev/null +++ b/biology/bifrost/files/patch-src_strict__fstream.hpp @@ -0,0 +1,11 @@ +--- src/strict_fstream.hpp.orig 2023-07-03 15:14:36 UTC ++++ src/strict_fstream.hpp +@@ -64,7 +64,7 @@ static std::string strerror() + } else { + return "Unknown error (" + std::to_string(err_num) + ")"; + } +-#elif ((_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600) && ! _GNU_SOURCE) || defined(__APPLE__) || defined(__MUSL__) ++#elif ((_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600) && ! _GNU_SOURCE) || defined(__APPLE__) || defined(__MUSL__) || defined(__FreeBSD__) + // XSI-compliant strerror_r() + const int err_num = errno; // See above + if (strerror_r(err_num, buff.data(), buff.size()) == 0) { diff --git a/biology/bifrost/pkg-descr b/biology/bifrost/pkg-descr new file mode 100644 index 000000000000..68c41b2f44fc --- /dev/null +++ b/biology/bifrost/pkg-descr @@ -0,0 +1,3 @@ +Bifrost is a tool and API for parallel construction, indexing and +querying of colored and compacted de Bruijn graphs from FASTA/FASTQ +DNA/RNA sequence files. diff --git a/biology/bifrost/pkg-plist b/biology/bifrost/pkg-plist new file mode 100644 index 000000000000..7d555618743c --- /dev/null +++ b/biology/bifrost/pkg-plist @@ -0,0 +1,53 @@ +bin/Bifrost +include/bifrost/BitContainer.hpp +include/bifrost/BlockedBloomFilter.hpp +include/bifrost/ColorSet.hpp +include/bifrost/ColoredCDBG.hpp +include/bifrost/ColoredCDBG.tcc +include/bifrost/Common.hpp +include/bifrost/CompactedDBG.hpp +include/bifrost/CompactedDBG.tcc +include/bifrost/CompressedCoverage.hpp +include/bifrost/CompressedSequence.hpp +include/bifrost/DataAccessor.hpp +include/bifrost/DataAccessor.tcc +include/bifrost/DataManager.hpp +include/bifrost/DataStorage.hpp +include/bifrost/DataStorage.tcc +include/bifrost/FASTX_Parser.hpp +include/bifrost/File_Parser.hpp +include/bifrost/GFA_Parser.hpp +include/bifrost/IO.tcc +include/bifrost/Kmer.hpp +include/bifrost/KmerCovIndex.hpp +include/bifrost/KmerCovIndex.tcc +include/bifrost/KmerHashTable.hpp +include/bifrost/KmerIterator.hpp +include/bifrost/KmerStream.hpp +include/bifrost/Lock.hpp +include/bifrost/MinimizerIndex.hpp +include/bifrost/NeighborIterator.hpp +include/bifrost/NeighborIterator.tcc +include/bifrost/RepHash.hpp +include/bifrost/Search.tcc +include/bifrost/StreamCounter.hpp +include/bifrost/TinyBitmap.hpp +include/bifrost/TinyVector.hpp +include/bifrost/Unitig.hpp +include/bifrost/UnitigIterator.hpp +include/bifrost/UnitigIterator.tcc +include/bifrost/UnitigMap.hpp +include/bifrost/UnitigMap.tcc +include/bifrost/getRSS.h +include/bifrost/kseq.h +include/bifrost/libdivide.h +include/bifrost/libpopcnt.h +include/bifrost/minHashIterator.hpp +include/bifrost/roaring.h +include/bifrost/roaring.hh +include/bifrost/rw_spin_lock.h +include/bifrost/strict_fstream.hpp +include/bifrost/wyhash.h +include/bifrost/zstr.hpp +lib/libbifrost.a +lib/libbifrost.so