diff options
| author | Navid Afkhami <navid.afkhami@mdc-berlin.de> | 2025-02-21 15:36:30 +0000 |
|---|---|---|
| committer | Ricardo Wurmus <rekado@elephly.net> | 2025-02-21 17:40:49 +0100 |
| commit | dfabaa8a6faa58612a069eb47ee3f35a94b146fb (patch) | |
| tree | 918539ba2f2b75e9f6763994e3b415a4586c087a /gnu | |
| parent | 82be68a42b1e95903f24bd0880be561b10d16499 (diff) | |
gnu: Add python-pygam.
* gnu/packages/bioinformatics.scm (python-pygam): New variable.
Change-Id: I0bdd26546b17e3e0f96a32c6de9674d1731ba978
Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/bioinformatics.scm | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index af8756af090..f9b23bceba7 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm | |||
| @@ -3579,6 +3579,50 @@ annotation, provides Python genomic feature search and sequence retrieval from | |||
| 3579 | the managed genomes, STAR indexing and mapping and more.") | 3579 | the managed genomes, STAR indexing and mapping and more.") |
| 3580 | (license license:gpl3+)))) | 3580 | (license license:gpl3+)))) |
| 3581 | 3581 | ||
| 3582 | (define-public python-pygam | ||
| 3583 | (package | ||
| 3584 | (name "python-pygam") | ||
| 3585 | (version "0.9.1") | ||
| 3586 | (source | ||
| 3587 | (origin | ||
| 3588 | (method git-fetch) | ||
| 3589 | (uri (git-reference | ||
| 3590 | (url "https://github.com/dswah/pyGAM") | ||
| 3591 | (commit (string-append "v" version)))) | ||
| 3592 | (file-name (git-file-name name version)) | ||
| 3593 | (sha256 | ||
| 3594 | (base32 "1bv404idswsm2ay3yziq1i2cbydq4f3vjav5s4i15bgd13k7zvim")))) | ||
| 3595 | (build-system pyproject-build-system) | ||
| 3596 | (arguments | ||
| 3597 | (list | ||
| 3598 | #:phases | ||
| 3599 | #~(modify-phases %standard-phases | ||
| 3600 | (add-before 'build 'patch-pyproject | ||
| 3601 | (lambda _ | ||
| 3602 | (substitute* "pyproject.toml" | ||
| 3603 | ;; Change build backend | ||
| 3604 | (("build-backend = .*") | ||
| 3605 | "build-backend = \"poetry.core.masonry.api\"\n") | ||
| 3606 | ;; Modify version field | ||
| 3607 | (("^version = \"0.0.0\"") | ||
| 3608 | (string-append "version = \"" #$version "\"")))))))) | ||
| 3609 | (propagated-inputs (list python-black | ||
| 3610 | python-flake8 | ||
| 3611 | python-ipython | ||
| 3612 | python-numpy | ||
| 3613 | python-pandas | ||
| 3614 | python-poetry-core | ||
| 3615 | python-progressbar2 | ||
| 3616 | python-scipy)) | ||
| 3617 | (native-inputs (list python-mock python-pytest python-pytest-cov)) | ||
| 3618 | (home-page "https://github.com/dswah/pyGAM") | ||
| 3619 | (synopsis "Generalized additive models in Python") | ||
| 3620 | (description | ||
| 3621 | "This tool is for building Generalized Additive Models in Python. | ||
| 3622 | It emphasizes modularity and performance. The API will be immediately | ||
| 3623 | familiar to anyone with experience of scikit-learn or scipy.") | ||
| 3624 | (license license:asl2.0))) | ||
| 3625 | |||
| 3582 | (define-public python-pysnptools | 3626 | (define-public python-pysnptools |
| 3583 | (package | 3627 | (package |
| 3584 | (name "python-pysnptools") | 3628 | (name "python-pysnptools") |
