Agent skill · Testing & QA

bio-comparative-genomics-gene-family-evolution

Model gene-family birth-death dynamics across a species tree using CAFE5 (Mendes et al 2020 Bioinformatics 36:5516 gamma-distributed rate categories), CAFE5-error (annotation-error-aware), Count (Csurös 2010 ancestral state reconstruction), BadiRate (Librado 2012 likelihood + parsimony), DupliPHY-Family, and ALE/AleRax (for per-family DTL; see [[gene-tree-species-tree-reconciliation]]). Test lineage-specific gene-family expansions and contractions, distinguish biological dynamics from annotation artifacts, account for assembly fragmentation, identify functional enrichment in expanded / contrac

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

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

Facts
Files in the skill folder: 3
SKILL.md size: 26 KB
Bundled scripts: yes
Path: skills/bioskills/gene-family-evolution/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: CAFE5 5.1.0+ (Mendes et al 2020 Bioinformatics 36(22-23):5516-5518), Count 11.0319+ (Csurös 2010 Bioinformatics 26:1910), BadiRate 1.35+ (Librado 2012 Bioinformatics 28:279), DupliPHY-Family (Liu 2016), CAFExp (legacy CAFE 4.2 -- DEPRECATED; use CAFE5), OrthoFinder 3.0+ for HOG input, R 4.4+, mclust 6.1+, phytools 2.3+, ETE4 4.1.0+ for tree manipulation. ALE/GeneRax/AleRax in companion skill [[gene-tree-species-tree-reconciliation]]. Before using code patterns, verify installed versions match. If versions differ: - CLI: `cafe5 --help`; `Count.exe` (Java); `badirate --help` - R: `packageVersion('phytools')` - Python: `pip show ete4` If code throws `CAFE5: lambda did not converge`, `Count negative branch length`, `BadiRate gamma not initialized`, the most common causes are: (1) annotation heterogeneity inflating family sizes, (2) saturated families (CAFE5 needs reasonable rate variation), (3) negative branch lengths in input tree (Count requires ultrametric). Pre-process: filter OG matrix to families present in >= 50% of species; resolve polytomies; ultrametricize tree. # Gene Family Evolution **"Which gene families expanded or

What's inside
Steps it walks through
  1. Version Compatibility
  2. Algorithmic Taxonomy
  3. Decision Tree by Experimental Scenario
  4. Per-Tool Failure Modes
  5. Annotation heterogeneity inflating expansions / contractions
  6. Assembly fragmentation creating false contractions
  7. CAFE5 lambda non-convergence
  8. Gamma rate-category misinterpretation
  9. Multiple-testing across many families
  10. Tree non-ultrametric / negative branches
  11. Outlier-family-driven lambda estimate
  12. Convergent gene-family-rate shifts not captured
  13. CAFE5 vs ALE for HGT-affected family
  14. Family classification (single-copy / multi-copy) affecting interpretation
Ships with 2 files
  • examples/cafe5_birth_death_analysis.sh
  • usage-guide.md
Commands it runs
python3 <<'PY'
Output format: Description  family_id  Species1  Species2  ... (counts per species)
Rscript -e "
tree <- read.tree('SpeciesTree_rooted.txt')
tree_ultra <- chronos(tree)
cafe5 \
error model file, use `-eerror.txt` (CAFE5 concatenates the flag and argument).
Verify with `cafe5 --help`.
cafe_output/Base_results.txt        Per-family results
cafe_output/Base_clade_results.txt   Per-clade lambda
More from awesome-bio-agent-skills
All skills →
About this skill
What does the bio-comparative-genomics-gene-family-evolution skill do?

Model gene-family birth-death dynamics across a species tree using CAFE5 (Mendes et al 2020 Bioinformatics 36:5516 gamma-distributed rate categories), CAFE5-error (annotation-error-aware), Count (Csurös 2010 ancestral state reconstruction), BadiRate (Librado 2012 likelihood + parsimony), DupliPHY-Family, and ALE/AleRax (for per-family DTL; see [[gene-tree-species-tree-reconciliation]]). Test lineage-specific gene-family expansions and contractions, distinguish biological dynamics from annotation artifacts, account for assembly fragmentation, identify functional enrichment in expanded / contrac

How do I install it?

Run `npx skills add BioTender-max/awesome-bio-agent-skills --skill gene-family-evolution --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