Zero-shot cell-type annotation from expression matrices
Geneformer is a transformer foundation model trained on 30M single cells by Chan-Zuckerberg. It classifies cell types from sparse expression matrices without any training. SciRouter is the first API aggregator hosting Geneformer alongside protein models.
/v1/singlecell/annotateimport requests
result = requests.post(
"https://scirouter.ai/v1/singlecell/annotate",
json={
"expression_matrix": [[5.0, 4.5, 0.1]],
"gene_names": ["CD4", "CD3D", "CD19"]
},
headers={"Authorization": "Bearer sk-sci-your-key"}
).json()
for p in result["data"]["predictions"]:
print(f"{p['predicted_cell_type']}: {p['confidence']}")Annotate single-cell RNA-seq datasets without training
Validate cluster assignments from Seurat/Scanpy
Quick cell-type sanity check