From 67ff1088064d3da72fe8942ad62a53f7c41c7e04 Mon Sep 17 00:00:00 2001 From: zimoun Date: Tue, 4 Jan 2022 23:47:55 +0100 Subject: [PATCH] gnu: Add julia-bioalignments. * gnu/packages/julia-xyz.scm (julia-bioalignments): New variable. Signed-off-by: Efraim Flashner --- gnu/packages/julia-xyz.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm index 5185832765..f358780b31 100644 --- a/gnu/packages/julia-xyz.scm +++ b/gnu/packages/julia-xyz.scm @@ -361,6 +361,41 @@ code easy by supplying a framework for writing and running groups of benchmarks as well as comparing benchmark results.") (license license:expat))) +(define-public julia-bioalignments + (package + (name "julia-bioalignments") + (version "2.0.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/BioJulia/BioAlignments.jl") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1wf6qgsada59r2fykxfj9hcr635wl8maqxbd3w8qpa01k9glxa0k")))) + (build-system julia-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'skip-test + (lambda _ + ;; Test fails because an unexpected type representation from + ;; BioSequences. The aligned value is correct though. + (substitute* "test/runtests.jl" + (("@test sprint\\(show, aln\\)") + "@test_broken sprint(show, aln)"))))))) + (propagated-inputs + (list julia-biogenerics + julia-biosequences + julia-biosymbols + julia-intervaltrees)) + (home-page "https://github.com/BioJulia/BioAlignments.jl") + (synopsis "Sequence alignement algorithm and data structures") + (description "This package provides alignement algorithms and data +structures for sequence of DNA, RNA, and amino acid sequences.") + (license license:expat))) + (define-public julia-biogenerics ;; No upstream release (let ((commit "a75abaf459250e2b5e22b4d9adf25fd36d2acab6")