summary refs log tree commit diff
path: root/gnu/packages/bioinformatics.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2021-08-27 14:30:04 +0200
committerRicardo Wurmus <rekado@elephly.net>2021-08-30 18:29:56 +0200
commitd84ead81743cc76778241c73ac02c8c6c7e8f7ce (patch)
tree7d2008456353b44fee9bd9fdfb3cdffab0b2876a /gnu/packages/bioinformatics.scm
parentabe1890a5726e5cf1021b408bb5847b2f76f08d8 (diff)
downloadguix-d84ead81743cc76778241c73ac02c8c6c7e8f7ce.tar.gz
gnu: Add python-dna-features-viewer.
* gnu/packages/bioinformatics.scm (python-dna-features-viewer): New variable.
Diffstat (limited to 'gnu/packages/bioinformatics.scm')
-rw-r--r--gnu/packages/bioinformatics.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 5d4b4e1316..1974978700 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -14842,6 +14842,30 @@ and remote bigWig and bigBed files but no write capabilitites.  The main
 feature is fast retrieval of range queries into numpy arrays.")
     (license license:expat)))
 
+(define-public python-dna-features-viewer
+  (package
+    (name "python-dna-features-viewer")
+    (version "3.0.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "dna_features_viewer" version))
+       (sha256
+        (base32
+         "0vci6kg2id6r6rh3cifq7ccnh7j0mb8iqg3hji6rva0ayrdqzafc"))))
+    (build-system python-build-system)
+    (arguments '(#:tests? #false)) ; there are none
+    (propagated-inputs
+     `(("python-biopython" ,python-biopython)
+       ("python-matplotlib" ,python-matplotlib)))
+    (home-page
+     "https://github.com/Edinburgh-Genome-Foundry/DnaFeaturesViewer")
+    (synopsis "Plot features from DNA sequences")
+    (description
+     "DNA Features Viewer is a Python library to visualize DNA features,
+e.g. from GenBank or Gff files, or Biopython SeqRecords.")
+    (license license:expat)))
+
 (define-public r-ascat
   (package
    (name "r-ascat")