gnu: Add python-intervaltree.

* gnu/packages/bioinformatics.scm (python-intervaltree): New variable.
master
Ricardo Wurmus 2018-09-05 16:00:01 +02:00 committed by Ricardo Wurmus
parent a6a7156aa9
commit a9d496b353
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 28 additions and 0 deletions

View File

@ -13504,3 +13504,31 @@ reference transcripts provided in a annotation file (also in GTF/GFF3 format).
(list
license:expat ;license for gffcompare
license:artistic2.0))))) ;license for gclib
(define-public python-intervaltree
(package
(name "python-intervaltree")
(version "2.1.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "intervaltree" version))
(sha256
(base32
"02w191m9zxkcjqr1kv2slxvhymwhj3jnsyy3a28b837pi15q19dc"))))
(build-system python-build-system)
;; FIXME: error when collecting tests
(arguments '(#:tests? #f))
(propagated-inputs
`(("python-sortedcontainers" ,python-sortedcontainers)))
(native-inputs
`(("python-pytest" ,python-pytest)))
(home-page "https://github.com/chaimleib/intervaltree")
(synopsis "Editable interval tree data structure")
(description
"This package provides a mutable, self-balancing interval tree
implementation for Python. Queries may be by point, by range overlap, or by
range envelopment. This library was designed to allow tagging text and time
intervals, where the intervals include the lower bound but not the upper
bound.")
(license license:asl2.0)))