Changelog#

All notable changes to this project will be documented in this file.

Unreleased#

Added#

  • atlas.tl.CellRankExtension.set_kernel supplies a precomputed transition kernel, as an alternative to atlas.tl.CellRankExtension.compute_kernel, on which atlas.tl.CellRankExtension.run operates unchanged. The kernel is a numpy.ndarray or scipy.sparse matrix, whose rows and columns are taken to follow mudata.obs_names. A matrix whose rows do not sum to 1 is normalised with a warning, and one with negative entries or rows with no positive entry is rejected.

Fixed#

  • Cap muon <0.2 as muon 0.2.0 no longer accepts use_raw=None, which atlas.pl.embedding passes by default.

  • Cap anndata <0.13 as anndata 0.13 with scanpy <1.12 fails to plot boolean .obs columns.

  • Restore the Intel macOS instructions in the README. Intel macOS now needs scikit-misc from conda-forge as well, as scikit-misc 0.5.3 publishes no macOS x86_64 wheels and building it needs a Fortran compiler.

  • Linux aarch64 installs the trees extra from wheels alone, as scikit-misc 0.5.3 publishes aarch64 wheels; the platform record no longer says it needs a build.

[1.1.2] - 2026-10-07#

  • Cap scanpy <1.12 as higher versions are incompatible with current muon.

[1.1.1] - 2026-09-15#

