Evolocity
Evolocity implements evolutionary velocity (evo-velocity), which models a protein sequence landscape as an evolutionary “vector field” by using the local evolutionary predictions enabled by language models to enable global evolutionary insight.
Evo-velocity uses the change in languge model likelihoods to estimate directionality between two biological sequences. Then, over an entire sequence similarity network, this procedure is used to direct network edges. Finally, network diffusion analysis can identify roots, order sequences in pseudotime, and identify mutations driving the velocity.
Evolocity is a fork of the scVelo tool for RNA velocity and relies on many aspects of the Scanpy library for high-dimensional biological data analysis. Like Scanpy and scVelo, evolocity makes use of anndata, an extremely convenient way to store and organize biological data.
Quick Start
Installation
You should be able to install evolocity using pip:
python -m pip install evolocity
API example
Below is a quick Python example of using evolocity to load and analyze sequences in a FASTA file.
import evolocity as evo
import scanpy as sc
# Load sequences and compute language model embeddings.
fasta_fname = 'data.fasta'
adata = evo.pp.featurize_fasta(fasta_fname)
# Construct sequence similarity network.
evo.pp.neighbors(adata)
# Run evolocity analysis.
evo.tl.velocity_graph(adata)
# Embed network and velocities in two-dimensions and plot.
sc.tl.umap(adata)
evo.tl.velocity_embedding(adata)
evo.pl.velocity_embedding_grid(adata)
evo.pl.velocity_embedding_stream(adata)
Metadata
Release files for evolocity 1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| evolocity-1.1.tar.gz | 73.7 kB | Without provenance | Details for evolocity-1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| evolocity-1.1-py3-none-any.whl | Python 3 | none | any | Details for evolocity-1.1-py3-none-any.whl |
Total release size: 160.9 kB
Release files / evolocity-1.1.tar.gz
| Download URL | evolocity-1.1.tar.gz |
|---|---|
| Size | 73.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cf80bf4aec45304834e3bce5c5e8c2746d45e09c5533a8fbd3316fa6e3055783
|
|
BLAKE2b-256 checksum How to use checksums |
230e1cc2e229d0f40d4b9726f565b0eebe1830ded3e085681385ef068d0564a4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Release files / evolocity-1.1-py3-none-any.whl
| Download URL | evolocity-1.1-py3-none-any.whl |
|---|---|
| Size | 87.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d74845fa45437521ba0a686201393d5bc10834d07494a5dacf4c422bc1fcc21f
|
|
BLAKE2b-256 checksum How to use checksums |
120a0abb50d560aa15105533e17728d4fb54f421a3c360f9a5f3a0a5587f4b9a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Security for evolocity 1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.