aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/bioinformatics.scm32
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index b467a8b828..becf171880 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -16331,6 +16331,38 @@ BigWig files, as well as efficient region coverage summary over intervals from
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")