Published July 27, 2026 | Version 2.1.2

ONTraC (Ordered Niche Trajectory Construction)

Description

ONTraC (Ordered Niche Trajectory Construction) is a niche-centered, machine learning method for constructing spatially continuous trajectories. ONTraC differs from existing tools in that it treats a niche, rather than an individual cell, as the basic unit for spatial trajectory analysis. In this context, we define niche as a multicellular, spatially localized region where different cell types may coexist and interact with each other. ONTraC seamlessly integrates cell-type composition and spatial information by using the graph neural network modeling framework. Its output, which is called the niche trajectory, can be viewed as a one dimensional representation of the tissue microenvironment continuum. By disentangling cell-level and niche-level properties, niche trajectory analysis provides a coherent framework to study coordinated responses from all the cells in association with continuous tissue microenvironment variations.

ONTraC website

Software GitHub repository

Reproducible code for ONTraC V1 (Genome Biology) paper

Zenodo dataset repository for ONTraC V1 (Genome Biology) paper

Reproducible code for ONTraC V2 (Small Methods) paper

ONTraC V1 (Genome Biology) paper link

ONTraC V2 (Small Methods) paper link

 

Files

CHANGELOG.md

Files (211.8 kB)

Name Size Download all
md5:f51e491a9ee78971250061d09f15e6b9
10.8 kB Preview Download
md5:0d0b262c5cf87292a455add7531b2732
107.6 kB Download
md5:4e8fc8514b9290ae8fb2faadf16eae9e
93.4 kB Download

Additional details

Related works

Is supplement to
Software: 10.1186/s13059-025-03588-5 (DOI)

Software

Repository URL
https://github.com/gyuanlab/ONTraC
Programming language
Python
Development Status
Active