rare-disease-hpo-mapper
Map patient symptoms to Human Phenotype Ontology terms for gene diagnosis.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/aipoch-ai/rare-disease-hpo-mapperWhat This Skill Does
The rare-disease-hpo-mapper is a specialized OpenClaw AI agent skill designed for clinical phenotype standardization. It bridges the gap between unstructured clinical notes or symptom descriptions and the Human Phenotype Ontology (HPO), which is the international standard for phenotypic abnormalities. By converting raw patient symptoms into codified HPO terms, this skill facilitates accurate rare disease gene diagnosis, clinical trial recruitment, and research consistency. The skill utilizes a structured execution model via scripts/main.py, ensuring that every mapping process is reproducible, audit-ready, and documented with explicit assumptions, making it ideal for precision medicine workflows.
Installation
To integrate this tool into your OpenClaw environment, ensure you have Python 3.10+ installed and the required dependencies defined in the repository. Execute the following command in your terminal:
clawhub install openclaw/skills/skills/aipoch-ai/rare-disease-hpo-mapper
Verify the installation by running the validation command: python -m py_compile scripts/main.py. If successful, the script is ready for use.
Use Cases
- Clinical Diagnostic Support: Standardize clinical symptoms provided by clinicians into HPO terms to query genomic databases for causative gene mutations.
- Cohort Phenotyping: Normalize patient symptom lists across multiple research sites to enable large-scale meta-analysis of rare disease variants.
- Clinical Trial Enrollment: Automate the filtering of patient phenotypes against specific inclusion/exclusion criteria defined by HPO terms, accelerating recruitment.
- Audit and Compliance: Generate reproducible mapping reports for medical audits where documentation of logic and assumptions is required.
Example Prompts
- "Map the following clinical summary to HPO terms: Patient presents with persistent macrocephaly, hypotonia, and dysmorphic facial features. Provide the output in JSON format."
- "Review the symptoms list in
patient_data.txtand map them to the HPO library. If a symptom is ambiguous, list it as a low-confidence mapping." - "Using the rare-disease-hpo-mapper, generate a standardized phenotype profile for this patient and highlight any symptoms that lack a direct HPO mapping."
Tips & Limitations
- Quality Control: Always review the final HPO mappings. While the tool is highly precise, nuances in medical language can sometimes lead to misinterpretations; use the
references/directory for guidance on complex cases. - Input Sanitization: Ensure clinical inputs are stripped of identifiable health information (PHI) before processing if working in a non-secure environment, as the script processes text locally.
- Fallback Paths: If the script identifies multiple potential HPO terms for a single input, prioritize manual verification of the candidate terms. Always clarify domain-specific constraints like anatomical specificity or developmental stage before starting the mapping job.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-aipoch-ai-rare-disease-hpo-mapper": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-read, file-write, code-execution
Related Skills
mechanism-flowchart
Generates Mermaid flowchart code and visual diagrams for pathophysiological.
reference-style-sync
One-click synchronization and standardization of reference formats in literature management tools, intelligently fixing metadata errors.
clinical-data-cleaner
Use when cleaning clinical trial data, preparing data for FDA/EMA submission, standardizing SDTM datasets, handling missing values in clinical studies, detecting outliers in lab results, or converting raw CRF data to CDISC format. Cleans and standardizes clinical trial data for regulatory compliance with audit trails.
metagenomic-krona-chart
Analyze data with `metagenomic-krona-chart` using a reproducible workflow, explicit validation, and structured outputs for review-ready interpretation.
anatomy-quiz-master
Generate interactive anatomy quizzes for medical education with multiple question types, difficulty levels, and anatomical regions. Supports gross anatomy, neuroanatomy, and clinical correlations for self-assessment and exam preparation.