gnu: pyscenic: Update to 0.11.2-1.5f170fd.
* gnu/packages/bioinformatics.scm (pyscenic): Update to 0.11.2-1.5f170fd. [build-system]: Use pyproject-build-system. [arguments]: Patch setup.py. [propagated-inputs]: Add python-pyarrow. Change-Id: I3acd7c921c2c44741c0afd0bbda011f63ed14c42
parent
46b1e717cf
commit
93597fc39c
|
@ -18066,67 +18066,77 @@ tree-based ensemble regressors.")
|
||||||
(license license:bsd-3)))
|
(license license:bsd-3)))
|
||||||
|
|
||||||
(define-public pyscenic
|
(define-public pyscenic
|
||||||
(package
|
;; Latest commit from the update-pyarrow branch
|
||||||
(name "pyscenic")
|
(let ((commit "5f170fdf474548c37ab381d1849c662820d658ee")
|
||||||
(version "0.11.2")
|
(revision "1"))
|
||||||
(source
|
(package
|
||||||
(origin
|
(name "pyscenic")
|
||||||
(method git-fetch)
|
(version (git-version "0.11.2" revision commit))
|
||||||
(uri (git-reference
|
(source
|
||||||
(url "https://github.com/aertslab/pySCENIC")
|
(origin
|
||||||
(commit version)))
|
(method git-fetch)
|
||||||
(file-name (git-file-name name version))
|
(uri (git-reference
|
||||||
(sha256
|
(url "https://github.com/aertslab/pySCENIC")
|
||||||
(base32
|
(commit commit)))
|
||||||
"0pbmmr1zdb1vbbs6wx357s59d13pna6x03wq8blj6ckjws8bbq73"))))
|
(file-name (git-file-name name version))
|
||||||
(build-system python-build-system)
|
(sha256
|
||||||
(arguments
|
(base32
|
||||||
`(#:phases
|
"03qkvy400rjndg2ds6bhcaprir71mqr2v3yv9vd77lcnzxgw3s0z"))))
|
||||||
(modify-phases %standard-phases
|
(build-system pyproject-build-system)
|
||||||
;; Numba needs a writable dir to cache functions.
|
(arguments
|
||||||
(add-before 'check 'set-numba-cache-dir
|
(list
|
||||||
(lambda _
|
#:phases
|
||||||
(setenv "NUMBA_CACHE_DIR" "/tmp")))
|
'(modify-phases %standard-phases
|
||||||
(replace 'check
|
;; The cli modules referenced here have been removed, so this
|
||||||
(lambda _
|
;; breaks the sanity check.
|
||||||
(invoke "pytest" "-v"))))))
|
(add-after 'unpack 'do-not-reference-deleted-modules
|
||||||
(propagated-inputs
|
(lambda _
|
||||||
(list python-ctxcore
|
(substitute* "setup.py"
|
||||||
python-cytoolz
|
(("'db2feather = .*',") "")
|
||||||
python-multiprocessing-on-dill
|
(("'invertdb = .*',") "")
|
||||||
python-llvmlite
|
(("'gmt2regions = pyscenic.cli.gmt2regions:main'") ""))))
|
||||||
python-numba
|
;; Numba needs a writable dir to cache functions.
|
||||||
python-attrs
|
(add-before 'check 'set-numba-cache-dir
|
||||||
python-frozendict
|
(lambda _
|
||||||
python-numpy
|
(setenv "NUMBA_CACHE_DIR" "/tmp"))))))
|
||||||
python-pandas
|
(propagated-inputs
|
||||||
python-cloudpickle
|
(list python-ctxcore
|
||||||
python-dask
|
python-cytoolz
|
||||||
python-distributed
|
python-multiprocessing-on-dill
|
||||||
python-arboreto
|
python-llvmlite
|
||||||
python-boltons
|
python-numba
|
||||||
python-setuptools
|
python-attrs
|
||||||
python-pyyaml
|
python-frozendict
|
||||||
python-tqdm
|
python-numpy
|
||||||
python-interlap
|
python-pandas
|
||||||
python-umap-learn
|
python-cloudpickle
|
||||||
python-loompy
|
python-dask
|
||||||
python-networkx
|
python-pyarrow ;XXX for dask
|
||||||
python-scipy
|
python-distributed
|
||||||
python-fsspec
|
python-arboreto
|
||||||
python-requests
|
python-boltons
|
||||||
python-aiohttp
|
python-setuptools
|
||||||
python-scikit-learn))
|
python-pyyaml
|
||||||
(native-inputs
|
python-tqdm
|
||||||
(list python-pytest))
|
python-interlap
|
||||||
(home-page "https://scenic.aertslab.org/")
|
python-umap-learn
|
||||||
(synopsis "Single-Cell regulatory network inference and clustering")
|
python-loompy
|
||||||
(description
|
python-networkx
|
||||||
"pySCENIC is a Python implementation of the SCENIC pipeline (Single-Cell
|
python-scipy
|
||||||
|
python-fsspec
|
||||||
|
python-requests
|
||||||
|
python-aiohttp
|
||||||
|
python-scikit-learn))
|
||||||
|
(native-inputs
|
||||||
|
(list python-pytest))
|
||||||
|
(home-page "https://scenic.aertslab.org/")
|
||||||
|
(synopsis "Single-Cell regulatory network inference and clustering")
|
||||||
|
(description
|
||||||
|
"pySCENIC is a Python implementation of the SCENIC pipeline (Single-Cell
|
||||||
rEgulatory Network Inference and Clustering) which enables biologists to infer
|
rEgulatory Network Inference and Clustering) which enables biologists to infer
|
||||||
transcription factors, gene regulatory networks and cell types from
|
transcription factors, gene regulatory networks and cell types from
|
||||||
single-cell RNA-seq data.")
|
single-cell RNA-seq data.")
|
||||||
(license license:gpl3+)))
|
(license license:gpl3+))))
|
||||||
|
|
||||||
(define-public python-ikarus
|
(define-public python-ikarus
|
||||||
(package
|
(package
|
||||||
|
|
Reference in New Issue