mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-05 19:11:43 -05:00
gnu: Add mosaicatcher.
* gnu/packages/bioinformatics.scm (mosaicatcher): New variable.
This commit is contained in:
parent
0b70eb03cb
commit
b1ae0f30d8
1 changed files with 40 additions and 0 deletions
|
@ -6170,6 +6170,46 @@ (define-public mosaik
|
|||
;; 2. MD5 implementation - RSA Data Security, RFC 1321
|
||||
(license (list license:gpl2+ license:public-domain)))))
|
||||
|
||||
(define-public mosaicatcher
|
||||
(package
|
||||
(name "mosaicatcher")
|
||||
(version "0.3.1")
|
||||
(source (origin
|
||||
;; There are no release tarballs nor tags.
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/friendsofstrandseq/mosaicatcher")
|
||||
(commit (string-append version "-dev"))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"1n2s5wvvj2y0vfgjkg1q11xahpbagxz7h2vf5q7qyy25s12kbzbd"))
|
||||
(patches (search-patches "mosaicatcher-unbundle-htslib.patch"))))
|
||||
(build-system cmake-build-system)
|
||||
(arguments
|
||||
`(#:tests? #false ; there are no tests
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'chdir
|
||||
(lambda _ (chdir "src")))
|
||||
(replace 'install
|
||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||
(let* ((target (assoc-ref outputs "out"))
|
||||
(bin (string-append target "/bin"))
|
||||
(share (string-append target "/share/mosaicatcher")))
|
||||
(install-file "mosaic" bin)
|
||||
(mkdir-p share)
|
||||
(copy-recursively "../R" share)))))))
|
||||
(inputs
|
||||
`(("boost" ,boost)
|
||||
("htslib" ,htslib)))
|
||||
(home-page "https://github.com/friendsofstrandseq/mosaicatcher")
|
||||
(synopsis "Count and classify Strand-seq reads")
|
||||
(description
|
||||
"Mosaicatcher counts Strand-seq reads and classifies strand states of
|
||||
each chromosome in each cell using a Hidden Markov Model.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public ngs-sdk
|
||||
(package
|
||||
(name "ngs-sdk")
|
||||
|
|
Loading…
Reference in a new issue