diff options
| author | Janneke Nieuwenhuizen <janneke@gnu.org> | 2025-10-22 18:32:40 +0200 |
|---|---|---|
| committer | Janneke Nieuwenhuizen <janneke@gnu.org> | 2025-10-22 18:32:40 +0200 |
| commit | 77a7a0f87faa294c564e14ebaf9e11ac6b1c1578 (patch) | |
| tree | 265d6926256578a35f2980d848a618a7ba65041b | |
| parent | 10310f4f709227e6843cbecd09c3e324bcac1a90 (diff) | |
gnu: Add python-weblogo.
* gnu/packages/bioinformatics.scm (python-weblogo): New variable.
Change-Id: Ib91f8d04d0df79eeb6039388e7ae6084fa245ad6
| -rw-r--r-- | gnu/packages/bioinformatics.scm | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 476b2f203ae..1d518d5ac7c 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -98,6 +98,7 @@ #:use-module (gnu packages gawk) #:use-module (gnu packages gcc) #:use-module (gnu packages gd) + #:use-module (gnu packages ghostscript) #:use-module (gnu packages golang) #:use-module (gnu packages golang-build) #:use-module (gnu packages golang-check) @@ -3224,6 +3225,57 @@ matplotlib Axes objects, making them easy to style and incorporate into multi-panel figures.") (license license:expat))) +(define-public python-weblogo + (package + (name "python-weblogo") + (version "3.7.12") + (home-page "https://github.com/gecrooks/weblogo") + (source + (origin + (method url-fetch) + (uri (pypi-uri "weblogo" version)) + (sha256 + (base32 + "0mw6aa0dq3kk9k1nakdvm64icz9504spqbvq4v2h0rb1cb52frkw")))) + (build-system pyproject-build-system) + (propagated-inputs (list ghostscript + python-numpy + python-pluggy + python-scipy)) + (native-inputs (list ghostscript + python-importlib-metadata + python-importlib-resources + python-pytest + python-setuptools + python-setuptools-scm + python-wheel)) + (arguments + (list + #:test-flags + '(list "-k" + ;; These tests fail because of circular imports + (string-append "not test_cli.py" + " and not test_transformseq.py")))) + (synopsis "Sequence Logo Generator") + (description "WebLogo is a web based application designed to make the +generation of sequence logos as easy and painless as possible. + +WebLogo can create output in several common graphics' formats, including the +bitmap formats GIF and PNG, suitable for on-screen display, and the vector +formats EPS and PDF, more suitable for printing, publication, and further +editing. Additional graphics options include bitmap resolution, titles, +optional axis, and axis labels, antialiasing, error bars, and alternative +symbol formats. + +A sequence logo is a graphical representation of an amino acid or nucleic acid +multiple sequence alignment. Each logo consists of stacks of symbols, one +stack for each position in the sequence. The overall height of the stack +indicates the sequence conservation at that position, while the height of +symbols within the stack indicates the relative frequency of each amino or +nucleic acid at that position. The width of the stack is proportional to the +fraction of valid symbols in that position.") + (license license:expat))) + (define-public python-magic-impute (package (name "python-magic-impute") |
