gene-structure-mapper
Visualize gene structure with exon-intron diagrams, domain annotations, and mutation position markers. Produces SVG, PNG, or PDF figures suitable for publication from a gene symbol input.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/aipoch-ai/gene-structure-mapperWhat This Skill Does
The gene-structure-mapper is a specialized OpenClaw tool designed to translate complex genomic data into clear, publication-ready visual diagrams. By interfacing directly with the Ensembl REST API, this skill programmatically fetches exon-intron architecture for any given gene symbol or Ensembl ID. It allows researchers and bioinformaticians to overlay UniProt protein domain annotations directly onto the genomic map, providing a structural context for functional regions. Furthermore, the skill supports the visualization of specific mutation hotspots, making it an essential tool for correlating genetic variants with structural domains. The output is highly flexible, supporting PNG, SVG, and PDF formats to ensure compatibility with both digital presentations and high-resolution academic publishing standards.
Installation
To integrate this skill into your environment, use the OpenClaw management command:
clawhub install openclaw/skills/skills/aipoch-ai/gene-structure-mapper
Once installed, ensure your local Python environment has the necessary dependencies for matplotlib and requests as defined in the package documentation.
Use Cases
This skill is built for professionals working in genetics, molecular biology, and biotechnology. Common use cases include:
- Generating high-quality figures for research manuscripts showing gene organization.
- Annotating structural consequences of specific mutations by mapping codon positions to exon locations.
- Rapidly comparing isoforms or splice variants of a target gene.
- Visualizing the spatial distribution of protein domains (e.g., DNA-binding domains) relative to introns and exons.
- Educational presentations where clear, simplified gene maps are required to explain splicing mechanics.
Example Prompts
- "Generate a gene structure diagram for BRCA1 in PDF format and include protein domain annotations."
- "Create a PNG diagram for the TP53 gene and mark the codon 248 and 273 mutation hotspots."
- "Show me the structure of KRAS and export it as an SVG file for my upcoming presentation."
Tips & Limitations
- Connectivity: Since the tool relies on the Ensembl REST API, an active internet connection is required for non-demo tasks. If you are offline, use the
--demoflag to test the functionality with hardcoded TP53 data. - Precision: Ensure that gene symbols are standard (e.g., HGNC symbols). If a symbol is ambiguous, providing an Ensembl ID (e.g., ENSG00000141510) will yield more reliable results.
- Customization: While the tool outputs clean, professional plots by default, the SVG format is recommended if you intend to perform further manual aesthetic refinements in software like Adobe Illustrator or Inkscape. Always verify the output path if you have specific file organization requirements, as the default uses the gene name as the file prefix.
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-gene-structure-mapper": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, file-write, external-api, 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.