summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2021-04-28 10:49:03 +0200
committerRicardo Wurmus <rekado@elephly.net>2021-04-28 10:52:12 +0200
commit5ea5ea60669a398c5c7eaf4cc23f1ec315eb3a3d (patch)
treee914e85801c54b6983513572f7f33c23a949c4f0 /gnu/packages
parent562c3a4e12b305bb549ed920d0954d9018f158eb (diff)
downloadguix-5ea5ea60669a398c5c7eaf4cc23f1ec315eb3a3d.tar.gz
gnu: Add python-pyliftover.
* gnu/packages/bioinformatics.scm (python-pyliftover): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/bioinformatics.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index b6e7249980..97f3f916c8 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -15238,6 +15238,31 @@ database. That database maps k-mers to the lowest common ancestor (LCA) of all
 genomes known to contain a given k-mer.")
   (license license:expat)))
 
+(define-public python-pyliftover
+  (package
+    (name "python-pyliftover")
+    (version "0.4")
+    ;; The version of pypi does not include test data.
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/konstantint/pyliftover")
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1j8jp9iynv2l3jv5pr0pn0p3azlama1bqg233piglzm6bqh3m2m3"))))
+    (build-system python-build-system)
+    (arguments `(#:tests? #false)) ; the tests access the web
+    (native-inputs
+     `(("python-pytest" ,python-pytest)))
+    (home-page "https://github.com/konstantint/pyliftover")
+    (synopsis "Python implementation of UCSC liftOver genome coordinate conversion")
+    (description
+     "PyLiftover is a library for quick and easy conversion of genomic (point)
+coordinates between different assemblies.")
+    (license license:expat)))
+
 (define-public r-signac
   (let ((commit "e0512d348adeda4a3f23a2e8f56d1fe09840e03c")
         (revision "1"))