summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGhislain Vaillant <ghislain.vaillant@inria.fr>2026-02-19 16:47:41 +0100
committerGhislain Vaillant <ghislain.vaillant@inria.fr>2026-02-20 10:08:16 +0100
commit1dec46b030f4d4d14eb4bbed788e7efe4ffede40 (patch)
tree65d7f29bdc1a9044b30e2cd65c7d4dbd7a713d13
parent03d5a53df9bb0d297f6e032afb0bb7b8697d0dc2 (diff)
bioinformatics: Add booster.
* guix-science/packages/bioinformatics.scm (booster): New variable.
-rw-r--r--guix-science/packages/bioinformatics.scm63
1 files changed, 63 insertions, 0 deletions
diff --git a/guix-science/packages/bioinformatics.scm b/guix-science/packages/bioinformatics.scm
index c3f7654..fe6dd01 100644
--- a/guix-science/packages/bioinformatics.scm
+++ b/guix-science/packages/bioinformatics.scm
@@ -2388,6 +2388,69 @@ array-based and next-generation sequence data, and genomic
2388annotations.") 2388annotations.")
2389 (license license:expat))) 2389 (license license:expat)))
2390 2390
2391(define-public booster
2392 ;; Use latest upstream commit, which fixes a segfault issue.
2393 (let ((commit "b9eee3213b6b75a9b066a82ec0558817f898df1b")
2394 (revision "0")
2395 (version "0.1.2"))
2396 (package
2397 (name "booster")
2398 (version (git-version version revision commit))
2399 (source
2400 (origin
2401 (method git-fetch)
2402 (uri (git-reference
2403 (url "https://github.com/evolbioinfo/booster")
2404 (commit commit)))
2405 (file-name (git-file-name name version))
2406 (sha256
2407 (base32 "1k5n8nqga68q951zd6lnjinpb1rairny5qpvmphhq27gzcg7r1zk"))))
2408 (build-system gnu-build-system)
2409 (arguments
2410 (list
2411 #:phases
2412 #~(modify-phases %standard-phases
2413 (add-after 'unpack 'fix-install-path
2414 ;; Replace default install path, which is set to $HOME/bin.
2415 (lambda _
2416 (substitute* "src/Makefile"
2417 (("INSTALL_PATH=.*")
2418 (string-append "INSTALL_PATH="
2419 #$output "/bin" "\n")))))
2420 (add-after 'unpack 'set-version
2421 ;; Replace default version, which relies on git.
2422 (lambda _
2423 (substitute* "src/Makefile"
2424 (("GIT_VERSION :=.*")
2425 (string-append "GIT_VERSION := "
2426 #$version)))))
2427 (delete 'configure)
2428 (add-before 'build 'change-source-directory
2429 (lambda _
2430 (chdir "src")))
2431 (delete 'check)
2432 (add-after 'install 'check
2433 (lambda* (#:key tests? #:allow-other-keys)
2434 (when tests?
2435 (let ((booster (string-append #$output "/bin/booster")))
2436 (with-directory-excursion "../examples"
2437 (invoke "gunzip" "ref.nw.gz")
2438 (invoke "gunzip" "boot.nw.gz")
2439 (invoke booster
2440 "-i"
2441 "ref.nw"
2442 "-b"
2443 "boot.nw"
2444 "-i"
2445 "TBE.nw")))))))))
2446 (native-inputs (list gzip))
2447 (home-page "http://booster.c3bi.pasteur.fr/")
2448 (synopsis "BOOtstrap Support by TransfER")
2449 (description
2450 "This package provides a new way of computing bootstrap supports in large
2451phylogenies.")
2452 (license license:gpl2))))
2453
2391(define-public cmaple 2454(define-public cmaple
2392 (package 2455 (package
2393 (name "cmaple") 2456 (name "cmaple")