Skip to main content
Glama

score_genes_cell_cycle

Analyze and assign cell cycle phases by scoring S and G2M phase genes in single-cell RNA data. Supports gene pool sampling, expression level binning, and custom score naming for detailed cell cycle analysis.

Instructions

Score cell cycle genes and assign cell cycle phases

Input Schema

NameRequiredDescriptionDefault
g2m_genesYesList of genes associated with G2M phase.
gene_poolNoGenes for sampling the reference set. Default is all genes.
n_binsNoNumber of expression level bins for sampling.
random_stateNoThe random seed for sampling.
s_genesYesList of genes associated with S phase.
score_nameNoName of the field to be added in .obs. If None, the scores are added as 'S_score' and 'G2M_score'.
use_rawNoWhether to use raw attribute of adata. Defaults to True if .raw is present.

Input Schema (JSON Schema)

{ "description": "Input schema for the score_genes_cell_cycle tool that scores cell cycle genes.", "properties": { "g2m_genes": { "description": "List of genes associated with G2M phase.", "items": { "type": "string" }, "title": "G2M Genes", "type": "array" }, "gene_pool": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "description": "Genes for sampling the reference set. Default is all genes.", "title": "Gene Pool" }, "n_bins": { "default": 25, "description": "Number of expression level bins for sampling.", "exclusiveMinimum": 0, "title": "N Bins", "type": "integer" }, "random_state": { "default": 0, "description": "The random seed for sampling.", "title": "Random State", "type": "integer" }, "s_genes": { "description": "List of genes associated with S phase.", "items": { "type": "string" }, "title": "S Genes", "type": "array" }, "score_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Name of the field to be added in .obs. If None, the scores are added as 'S_score' and 'G2M_score'.", "title": "Score Name" }, "use_raw": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "description": "Whether to use raw attribute of adata. Defaults to True if .raw is present.", "title": "Use Raw" } }, "required": [ "s_genes", "g2m_genes" ], "title": "ScoreGenesCellCycleModel", "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/huang-sh/scmcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server