From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 05 10:00:32 2018 Received: (at 32642) by debbugs.gnu.org; 5 Sep 2018 14:00:32 +0000 Received: from localhost ([127.0.0.1]:47277 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fxYMC-00059j-0H for submit@debbugs.gnu.org; Wed, 05 Sep 2018 10:00:32 -0400 Received: from venus.bbbm.mdc-berlin.de ([141.80.25.30]:56284) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fxYM9-00059T-Tp for 32642@debbugs.gnu.org; Wed, 05 Sep 2018 10:00:30 -0400 Received: from localhost (localhost [127.0.0.1]) by venus.bbbm.mdc-berlin.de (Postfix) with ESMTP id 51832380F1D for <32642@debbugs.gnu.org>; Wed, 5 Sep 2018 16:00:29 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mdc-berlin.de; h= content-type:content-type:mime-version:references:in-reply-to :x-mailer:message-id:date:date:subject:subject:from:from :received:received:received; s=mdc; t=1536156028; x=1537970429; bh=LHml2eTEmAJt/ZeEOTpAkKKmuV4xSmcnx3MundYMCRY=; b=gofPP+TQlBH7 /hzVxhMcU1SzMfZlKeAw+KENAZQG8M+yJ6FgZlrgortOU1y/TeeYbSFTTMAdR1a0 xDILTNqkGF+Nyab9uV3HdTLi6D2y+jpVGs4ZumrQ1xpcC6LOa7igpNWaQxoVX5R5 DITvJQYrEpe99deHHy3gwhj3fMQREA4= X-Virus-Scanned: amavisd-new at mdc-berlin.de Received: from venus.bbbm.mdc-berlin.de ([127.0.0.1]) by localhost (venus.bbbm.mdc-berlin.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 75pTyEnB6IbS for <32642@debbugs.gnu.org>; Wed, 5 Sep 2018 16:00:28 +0200 (CEST) Received: from SW-IT-P-CAS3.mdc-berlin.net (puck.citx.mdc-berlin.de [141.80.36.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by venus.bbbm.mdc-berlin.de (Postfix) with ESMTPS for <32642@debbugs.gnu.org>; Wed, 5 Sep 2018 16:00:28 +0200 (CEST) Received: from localhost (141.80.113.103) by SW-IT-P-CAS3.mdc-berlin.net (141.80.113.58) with Microsoft SMTP Server (TLS) id 14.3.408.0; Wed, 5 Sep 2018 16:00:27 +0200 From: Ricardo Wurmus To: <32642@debbugs.gnu.org> Subject: [PATCH 11/16] gnu: Add python-intervaltree. Date: Wed, 5 Sep 2018 16:00:01 +0200 Message-ID: <20180905140006.10783-6-ricardo.wurmus@mdc-berlin.de> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180905140006.10783-1-ricardo.wurmus@mdc-berlin.de> References: <20180905140006.10783-1-ricardo.wurmus@mdc-berlin.de> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [141.80.113.103] X-TM-AS-Product-Ver: SMEX-12.5.0.1300-8.5.1010-24074.007 X-TM-AS-Result: No-1.717000-8.000000-10 X-TMASE-MatchedRID: GOhvqnuss097qToVEfwBPAPZZctd3P4BglaqJmjfi+CNBfx9QShy4Acs lYpo5iST0EdJ1p8GY2DsZX3M9mdWSnOAMSqhBqB6S+sHxS/MWvj4qCLIu0mtIDVeBpP/c9O+mMh 2Cc3QHA5hL5j3nRZ50x+nBl7Pmyp5ojOZZ6ZUHiyeAiCmPx4NwBnUJ0Ek6yhjxEHRux+uk8jfhP 1xgyx3DDpRPk8wn85mIt7GWxsg21M64zWH4Dd4HbgvfcYs4CjUI5QSznWkwtZIzBAMfA3AYxEaS yP72A8yRJVXBrkBpUS9E32YkRsLkoISrdkIFqeuO4Y2dUBhL/BTBYT7RGXoWxJAEJH0NuHT9aAn bWsWzHc= X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--1.717000-8.000000 X-TMASE-Version: SMEX-12.5.0.1300-8.5.1010-24074.007 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 32642 Cc: Ricardo Wurmus X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) * gnu/packages/bioinformatics.scm (python-intervaltree): New variable. --- gnu/packages/bioinformatics.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 05d516165..963715b43 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -13551,3 +13551,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))) -- 2.18.0