Skip to main content

clone2vec

Tests PyPI License: MIT

clone2vec is a Python package for analysis of lineage tracing coupled with single-cell RNA-Seq.

The main key of the package are clonal embeddings — vector representations of the whole clones in low dimensional space. These representations is a dropout-robust and cluster-free way of representation of heterogeneity within clonal behaviour for cell type tree-free hypothesis generation regarding cells' multipotency.

clone2vec builds representation of clones in exact same way with popular word embedding algorithm — word2vec — via construction two-layers fully connected neural network (it uses Skip-Gram architecture) that aims to predict neighbour cells clonal labellings by clonal label of cells. As a result, clones that exist in similar context in gene expression space will have similar weights in this neural network, and these weights will be used as embedding for further analysis.

Installation

clone2vec might be installed via pip (takes 1-2 minutes on Google Colab):

pip install clone2vec

or the latest development version can be installed from GitHub using:

pip install git+https://github.com/kharchenkolab/clone2vec

System requirements

clone2vec requires Python 3.10 or later with packages listed in setup.cfg file. The package was successfully tested on the following systems:

  • macOS Sonoma 14.5 (Apple M1 Chip @ 3.20GHz × 8, 16GB RAM) — MacBook Air M1,
  • Ubuntu 18.04.5 LTS, 64-bit (Intel Xeon @ 2.60GHz × 32, 256GB RAM) — PowerEdge server,
  • Ubuntu 22.04.3 LTS, 64-bit (Intel Xeon @ 2.20GHz × 2, 13GB RAM) — Google Colab.

Documentation and tutorials

Please visit documentation web-site to check out API description and a few tutorials with analysis.

Citation

If you use this code or clone2vec in your work, please cite:

Isaev S, Erickson AG, Adameyko I, Kharchenko PV. Clonal embeddings allow exploratory analysis of lineage-resolved single-cell data. bioRxiv 2026.04.30.720820 (2026). https://doi.org/10.64898/2026.04.30.720820

@article{isaev2026clone2vec,
  title   = {Clonal embeddings allow exploratory analysis of lineage-resolved single-cell data},
  author  = {Isaev, Sergey and Erickson, Alek G and Adameyko, Igor and Kharchenko, Peter V},
  journal = {bioRxiv},
  year    = {2026},
  pages   = {2026.04.30.720820},
  doi     = {10.64898/2026.04.30.720820},
  url     = {https://doi.org/10.64898/2026.04.30.720820}
}

Metadata

Release files for clone2vec 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for clone2vec 0.2.2
File Size Uploaded Provenance Actions
clone2vec-0.2.2.tar.gz 131.2 kB Without provenance Details for clone2vec-0.2.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for clone2vec 0.2.2
File Interpreter ABI Platform Actions
clone2vec-0.2.2-py3-none-any.whl Python 3 none any Details for clone2vec-0.2.2-py3-none-any.whl

Total release size: 248.8 kB

Release files / clone2vec-0.2.2.tar.gz

Download URL clone2vec-0.2.2.tar.gz
Size 131.2 kB
Tags Source
SHA-256 checksum
How to use checksums
2c4a5e3265f10f25d3afb42635a39a6ff8876ca25bd9457d2c972d2b6a68b027
BLAKE2b-256 checksum
How to use checksums
bd4e21c36595ffa947287d7a89e73a4876422fd9e0d54654b2e03de0dd8a37a8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / clone2vec-0.2.2-py3-none-any.whl

Download URL clone2vec-0.2.2-py3-none-any.whl
Size 117.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
126757aebf6cf81d6589ed028e3b82466b03e3f68a30aa8121b80115cff1f43e
BLAKE2b-256 checksum
How to use checksums
4f4583576ef380cd230c0275b26478b4ff08f9c8f3fd9b4e100d31b4472ad8ba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for clone2vec 0.2.2

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page