diff options
| -rw-r--r-- | guix-science/packages/bioinformatics.scm | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/guix-science/packages/bioinformatics.scm b/guix-science/packages/bioinformatics.scm index 92061a3..781358b 100644 --- a/guix-science/packages/bioinformatics.scm +++ b/guix-science/packages/bioinformatics.scm | |||
| @@ -2388,6 +2388,52 @@ array-based and next-generation sequence data, and genomic | |||
| 2388 | annotations.") | 2388 | annotations.") |
| 2389 | (license license:expat))) | 2389 | (license license:expat))) |
| 2390 | 2390 | ||
| 2391 | (define-public mmseqs2 | ||
| 2392 | ;; Upstream tags use a combination of version and short commit ID. | ||
| 2393 | (let ((commit "8cc5ce367b5638c4306c2d7cfc652dd099a4643f") | ||
| 2394 | (version "18")) | ||
| 2395 | (package | ||
| 2396 | (name "mmseqs2") | ||
| 2397 | (version version) | ||
| 2398 | (source | ||
| 2399 | (origin | ||
| 2400 | (method git-fetch) | ||
| 2401 | (uri (git-reference | ||
| 2402 | (url "https://github.com/soedinglab/MMseqs2") | ||
| 2403 | (commit commit))) | ||
| 2404 | (file-name (git-file-name name version)) | ||
| 2405 | (sha256 | ||
| 2406 | (base32 "1fw067j0plq5z5nsxpf1hsqk008lhjrb76vvsy3l795a9q06vry4")))) | ||
| 2407 | (build-system cmake-build-system) | ||
| 2408 | (arguments | ||
| 2409 | (list | ||
| 2410 | #:configure-flags | ||
| 2411 | #~(list "-DNATIVE_ARCH:BOOL=OFF") | ||
| 2412 | #:phases | ||
| 2413 | #~(modify-phases %standard-phases | ||
| 2414 | (delete 'check) | ||
| 2415 | (add-after 'install 'check | ||
| 2416 | (lambda* (#:key tests? #:allow-other-keys) | ||
| 2417 | (when tests? | ||
| 2418 | (let ((mmseqs (string-append #$output "/bin/mmseqs"))) | ||
| 2419 | (with-directory-excursion "../source/examples" | ||
| 2420 | (invoke mmseqs "easy-cluster" "DB.fasta" "clusterRes" | ||
| 2421 | "tmp") | ||
| 2422 | (invoke mmseqs | ||
| 2423 | "easy-search" | ||
| 2424 | "QUERY.fasta" | ||
| 2425 | "DB.fasta" | ||
| 2426 | "alnRes" | ||
| 2427 | "tmp"))))))))) | ||
| 2428 | (inputs (list bzip2 zlib)) | ||
| 2429 | (native-inputs (list perl)) | ||
| 2430 | (home-page "https://mmseqs.com/") | ||
| 2431 | (synopsis "Ultra fast and sensitive search and clustering suite") | ||
| 2432 | (description | ||
| 2433 | "MMseqs2 (Many-against-Many sequence searching) is a software suite to | ||
| 2434 | search and cluster huge protein and nucleotide sequence sets.") | ||
| 2435 | (license license:expat)))) | ||
| 2436 | |||
| 2391 | (define-public booster | 2437 | (define-public booster |
| 2392 | ;; Use latest upstream commit, which fixes a segfault issue. | 2438 | ;; Use latest upstream commit, which fixes a segfault issue. |
| 2393 | (let ((commit "b9eee3213b6b75a9b066a82ec0558817f898df1b") | 2439 | (let ((commit "b9eee3213b6b75a9b066a82ec0558817f898df1b") |
