Cortical annotator model card

Atlas v5 full, HVS-tuned · Model policy and checksums · Python CLI bundle

Intended use and training

Experimental label transfer for human cortical RNA count profiles. Use a broad class for initial review and check it against markers and sample context. Treat subclasses, especially IT layers, as candidates that need confirmation. The model is unsuitable for clinical decisions or unreviewed layer-level inference. It can produce a strong score for a class outside the input taxonomy.

The frozen SEA-AD MTG reference classifier supplied atlas labels used to fit a residual model. A Human Variation Study (HVS) correction was fitted and tuned on neurosurgical cortex. Lin neocortex and SEA-AD angular gyrus informed adoption. The earlier angular-gyrus comparison included 19 donors who supplied MTG data. Independent provenance cannot be inferred from donor identifiers alone.

Input and output

Supply finite, nonnegative integer RNA counts and unique barcodes. Select the raw-count slot and the gene ID and symbol columns for AnnData. Typed Cell Ranger inputs keep Gene Expression features. Untyped tables are assumed to contain RNA. Gene matching uses Ensembl IDs, symbols and aliases. The first eligible feature mapped to an atlas gene is used. The fit normalises over the mapped model universe, while the scoring floor counts classifier features and molecules separately.

The file must match at least 200 of the 2,000 classifier features. A score requires at least 20 detected classifier features and 50 molecules across them in the individual profile. The same floor applies to the browser and released Python CLI. Direct Python API calls to FrozenAtlas.run() retain the original positive-count default. Pass min_features=200, apply_evidence_floor=True to apply the CLI evidence requirements.

Possible outcomes
StatusReasonOutput
assignedEvidence and score rules metBroad class and subclass suggestion
broad_classit_marginBroad excitatory assignment when both leading candidates are IT and the score gap is below 0.30
unresolvedlow_scoreTop score below 0.63. Candidate scores are available for review.
unresolvedno_classifier_countsZero classifier-feature molecules. Score and candidates are blank.
unresolvedinsufficient_classifier_evidencePositive classifier counts below either floor. Score and candidates are blank.

Softmax scores express model preference. They lack cross-cohort probability calibration. The CSV contains barcodes. The JSON contains local file names, count-source choices, policy ID and model and software digests. Review both files before sharing.

Evaluation and limitations

In EasySci, 111,448 of 118,240 profiles had a subclass suggestion, 50 were assigned broad class only, and 6,742 were unresolved, including 2,012 unscored. Pooled disagreement was 2,265 among the 73,695 accepted subclass suggestions with a crosswalk anchor. The anchors cover glia and vasculature. All broad-only suggestions were outside the anchor set.

EasySci subclass outcomes for each author anchor
Author anchorInput profilesSubclass suggestionsDisagreements among suggestions
Astrocyte9,3198,836215
Endothelial3,8923,3691,649
Microglia/PVM8,3177,931272
OPC4,6224,49451
Oligodendrocyte50,15748,96562
VLMC15510016

Among accepted endothelial anchors, disagreement was 1,187/2,202 below 1,000 deposited UMIs, 439/1,079 at 1,000–2,999 and 23/88 at 3,000 or more. In the six held-out hippocampal donors, mean within-donor subclass coverage fell from 96.06% to 95.17% and mean accepted-anchor disagreement changed from 2.81% to 2.79%. These data establish how the floor changes coverage and partial-anchor agreement. Lin’s frozen-atlas recall and the independent MapMyCells comparison concern earlier scoring models on selected IT anchors. Full-taxonomy precision, disease-balanced cortical transfer, and the IT margin’s error rate remain unresolved.

Evidence sources are Supplementary Notes 1 and 11 and keyed tables X8_portal_selected_policy.csv, Y6_portal_outcomes.csv, Y6_atlas_agreement.csv and Y6_lin_recall.csv.

Run from a local copy

Save the matching static site directory with its relative paths. From the checkout root, serve it on loopback using the command below and open http://127.0.0.1:8000/index.html#annotate. Use an up-to-date browser with worker, Web Crypto and WebAssembly support. Loopback provides the secure context that Web Crypto requires. You can disconnect the Internet before opening Annotate. Keep the local server running while the page loads the model and parser.

python -m http.server 8000 --bind 127.0.0.1 --directory targets/portal_v0/site

The worker reads local file objects and sends no count-file data to a server. The page and worker fetch executable code, model files and examples from the page origin. The HDF5 reader uses the National Institute of Standards and Technology’s h5wasm, with its upstream license and notices. Opening a full-resolution expression map may request remote tiles. The loopback contract exercised HDF5 using the vendored WASM and WORKERFS in Node. Native-browser offline verification is pending.

Return to Annotate