Views
No views yet
1from uce_brain.model import UCEForExpressionPrediction
2from uce_brain.data import H5ADDataset, UCEDataCollator, load_gene_mapping
3from huggingface_hub import hf_hub_download
4import scanpy as sc
5
6model = UCEForExpressionPrediction.from_pretrained("KuanP/uce-multispecies-2025-11-08").eval()
7gene_mapping = load_gene_mapping(hf_hub_download("KuanP/uce-multispecies-2025-11-08", "gene_mapping.json"))
8
9adata = sc.read_h5ad("path/to/your.h5ad")
10dataset = H5ADDataset(adata, gene_mapping=gene_mapping, species="callithrix_jacchus")multi-species branch) for the full inference pipeline and a notebook running on marmoset BICAN data.