gnu: Add megahit.

* gnu/packages/bioinformatics.scm (megahit): New variable.
This commit is contained in:
Ricardo Wurmus 2022-10-05 17:59:04 +02:00
parent be1d561f1a
commit fd6cd9de86
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -16331,6 +16331,38 @@ (define-public megadepth
both types of files.")
(license license:expat)))
(define-public megahit
(package
(name "megahit")
(version "1.2.9")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/voutcn/megahit.git")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"1r5d9nkdmgjsbrpj43q9hy3s8jwsabaz3ji561v18hy47v58923c"))))
(build-system cmake-build-system)
(arguments
(list
#:test-target "simple_test"
#:phases
'(modify-phases %standard-phases
(add-after 'unpack 'fix-tests
(lambda _
(substitute* "src/megahit"
(("os.path.join\\(script_path, '..'\\)")
"os.path.join(script_path, '../source')")))))))
(inputs (list python-wrapper zlib))
(home-page "https://www.ncbi.nlm.nih.gov/pubmed/25609793")
(synopsis "Meta-genome assembler")
(description "Megahit is a fast and memory-efficient NGS assembler. It is
optimized for metagenomes, but also works well on generic single genome
assembly (small or mammalian size) and single-cell assembly.")
(license license:gpl3)))
(define-public mudskipper
(package
(name "mudskipper")