Genomics Analysis (Meta Skill)
This meta-skill coordinates a complete genomics analysis pipeline by integrating
gene database queries, sequence analysis, expression profiling, and pathway
enrichment into a unified workflow. It combines three specialized skills to
deliver comprehensive gene-level and systems-level biological insights.
Workflow
Step 1: Gene Information Retrieval
Query NCBI Entrez for comprehensive gene details including official nomenclature,
genomic coordinates, transcript variants, and functional annotations. Retrieve
orthologs across model organisms for evolutionary context. Pull known variants
from ClinVar and dbSNP, noting pathogenic or pharmacogenomic associations.
Collect linked references from PubMed for recent literature context.
Step 2: Sequence Analysis
Use BioPython to perform sequence-level analyses on retrieved gene and protein
sequences:
- Multiple sequence alignment of orthologs to identify conserved regions
- Motif discovery in promoter regions or protein domains
- Domain architecture mapping against Pfam/InterPro signatures
- Codon usage analysis for expression optimization studies
- Variant impact prediction based on conservation scores
Step 3: Expression Analysis
Apply scanpy for expression data analysis, supporting both single-cell and
bulk RNA-seq workflows:
- For single-cell: quality control, normalization, clustering, marker gene
identification, cell type annotation
- For bulk: differential expression analysis, volcano plots, heatmaps
- Cross-dataset comparison when multiple conditions are available
- Identification of co-expressed gene modules
Step 4: Pathway Enrichment and Functional Annotation
Map differentially expressed or co-expressed genes to biological pathways:
- KEGG pathway mapping for metabolic and signaling context
- Gene Ontology enrichment (biological process, molecular function, cellular component)
- Reactome pathway analysis for detailed mechanistic understanding
- Network-based enrichment to identify hub genes and regulatory modules
Step 5: Integrated Report Generation
Compile findings into a structured report with:
- Gene summary card with key identifiers and annotations
- Sequence conservation highlights and domain maps
- Expression analysis results with statistical summaries
- Enriched pathways ranked by significance
- Key findings synthesis connecting sequence, expression, and pathway data
- Publication-ready figures and supplementary tables
Integration Points
- ncbi-entrez -- Gene records, variant data, orthologs, literature links
- biopython-bio -- Sequence alignment, motif search, domain analysis, format conversion
- scanpy-singlecell -- Expression quantification, clustering, differential expression, visualization
Output Formats
- Gene card: Symbol, aliases, genomic location, function summary, disease associations
- Alignment view: Conserved regions highlighted across orthologs
- Expression summary: DE gene lists with fold change, p-values, FDR
- Pathway table: Enriched pathways with gene counts, p-values, leading-edge genes
- Figures: Heatmaps, volcano plots, UMAP embeddings, pathway diagrams
Best Practices
- Start with gene identifiers from a reliable source (NCBI Gene ID or HGNC symbol)
- Verify gene nomenclature across databases to avoid confusion from aliases
- Use appropriate normalization for the expression data type (TPM, CPM, SCTransform)
- Apply multiple testing correction (Benjamini-Hochberg) for all enrichment analyses
- Set biologically meaningful fold-change thresholds alongside statistical cutoffs
- Include both up- and down-regulated gene sets in pathway analysis
- Cross-reference pathway results with known biology to filter spurious enrichments
- Report effect sizes and confidence intervals, not just p-values
- Note species differences when translating findings from model organisms
- Archive intermediate results for reproducibility and downstream re-analysis
1---
2name: genomics-analysis
3description: "Orchestrates a genomics analysis workflow from gene query through expression analysis to pathway enrichment. Use when investigating gene function, analyzing expression data, or performing pathway-level interpretation. NOT for pure protein structure modeling or drug-target interaction analysis."
4metadata: { "openclaw": { "emoji": "🧬" } }
5---
6
7# Genomics Analysis (Meta Skill)
8
9This meta-skill coordinates a complete genomics analysis pipeline by integrating
10gene database queries, sequence analysis, expression profiling, and pathway
11enrichment into a unified workflow. It combines three specialized skills to
12deliver comprehensive gene-level and systems-level biological insights.
13
14## Workflow
15
16### Step 1: Gene Information Retrieval
17
18Query NCBI Entrez for comprehensive gene details including official nomenclature,
19genomic coordinates, transcript variants, and functional annotations. Retrieve
20orthologs across model organisms for evolutionary context. Pull known variants
21from ClinVar and dbSNP, noting pathogenic or pharmacogenomic associations.
22Collect linked references from PubMed for recent literature context.
23
24### Step 2: Sequence Analysis
25
26Use BioPython to perform sequence-level analyses on retrieved gene and protein
27sequences:
28- Multiple sequence alignment of orthologs to identify conserved regions
29- Motif discovery in promoter regions or protein domains
30- Domain architecture mapping against Pfam/InterPro signatures
31- Codon usage analysis for expression optimization studies
32- Variant impact prediction based on conservation scores
33
34### Step 3: Expression Analysis
35
36Apply scanpy for expression data analysis, supporting both single-cell and
37bulk RNA-seq workflows:
38- For single-cell: quality control, normalization, clustering, marker gene
39 identification, cell type annotation
40- For bulk: differential expression analysis, volcano plots, heatmaps
41- Cross-dataset comparison when multiple conditions are available
42- Identification of co-expressed gene modules
43
44### Step 4: Pathway Enrichment and Functional Annotation
45
46Map differentially expressed or co-expressed genes to biological pathways:
47- KEGG pathway mapping for metabolic and signaling context
48- Gene Ontology enrichment (biological process, molecular function, cellular component)
49- Reactome pathway analysis for detailed mechanistic understanding
50- Network-based enrichment to identify hub genes and regulatory modules
51
52### Step 5: Integrated Report Generation
53
54Compile findings into a structured report with:
55- Gene summary card with key identifiers and annotations
56- Sequence conservation highlights and domain maps
57- Expression analysis results with statistical summaries
58- Enriched pathways ranked by significance
59- Key findings synthesis connecting sequence, expression, and pathway data
60- Publication-ready figures and supplementary tables
61
62## Integration Points
63
64- **ncbi-entrez** -- Gene records, variant data, orthologs, literature links
65- **biopython-bio** -- Sequence alignment, motif search, domain analysis, format conversion
66- **scanpy-singlecell** -- Expression quantification, clustering, differential expression, visualization
67
68## Output Formats
69
70- **Gene card**: Symbol, aliases, genomic location, function summary, disease associations
71- **Alignment view**: Conserved regions highlighted across orthologs
72- **Expression summary**: DE gene lists with fold change, p-values, FDR
73- **Pathway table**: Enriched pathways with gene counts, p-values, leading-edge genes
74- **Figures**: Heatmaps, volcano plots, UMAP embeddings, pathway diagrams
75
76## Best Practices
77
781. Start with gene identifiers from a reliable source (NCBI Gene ID or HGNC symbol)
792. Verify gene nomenclature across databases to avoid confusion from aliases
803. Use appropriate normalization for the expression data type (TPM, CPM, SCTransform)
814. Apply multiple testing correction (Benjamini-Hochberg) for all enrichment analyses
825. Set biologically meaningful fold-change thresholds alongside statistical cutoffs
836. Include both up- and down-regulated gene sets in pathway analysis
847. Cross-reference pathway results with known biology to filter spurious enrichments
858. Report effect sizes and confidence intervals, not just p-values
869. Note species differences when translating findings from model organisms
8710. Archive intermediate results for reproducibility and downstream re-analysis