diff options
| author | Ricardo Wurmus <rekado@elephly.net> | 2018-10-11 16:12:11 +0200 |
|---|---|---|
| committer | Ricardo Wurmus <rekado@elephly.net> | 2018-10-11 16:12:11 +0200 |
| commit | e8a7eab169b84ef66c0fb39b3f20ec8af047d5c0 (patch) | |
| tree | 132892721448038e201e6a8dfb3c70662aa771dd /gnu | |
| parent | a8fa86c47781e3e5f6cb58468446ede59b3ba3f4 (diff) | |
gnu: kallisto: Update to 0.44.0.
* gnu/packages/bioinformatics.scm (kallisto): Update to 0.44.0.
[source]: Fetch from git.
[arguments]: Add build phase to use htslib from Guix.
[inputs]: Add htslib.
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/bioinformatics.scm | 34 |
1 files changed, 27 insertions, 7 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index ed713cd1449..91bb94c549e 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm | |||
| @@ -11735,19 +11735,39 @@ using nucleotide or amino-acid sequence data.") | |||
| 11735 | (define-public kallisto | 11735 | (define-public kallisto |
| 11736 | (package | 11736 | (package |
| 11737 | (name "kallisto") | 11737 | (name "kallisto") |
| 11738 | (version "0.43.1") | 11738 | (version "0.44.0") |
| 11739 | (source (origin | 11739 | (source (origin |
| 11740 | (method url-fetch) | 11740 | (method git-fetch) |
| 11741 | (uri (string-append "https://github.com/pachterlab/" | 11741 | (uri (git-reference |
| 11742 | "kallisto/archive/v" version ".tar.gz")) | 11742 | (url "https://github.com/pachterlab/kallisto.git") |
| 11743 | (file-name (string-append name "-" version ".tar.gz")) | 11743 | (commit (string-append "v" version)))) |
| 11744 | (file-name (git-file-name name version)) | ||
| 11744 | (sha256 | 11745 | (sha256 |
| 11745 | (base32 | 11746 | (base32 |
| 11746 | "03j3iqhvq7ya3c91gidly3k3jvgm97vjq4scihrlxh315j696r11")))) | 11747 | "0nj382jiywqnpgvyhichajpkkh5r0bapn43f4dx40zdaq5v4m40m")))) |
| 11747 | (build-system cmake-build-system) | 11748 | (build-system cmake-build-system) |
| 11748 | (arguments `(#:tests? #f)) ; no "check" target | 11749 | (arguments |
| 11750 | `(#:tests? #f ; no "check" target | ||
| 11751 | #:phases | ||
| 11752 | (modify-phases %standard-phases | ||
| 11753 | (add-after 'unpack 'do-not-use-bundled-htslib | ||
| 11754 | (lambda _ | ||
| 11755 | (substitute* "CMakeLists.txt" | ||
| 11756 | (("^ExternalProject_Add" m) | ||
| 11757 | (string-append "if (NEVER)\n" m)) | ||
| 11758 | (("^\\)") | ||
| 11759 | (string-append ")\nendif(NEVER)")) | ||
| 11760 | (("include_directories\\(\\$\\{htslib_PREFIX.*" m) | ||
| 11761 | (string-append "# " m))) | ||
| 11762 | (substitute* "src/CMakeLists.txt" | ||
| 11763 | (("target_link_libraries\\(kallisto kallisto_core pthread \ | ||
| 11764 | \\$\\{CMAKE_CURRENT_SOURCE_DIR\\}/../ext/htslib/libhts.a\\)") | ||
| 11765 | "target_link_libraries(kallisto kallisto_core pthread hts)") | ||
| 11766 | (("include_directories\\(\\.\\./ext/htslib\\)") "")) | ||
| 11767 | #t))))) | ||
| 11749 | (inputs | 11768 | (inputs |
| 11750 | `(("hdf5" ,hdf5) | 11769 | `(("hdf5" ,hdf5) |
| 11770 | ("htslib" ,htslib) | ||
| 11751 | ("zlib" ,zlib))) | 11771 | ("zlib" ,zlib))) |
| 11752 | (home-page "http://pachterlab.github.io/kallisto/") | 11772 | (home-page "http://pachterlab.github.io/kallisto/") |
| 11753 | (synopsis "Near-optimal RNA-Seq quantification") | 11773 | (synopsis "Near-optimal RNA-Seq quantification") |
