diff options
| author | Roel Janssen <roel@gnu.org> | 2021-04-29 10:53:53 +0200 |
|---|---|---|
| committer | Roel Janssen <roel@gnu.org> | 2021-04-29 10:53:53 +0200 |
| commit | 7f44609c6607347695fcbedd3c5511aa7f6a3fd4 (patch) | |
| tree | 865cb88ee63f80c5c8fb6bee17dcd60ba9015a60 | |
| parent | d72b2e07a886482287e9ada1273edddf59bd67ab (diff) | |
bioinformatics: Remove kraken2.
It is available in the main Guix repository.
* guix-science/packages/bioinformatics.scm (kraken2): Remove variable.
* kraken2-fix-link-error.patch: Remove file.
| -rw-r--r-- | guix-science/packages/bioinformatics.scm | 56 | ||||
| -rw-r--r-- | kraken2-fix-link-error.patch | 31 |
2 files changed, 0 insertions, 87 deletions
diff --git a/guix-science/packages/bioinformatics.scm b/guix-science/packages/bioinformatics.scm index 62bb6ac..3318268 100644 --- a/guix-science/packages/bioinformatics.scm +++ b/guix-science/packages/bioinformatics.scm | |||
| @@ -300,62 +300,6 @@ data. For whole genome sequencing data analysis, the program can also use | |||
| 300 | mappability data (files created by GEM).") | 300 | mappability data (files created by GEM).") |
| 301 | (license license:gpl2+))) | 301 | (license license:gpl2+))) |
| 302 | 302 | ||
| 303 | (define-public kraken2 | ||
| 304 | (package | ||
| 305 | (name "kraken2") | ||
| 306 | (version "2.1.1") | ||
| 307 | (source (origin | ||
| 308 | (method url-fetch) | ||
| 309 | (uri "https://github.com/DerrickWood/kraken2/archive/v2.1.1.tar.gz") | ||
| 310 | (file-name (string-append name "-" version ".tar.gz")) | ||
| 311 | (sha256 | ||
| 312 | (base32 "1r6yh6df2rg42s6kxxih7zyabcjp2lyp0i2vypkfif9jvf694glg")) | ||
| 313 | (patches (list (search-patch "kraken2-fix-link-error.patch"))))) | ||
| 314 | (build-system cmake-build-system) | ||
| 315 | (arguments | ||
| 316 | `(#:tests? #f | ||
| 317 | #:phases | ||
| 318 | (modify-phases %standard-phases | ||
| 319 | (replace 'install | ||
| 320 | (lambda* (#:key inputs outputs #:allow-other-keys) | ||
| 321 | (let* ((out (assoc-ref outputs "out")) | ||
| 322 | (bin (string-append out "/bin")) | ||
| 323 | (wget (string-append (assoc-ref inputs "wget") "/bin/wget")) | ||
| 324 | (rsync (string-append (assoc-ref inputs "rsync") "/bin/rsync")) | ||
| 325 | (local-scripts (string-append "../" ,name "-" ,version "/scripts"))) | ||
| 326 | (with-directory-excursion local-scripts | ||
| 327 | (substitute* '("download_taxonomy.sh" | ||
| 328 | "download_genomic_library.sh" | ||
| 329 | "rsync_from_ncbi.pl") | ||
| 330 | (("rsync -") (string-append rsync " -"))) | ||
| 331 | (substitute* '("16S_gg_installation.sh" | ||
| 332 | "16S_rdp_installation.sh" | ||
| 333 | "16S_silva_installation.sh" | ||
| 334 | "download_genomic_library.sh" | ||
| 335 | "download_taxonomy.sh") | ||
| 336 | (("wget ") (string-append wget " ")))) | ||
| 337 | |||
| 338 | (copy-recursively local-scripts bin) | ||
| 339 | (with-directory-excursion "src" | ||
| 340 | (for-each (lambda (file) (install-file file bin)) | ||
| 341 | '("build_db" | ||
| 342 | "classify" | ||
| 343 | "dump_table" | ||
| 344 | "estimate_capacity" | ||
| 345 | "lookup_accession_numbers")))) | ||
| 346 | #t))))) | ||
| 347 | (native-inputs | ||
| 348 | `(("gcc" ,gcc-10))) | ||
| 349 | (inputs | ||
| 350 | `(("perl" ,perl) | ||
| 351 | ("rsync" ,rsync) | ||
| 352 | ("wget" ,wget))) | ||
| 353 | (home-page "https://github.com/DerrickWood/kraken2") | ||
| 354 | (synopsis "Taxonomic sequence classification system") | ||
| 355 | (description "Kraken is an ultrafast and highly accurate program for | ||
| 356 | assigning taxonomic labels to metagenomic DNA sequences.") | ||
| 357 | (license license:expat))) | ||
| 358 | |||
| 359 | (define-public python-pyvcf | 303 | (define-public python-pyvcf |
| 360 | (package | 304 | (package |
| 361 | (name "python-pyvcf") | 305 | (name "python-pyvcf") |
diff --git a/kraken2-fix-link-error.patch b/kraken2-fix-link-error.patch deleted file mode 100644 index aea1ad1..0000000 --- a/kraken2-fix-link-error.patch +++ /dev/null | |||
| @@ -1,31 +0,0 @@ | |||
| 1 | From 9fca31e2becbeb90c527b89812fbc6f6ff2f3959 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: starling13 <starling13@mail.ru> | ||
| 3 | Date: Fri, 25 Dec 2020 13:09:05 +0300 | ||
| 4 | Subject: [PATCH] Fix link issue with using cmake | ||
| 5 | |||
| 6 | --- | ||
| 7 | src/CMakeLists.txt | 4 +++- | ||
| 8 | 1 file changed, 3 insertions(+), 1 deletion(-) | ||
| 9 | |||
| 10 | diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt | ||
| 11 | index 928ceba..bb76dd3 100644 | ||
| 12 | --- a/src/CMakeLists.txt | ||
| 13 | +++ b/src/CMakeLists.txt | ||
| 14 | @@ -11,6 +11,7 @@ add_executable(build_db | ||
| 15 | add_executable(classify | ||
| 16 | classify.cc | ||
| 17 | reports.cc | ||
| 18 | + hyperloglogplus.cc | ||
| 19 | mmap_file.cc | ||
| 20 | compact_hash.cc | ||
| 21 | taxonomy.cc | ||
| 22 | @@ -33,7 +34,8 @@ add_executable(dump_table | ||
| 23 | compact_hash.cc | ||
| 24 | omp_hack.cc | ||
| 25 | taxonomy.cc | ||
| 26 | - reports.cc) | ||
| 27 | + reports.cc | ||
| 28 | + hyperloglogplus.cc) | ||
| 29 | |||
| 30 | add_executable(lookup_accession_numbers | ||
| 31 | lookup_accession_numbers.cc | ||