Fixed#

  • Cap anndata <= 0.13.3 as the actual 0.13.3.post0 version has no H5Group anymore and CellRank actual version does not deal yet with it. (cellrank issue #1377)

Added#

  • The published release is now verified on every platform it claims, by installing it from PyPI the way this project’s own documentation tells each platform to install it: pip install atlas-smilies on Linux x86_64, Linux aarch64, macOS arm64 and Windows, and the documented conda-provided base on Intel macOS, each at Python 3.11 and 3.14. It runs when a release is published and twice a month thereafter.

[1.1.0] - 2026-08-26#

Added#

  • atlas.tl.PalantirExtension.early_cell selects the initial cell required by atlas.tl.PalantirExtension.run from the multiscale diffusion space, so it no longer has to be picked by hand. Selection is delegated to palantir.utils.early_cell, which cannot accept a MuData directly. The expensive fallback remains opt-in through fallback_seed and warns before it runs, since it costs as much as run itself.

  • atlas.pp.compute_gene_activity derives a gene activity modality from scATAC-seq without building any graph, so it can be run, inspected or replaced on its own. The number of components used for its reduction is settable through n_comps.

  • atlas.pp.wnn builds a weighted nearest neighbor graph over any two modalities, rather than only gene expression and gene activity. Neighborhood size, number of components and representation accept either a single value for every modality or a per-modality mapping.

  • atlas.pp.knn builds a nearest neighbor graph over an already integrated representation, such as the output of a joint embedding method, for which no weighting applies. It stores the graph under "joint" by default, rather than the "wnn" used by atlas.pp.wnn, so that a graph built without weighting is not filed under a name denoting one.

  • atlas.tl.umap embeds a graph built using atlas.pp.wnn or atlas.pp.knn into an UMAP. The function is compatible with graphs computed via ATLAS and extend muon.tl.umap or scanpy.tl.umap depending whether the graph was computed using multiple modalities or a single precomputed matrix. When neighbors_key is not given the graph is found rather than assumed: the two entry points store under different keys, so no default would be right for both. The embedding is always stored in .obsm["X_umap"], where atlas.pl looks for it.

  • atlas.tl.PalantirExtension.compute_kernel and atlas.tl.CellRankExtension.compute_kernel accept key, naming the record under which a graph is stored. The matrices they need, and the neighborhood size, are resolved from that record, so the key alone identifies a graph however it was built. Names are looked up in the record rather than assembled from the key, falling back to the conventional name when the record omits one.

  • atlas.pl.embedding plots cells in a stored embedding, extending muon.pl.embedding. Any embedding in .obsm is resolved, named with or without the X_ prefix, rather than only those the plotting dependency privileges by name. A color key resolves against .obs and the features of every modality; continuous and categorical keys may be mixed. Colors chosen for a categorical key are recorded on the object as .uns["<key>_colors"], the convention the scverse ecosystem reads, so values keep their colors across calls and agree with figures drawn by scanpy or muon directly; colors already recorded there are used as they are. Keys that resolve to nothing are reported before plotting, naming where they were looked for, rather than failing inside a dependency.

  • States deriving from the TI in inference process are recorded as categorical columns of mudata.obs — initial_states, terminal_states and macrostates — where a cell carries the name of the state it belongs to, or no value where it belongs to none. Separate columns per kind are what let a cell belong to states of more than one kind, which allow_overlap permits, and what a single column could not represent. macrostates records the coarse-graining where one was computed, which is atlas.tl.CellRankExtension inferring its own states, and the union of the initial and terminal states where none was — atlas.tl.PalantirExtension, which has no such concept, and CellRankExtension given its states — so the column can be read whichever entry point produced the object.

  • Inferred states colors are recorded where the scverse ecosystem reads them: uns["initial_states_colors"], uns["terminal_states_colors"] and uns["macrostates_colors"], each a list aligned to its column’s categories. They are assigned in a single pass over the union of the names so a state appearing under more than one kind carries the same colour in each list, no two states share a colour, and the same names are coloured the same way whichever inference produced them. uns["atlas_state_palette"] records what was assigned.

  • atlas.tl.reset_state_colors restores the recorded color assignment and rewrites every list from uns["atlas_state_palette"].

  • atlas.tl.migrate_states records the states of an object written by the earlier 1.0.0 version in the current form. The macrostate column is reconstructed as the union of the initial, terminal and intermediate states recorded. It is non-destructive and idempotent.

  • atlas.pl.trends plots how a transcription factor’s expression and the chromatin activity of the genes it may regulate move along pseudotime, per lineage. It supersedes atlas.pl.plot_trends. Several genes are drawn in one figure instead of one figure each. Lineage colours come from .obs["terminal_states"] and .uns["terminal_states_colors"], falling back to the superseded mapping with a FutureWarning. return_models returns the fitted models instead of the axes.

  • atlas.pl.fate_probabilities plots which fates each cell is torn between on an embedding. It supersedes atlas.pl.plot_fate_probabilities. No Lineage object from CellRank is built: the recorded probabilities go to the drawing call as they are, with the colours supplied alongside them. Colours come from .obs["terminal_states"] and .uns["terminal_states_colors"], matched by name, falling back to the superseded mapping with a FutureWarning. A single lineage — whether the object records one or one is named — is shaded by its own probability on a scale fixed to [0, 1], so it renders flat exactly when nothing varies rather than by a special case. A lineage name that is not recorded raises rather than being dropped, and a probability that is not a number is reported and nothing is drawn.

  • atlas.pl.fate_tree plots the branching structure implied by fate probabilities, using scFates. It supersedes atlas.pl.plot_tree. Both views are drawn on one figure: the principal tree projected onto an embedding, and the dendrogram, and coloured by one color. One legend and one colour bar are drawn for the figure rather than one of each per view. return_tree hands back the fitted tree instead of the axes, and tree takes one back to be drawn again without refitting; root names which recorded initial state anchors the tree. Initial states are read from .obs["initial_states"], falling back to the superseded mapping with a FutureWarning, and fate colours from .obs["terminal_states"] and .uns["terminal_states_colors"]. There is no parameter narrowing the fates.

  • atlas.tl.MultiLineageGAM fits the models behind those curves and can be used on its own. Differently from the previous MultiBranchGAM class it allows for a sequence of genes and fits the transcription factor once per lineage for the whole call rather than once per gene. Each gene is standardized from its own values, so fitting several at once gives what fitting each separately gives. Results are grouped by lineage, with the pseudotime grid at the lineage level since it derives from that lineage’s weights.

  • The optional PETSc acceleration behind atlas.tl.CellRankExtension.run is now documented on the method. method="krylov" needs petsc4py and slepc4py, which ATLAS does not install. Without them CellRank falls back to method="brandts", which requires a dense transition matrix. Neither default changed, and ATLAS adds no message of its own — CellRank already reports both substitutions when they happen.

  • atlas.pp.compute_gene_activity now documents that reading the fragment file requires pysam, which neither ATLAS nor muon installs by default — it sits behind muon’s atac extra. ATLAS keeps muon’s own arrangement and lets muon’s ImportError, which carries its own installation instructions, reach the caller unaltered.

  • The platforms ATLAS supports are now recorded in platform-support.toml and checked installation and import. The record carries one entry per platform, Python version and installation shape, each stating the outcome expected of it, and the Platforms workflow resolves every one of them against PyPI and fails when reality differs. ATLAS is additionally installed and imported on Linux x86_64 and aarch64, macOS arm64 and x86_64, and Windows x86_64, and the test suite now runs on macOS and Windows as well as Linux. macOS x86_64 is documented as unsupported: pip install atlas-smilies fails there at every Python version. The README states what has been verified and to what depth: a platform checked only by resolution is not described as tested.

  • Platform verification now runs at a cadence matched to what each check detects. The resolution matrix — which cross-resolves every supported platform against PyPI in about twenty seconds — runs on every change, since it is the only check that sees a dependency change breaking a platform the test suite does not run on. The jobs that install and import ATLAS on real runners for each platform, and the non-Linux test suites, run on the twice-monthly schedule instead: what they detect is upstream packaging changing rather than anything in this repository. Every claim in platform-support.toml is unchanged; only when it is checked has changed.

  • Installation is documented to benefit from a fresh environment, created with either venv or conda, and the README warns against installing into an environment that already holds other work. Both environment tools are verified in CI on every supported platform: a clean conda environment resolves the same versions as a virtual environment, since conda supplies the interpreter and pip resolves the dependencies either way.

  • macOS x86_64 (Intel) is supported through a documented exception. Installing numba, llvmlite, jax and jaxlib from conda-forge first and then pip install atlas-smilies[trees] on top works, and is verified in CI on Python 3.11 and 3.14. The test suite also runs in that environment on the twice-monthly schedule.

Fixed#

  • atlas.pl.fate_tree can no longer be installed against a scFates it raises on. scfates was declared by name alone, the only dependency with no bound at all, so a resolver could select any release ever published. The floor is now >=1.2.0, the oldest release measured to run within the dependency ranges ATLAS declares.

  • The principal tree drawn from fate probabilities is now reproducible for a given random_state. In version 1.0.0 the seed reached only the pseudotime projection and never scFates.tl.tree, so the same object drew a different tree on every call — down to a different number of tips.

  • The state anchoring that tree is no longer chosen by dictionary order. In version 1.0.0 the root was taken from whichever initial state came first in uns["initial_states"], and the root decides which fate reads as the origin and which read as outcomes — pseudotime along the tree being distance from it. atlas.pl.fate_tree uses the sole recorded initial state, or raises naming them when several are recorded and root names none. Cells recorded for a state that the object no longer holds now raise, rather than resolving to the last row of the assignment matrix.

  • atlas.pl.fate_tree does not require obs["kl_divergence"], which atlas.pl.plot_tree returns early without. Nothing reads that column: cellrank computes the priming degree from the fate probabilities themselves.

  • cluster_key in atlas.tl.PalantirExtension.run now renames inferred states and nothing else, which is what it was documented to do. In version 1.0.0 is two terminal cells fell in one cluster it also merged them into a single state and summed their fate probabilities. States are now disambiguated instead, as atlas.tl.CellRankExtension does, appending a number where a name is claimed by more than one state and leaving a name claimed by one alone; disambiguation spans the initial and terminal states together, so a state under both keeps one name. Callers who pass cluster_key will find obsm["fate_probabilities"] differs from 1.0.0 — one column per terminal state rather than per cluster, unsummed.

Deprecated#

  • atlas.pl.plot_trends is superseded by atlas.pl.trends. It continues to behave exactly as before and now emits a FutureWarning; it is removed in 2.0.0, together with the fitting procedure it uses, which exists only to serve it.

  • atlas.pl.plot_tree is superseded by atlas.pl.fate_tree. It continues to behave exactly as before — same two figures, same colouring of only the dendrogram, same warn-and-return on a key it cannot find, same irreproducible fit — and now emits a FutureWarning; it is removed in 2.0.0.

  • atlas.pl.plot_fate_probabilities is superseded by atlas.pl.fate_probabilities. It continues to behave exactly as before — same colouring, same handling of a lineage it cannot find, same return value — and now emits a FutureWarning; it is removed in 2.0.0.

  • mudata.uns["initial_states"], ["terminal_states"], ["intermediate_states"] and ["fate_state_colors"] are superseded by the state columns and colour lists above. They continue to be written and to behave exactly as before, and are removed in 2.0.0. A stored key cannot emit a FutureWarning when it is read, so nothing announces this at the point of use; atlas.tl.migrate_states is the route for an object already saved.

  • atlas.pl.plot_embedding is superseded by atlas.pl.embedding. It continues to behave exactly as before — same color map, same handling of keys it cannot resolve, same return value, and it still leaves the object it is given untouched — and now emits a FutureWarning; it is removed in 2.0.0.

  • knn_key and distance_key in atlas.tl.PalantirExtension.compute_kernel, and connectivity_key in atlas.tl.CellRankExtension.compute_kernel, are superseded by key. They continue to behave exactly as before and now emit a FutureWarning; they are removed in 2.0.0. Supplying one together with key raises, since which graph was intended cannot be determined from both.

  • atlas.pp.preprocessing is superseded by atlas.pp.wnn, atlas.pp.knn, atlas.pp.compute_gene_activity and atlas.tl.umap. It continues to behave exactly as before and now emit a FutureWarning; it is removed in 2.0.0.

Changed#

  • atlas.pl.fate_tree fits its tree without building a cellrank.Lineage. The fate probabilities reach scFates.tl.cellrank_to_tree under the keys the projection reads them back from — .obsm["lineages_fwd"], .obs["term_states_fwd"] and .uns["term_states_fwd_colors"] — so ATLAS no longer imports anything from cellrank._utils, a private module path. The fitted tree is unchanged. A tree obtained through return_tree now carries .obsm["lineages_fwd"] as a plain array where 1.1.0 carried a cellrank.Lineage, so it can no longer be indexed by fate name; mudata.obsm["fate_probabilities"] is what to read instead.

  • atlas.pl.fate_tree refuses fate probabilities the projection’s normalisation cannot carry, rather than fitting a tree on them. A value that is not a number left every cell with the same fate profile, so the tree followed the pseudotime alone and came back a plausible straight line; an infinite value zeroed its own fate’s column, so the tree was fitted on one fate fewer while still branching normally. Neither raised anything. Negative probabilities, and a fate carrying zero probability for every cell, are refused on the same terms. A cell carrying zero probability for every fate is still drawn, at the centre where a cell committed to nothing belongs.

  • The temporary AnnData objects built to interface with CellRank and Palantir are now constructed in atlas.tl.utils rather than inside the extension classes. Internal reorganisation with no change in behaviour.

  • atlas.tl.PalantirExtension and atlas.tl.CellRankExtension now live in atlas/tl/palantir\_extension.py and atlas/tl/cellrank\_extension.py respectively, replacing atlas/tl/trajectory\_inference.py. Both remain importable from atlas.tl as before.

  • Raised the minimum supported Palantir version from >1.3 to >=1.4.5, to establish a single numerical baseline for seeded results. Results produced against Palantir below 1.4.5 are not reproducible under this floor. Furthermore, palantir.utils.early_cell is guaranteed to forward eigvec_key to palantir.utils.fallback_terminal_cell.

  • Raised the maximum supported pandas version <3.0.0.

  • matplotlib and scipy are now declared dependencies with floors matplotlib>=3.9 and scipy>=1.13.

  • scfates is no longer a required dependency. It is now the trees extra, installed with pip install atlas-smilies[trees]. atlas.pl.fate_tree and the deprecated atlas.pl.plot_tree now raise an ImportError naming the extra and the exact install command, rather than surfacing a bare ModuleNotFoundError that names neither the feature nor the remedy. scvelo remains required: it is lazily imported in the same way, but its only additional cost is loompy, which is pure Python and builds anywhere.

Notes#

  • The new graph entry points annotate the object they are given rather than returning a restricted one, so no modality is removed. Where restricting which modalities take part is required, it happens on a throwaway object.

  • The new graph entry points compute no embedding, matching the convention that neighbor construction and embedding are separate steps. Trajectory inference reads only the graph and is unaffected; atlas.pl defaults to an embedding these routes do not produce.

Release#

[1.0.0] - 2026-05-25#

First public release

[0.0.5] - 2026-04-01#

Fixed#

  • Fix aggregation of fate probabilities when cluster_key is categorical preventing the inclusion of unused categories

  • Fix _safe_mudata MuData construction to make is compatible with mudata > 0.3

  • Fix muon.MuData copy mechanism in atlas.pp.preprocessing: if copy = True performs deep copy and preserves all information in the new MuData instance

Added#

  • Renamed atlas.tl.PalantirExtension.compute_diffusion_map in atlas.tl.PalantirExtension.compute_diffusion_maps

Removed#

  • Removed atlas.tl.PalantirExtension.compute_diffusion_map

[0.0.6] - 2026-04-09#

Fixed#

  • Fixed new MuData creation in atlas.pp.preprocessing with safe MuData copy and replacing del data.mod["atac"]

Added#

  • Added function _safe_mudata

[0.0.7] - 2026-04-10#

Changed#

  • Changed KeyError into warning in atlas.tl.evaluate.terminal_pseudotime_enrichment when no terminal states are found. In this case np.NaN is returned.

[0.0.8] - 2026-04-13#

Changed#

  • Added count_reads parameter to atlas.pp.preprocessing. The parameter is used in activity computation using muon.

  • Parameter n_neighbors in atlas.pp.preprocessing updated to include None and adopt standard behavior for mu.pp.neighbors.

  • Parameter knn_rna and knn_act in atlas.pp.neighbors set to 15 as in sc.pp.neighbors default version 1.12.0.

  • Parameter n_pcs_rna and n_pcs_act in atlas.pp.preprocessing set to 50 as in sc.pp.pca default version 1.12.0.

[0.0.9] - 2026-04-20#

Changed#

  • Changed plot size in atlas.pl.plot_trends and adjusted for labels and legend.

[0.0.11] - 2026-05-18#

Added#

  • Added backend parameter to atlas.tl.CellRankExtension.compute_transition_matrix. The parameter is used for parallelization.

  • Added backend parameter to atlas.tl.CellRankExtension.run. The parameter is used for parallelization.

[0.0.12] - 2026-05-20#

Changed#

  • Fixed plot fate probabilities when a single fate is found

[0.1.0] - 2026-05-23#

Package release on github