diff options
| author | Ben Woodcroft <donttrustben@gmail.com> | 2015-07-21 16:37:23 +0200 |
|---|---|---|
| committer | Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> | 2015-07-21 16:39:38 +0200 |
| commit | 8dc797fa28d237f30979166bf924c7919d12f88d (patch) | |
| tree | 420493e99e94a201beab5b14bc3fcdaf0828efb0 | |
| parent | 5ff0edaee6942a21d20624aade41a228932fb372 (diff) | |
gnu: Add aragorn.
* gnu/packages/bioinformatics.scm (aragorn): New variable.
| -rw-r--r-- | gnu/packages/bioinformatics.scm | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 78cd3ce3214..b38b9c8bb5e 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm | |||
| @@ -54,6 +54,54 @@ | |||
| 54 | #:use-module (gnu packages xml) | 54 | #:use-module (gnu packages xml) |
| 55 | #:use-module (gnu packages zip)) | 55 | #:use-module (gnu packages zip)) |
| 56 | 56 | ||
| 57 | (define-public aragorn | ||
| 58 | (package | ||
| 59 | (name "aragorn") | ||
| 60 | (version "1.2.36") | ||
| 61 | (source (origin | ||
| 62 | (method url-fetch) | ||
| 63 | (uri (string-append | ||
| 64 | "http://mbio-serv2.mbioekol.lu.se/ARAGORN/Downloads/aragorn" | ||
| 65 | version ".tgz")) | ||
| 66 | (sha256 | ||
| 67 | (base32 | ||
| 68 | "1dg7jlz1qpqy88igjxd6ncs11ccsirb36qv1z01a0np4i4jh61mb")))) | ||
| 69 | (build-system gnu-build-system) | ||
| 70 | (arguments | ||
| 71 | `(#:tests? #f ; there are no tests | ||
| 72 | #:phases | ||
| 73 | (modify-phases %standard-phases | ||
| 74 | (delete 'configure) | ||
| 75 | (replace 'build | ||
| 76 | (lambda _ | ||
| 77 | (zero? (system* "gcc" | ||
| 78 | "-O3" | ||
| 79 | "-ffast-math" | ||
| 80 | "-finline-functions" | ||
| 81 | "-o" | ||
| 82 | "aragorn" | ||
| 83 | (string-append "aragorn" ,version ".c"))))) | ||
| 84 | (replace 'install | ||
| 85 | (lambda* (#:key outputs #:allow-other-keys) | ||
| 86 | (let* ((out (assoc-ref outputs "out")) | ||
| 87 | (bin (string-append out "/bin")) | ||
| 88 | (man (string-append out "/share/man/man1"))) | ||
| 89 | (mkdir-p bin) | ||
| 90 | (copy-file "aragorn" | ||
| 91 | (string-append bin "/aragorn")) | ||
| 92 | (mkdir-p man) | ||
| 93 | (copy-file "aragorn.1" | ||
| 94 | (string-append man "/aragorn.1"))) | ||
| 95 | #t))))) | ||
| 96 | (home-page "http://mbio-serv2.mbioekol.lu.se/ARAGORN") | ||
| 97 | (synopsis "Detect tRNA, mtRNA and tmRNA genes in nucleotide sequences") | ||
| 98 | (description | ||
| 99 | "Aragorn identifies transfer RNA, mitochondrial RNA and | ||
| 100 | transfer-messenger RNA from nucleotide sequences, based on homology to known | ||
| 101 | tRNA consensus sequences and RNA structure. It also outputs the secondary | ||
| 102 | structure of the predicted RNA.") | ||
| 103 | (license license:gpl2))) | ||
| 104 | |||
| 57 | (define-public bamtools | 105 | (define-public bamtools |
| 58 | (package | 106 | (package |
| 59 | (name "bamtools") | 107 | (name "bamtools") |
