diff options
author | Nicolas Graves <ngraves@ngraves.fr> | 2025-03-31 08:18:40 +0200 |
---|---|---|
committer | Andreas Enge <andreas@enge.fr> | 2025-04-16 11:46:24 +0200 |
commit | 5139f5e47fffb07d17c5f254bc292e676998d8f7 (patch) | |
tree | b372f474456ec9173eaa2d2502bb69ce52c3ccb7 | |
parent | 4d8be834404b05b8773fbc51039e9bef9f767b46 (diff) |
gnu: Remove python-pyfasta.
This package is archived and deprecated in favor or python-pyfaidx for
7 years.
* gnu/packages/bioinformatics.scm (python-pyfasta): Delete variable.
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
-rw-r--r-- | gnu/packages/bioinformatics.scm | 72 |
1 files changed, 0 insertions, 72 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index da8ec07f1b..38ea51417c 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -6414,78 +6414,6 @@ gkm-SVM.") accessing bigWig files.") (license license:expat))) -(define-public python-pyfasta - ;; The release on pypi does not contain the test data files. - (let ((commit "c2f0611c5311f1b1466f2d56560447898b4a8b03") - (revision "1")) - (package - (name "python-pyfasta") - (version (git-version "0.5.2" revision commit)) - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/brentp/pyfasta") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0a189id3fbv88gssyk6adbmz2ll1mqpmyw8vxmx3fi955gvaq9j7")))) - (build-system pyproject-build-system) - (arguments - (list - #:phases - '(modify-phases %standard-phases - (add-after 'unpack 'python3.10-compat - (lambda _ - (substitute* "pyfasta/__init__.py" - (("from fasta import") - "from pyfasta.fasta import") - (("from records import") - "from pyfasta.records import") - (("from split_fasta import") - "from pyfasta.split_fasta import") - (("in f.iteritems") - "in f.items")) - (substitute* "pyfasta/fasta.py" - (("from collections import Mapping") - "from collections.abc import Mapping") - (("from records import") - "from pyfasta.records import")) - (substitute* "pyfasta/records.py" - (("cPickle") "pickle") - (("\\(int, long\\)") - "(int, int)") - ;; XXX: it's not clear if this is really correct. - (("buffer\\(self\\)") - "memoryview(bytes(str(self), encoding='utf-8'))") - (("sys.maxint") "sys.maxsize")) - (substitute* "pyfasta/split_fasta.py" - (("from cStringIO import") - "from io import") - (("in lens.iteritems") "in lens.items")) - (substitute* "tests/test_all.py" - (("f.keys\\(\\)\\) == \\['a-extra'") - "list(f.keys())) == ['a-extra'") - (("f.iterkeys\\(\\)") "iter(f.keys())") - (("tests/data/" m) - (string-append (getcwd) "/" m)))))))) - (propagated-inputs (list python-numpy)) - (native-inputs (list python-nose python-setuptools python-wheel)) - (home-page "https://github.com/brentp/pyfasta/") - (synopsis "Pythonic access to fasta sequence files") - (description - "This library provides fast, memory-efficient, pythonic (and -command-line) access to fasta sequence files. It stores a flattened version -of a fasta sequence file without spaces or headers and uses either a -@code{mmap} in numpy binary format or @code{fseek}/@code{fread} so the -sequence data is never read into memory. It saves a pickle (@code{.gdx}) of -the start and stop (for @code{fseek}/@code{mmap}) locations of each header in -the fasta file for internal use. - -Note that this package has been deprecated in favor of @code{pyfaidx}.") - (license license:expat)))) - (define-public python-schema-salad (package (name "python-schema-salad") |