Skip to main content
Glama

mark_var

Identify genes meeting specific conditions (e.g., mitochondrion, ribosomal, hemoglobin) and store results as boolean values in adata.var for quality control metrics calculation.

Instructions

Determine if each gene meets specific conditions and store results in adata.var as boolean values.for example: mitochondrion genes startswith MT-.the tool should be call first when calculate quality control metrics for mitochondrion, ribosomal, harhemoglobin genes. or other qc_vars

Input Schema

NameRequiredDescriptionDefault
gene_classNoGene class type (Mitochondrion/Ribosomal/Hemoglobin)
pattern_typeNoPattern matching type (startswith/endswith/contains), it should be None when gene_class is not None
patternsNogene pattern to match, must be a string, it should be None when gene_class is not None
var_nameNoColumn name that will be added to adata.var, do not set if user does not ask

Input Schema (JSON Schema)

{ "description": "Determine or mark if each gene meets specific conditions and store results in adata.var as boolean values", "properties": { "gene_class": { "anyOf": [ { "enum": [ "mitochondrion", "ribosomal", "hemoglobin" ], "type": "string" }, { "type": "null" } ], "default": null, "description": "Gene class type (Mitochondrion/Ribosomal/Hemoglobin)", "title": "Gene Class" }, "pattern_type": { "anyOf": [ { "enum": [ "startswith", "endswith", "contains" ], "type": "string" }, { "type": "null" } ], "default": null, "description": "Pattern matching type (startswith/endswith/contains), it should be None when gene_class is not None", "title": "Pattern Type" }, "patterns": { "default": null, "description": "gene pattern to match, must be a string, it should be None when gene_class is not None", "title": "Patterns", "type": "string" }, "var_name": { "default": null, "description": "Column name that will be added to adata.var, do not set if user does not ask", "title": "Var Name", "type": "string" } }, "title": "MarkVarModel", "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