Agent skill · Data & Analytics

bio-expression-matrix-gene-id-mapping

Convert between gene identifier systems including Ensembl, Entrez, HGNC symbols, and UniProt. Use when mapping IDs for pathway analysis or matching different data sources.

BioTender-maxgithub.com/BioTender-maxGitHub ↗
claude-codeships scriptsNOASSERTION
Install
npx skills add BioTender-max/awesome-bio-agent-skills --skill gene-id-mapping --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 3
SKILL.md size: 13 KB
Bundled scripts: yes
Path: skills/bioskills/gene-id-mapping/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 135
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

## Version Compatibility Reference examples tested with: pandas 2.2+ Before using code patterns, verify installed versions match. If versions differ: - Python: `pip show <package>` then `help(module.function)` to check signatures - R: `packageVersion('<pkg>')` then `?function_name` to verify parameters If code throws ImportError, AttributeError, or TypeError, introspect the installed package and adapt the example to match the actual API rather than retrying. # Gene ID Mapping ## Python: mygene **Goal:** Convert between gene identifier systems (Ensembl, Entrez, Symbol, UniProt) using the MyGene.info API. **Approach:** Query mygene with source IDs, specifying scopes and target fields, to build an ID mapping dictionary. **"Convert my Ensembl gene IDs to gene symbols"** → Query a gene annotation service to map between identifier systems, handling one-to-many mappings. ```python import mygene import pandas as pd mg = mygene.MyGeneInfo() # Ensembl to Symbol ensembl_ids = ['ENSG00000141510', 'ENSG00000012048', 'ENSG00000141736'] results = mg.querymany(ensembl_ids, scopes='ensembl.gene', fields='symbol', species='human') mapping = {r['query']: r.get('symbol', None) for r in results} # {'EN

What's inside
Steps it walks through
  1. Version Compatibility
  2. Python: mygene
  3. Python: pyensembl
  4. Python: gseapy
  5. R: biomaRt
  6. R: org.db Packages
  7. Apply Mapping to Count Matrix
  8. R Equivalent
  9. Handle Unmapped IDs
  10. Common ID Types and Database Selection
  11. Database Selection Guide
  12. Gene Symbol Instability
  13. PAR Gene Complications
  14. Cross-Species Ortholog Mapping
Ships with 2 files
  • examples/map_gene_ids.py
  • usage-guide.md
More from awesome-bio-agent-skills
All skills →
About this skill
What does the bio-expression-matrix-gene-id-mapping skill do?

Convert between gene identifier systems including Ensembl, Entrez, HGNC symbols, and UniProt. Use when mapping IDs for pathway analysis or matching different data sources.

How do I install it?

Run `npx skills add BioTender-max/awesome-bio-agent-skills --skill gene-id-mapping --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From BioTender-max/awesome-bio-agent-skills, a repository with 135 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going