pharmolix/openbiomed/mutation-design-aav

Claude Code and agent skill by pharmolix/openbiomed

Trust tier 3
  • community
  • ext:[{"type":"config","description":"Configuration overrides"}]
Source check pending

Checking that the SKILL.md file is still in the repository.

Propose high-fitness and high-diversity mutants of the VP1 capsid protein of Adeno-Associated Virus (AAV) through multi-round iterative optimization.

Install

npx vskill@latest install pharmolix/openbiomed/mutation-design-aav

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

The same SKILL.md was published earlier as pharmolix/openbiomed/mutation-design-aav.

High-fitness AAV Mutant Proposal

A skill performs automated multi-round optimization of a 28-amino acid segment of the VP1 capsid protein of Adeno-Associated Virus (AAV) to discover mutants with improved DNA packaging fitness and high sequence diversity.

When to Use This Skill

  • Design novel AAV mutants with improved DNA packaging fitness.
  • Run computational iterative directed evolution.
  • Perform fast mutation search guided by an oracle model.

Example prompts:

  • “Design AAV mutants with higher DNA packaging fitness.”
  • “Run multi-round mutation optimization for AAV.”
  • “Generate 96 AAV variants with improved fitness.”

Prerequisites

  • Python 3.9+
  • PyTorch
  • NumPy / Pandas
  • Protein sequence analysis tools
  • Protein language model tools (ESM2)

Core Capabilities

This skill can:

  1. Download initial AAV sequences if they were not provided by users.
  2. Download and execute an in-silico oracle AAV prediction model.
  3. Generate controllable mutants within 4 point mutations for each round.
  4. Use ESM2 embeddings to represent protein sequences.
  5. Optimize mutation proposals based on oracle feedback.
  6. Maintain population diversity using average pairwise Hamming distance.
  7. Perform multi-round optimization and return the best mutants.

Workflow

  1. Download initial AAV sequences from https://cloud.tsinghua.edu.cn/f/992109032d8049689a6d/?dl=1 and use them as the starting pool.
  1. Download the oracle AAV prediction model from https://cloud.tsinghua.edu.cn/f/80bbc575ec3f4e63a0af/?dl=1, and the configuration file from https://cloud.tsinghua.edu.cn/f/09ea0869b74b4d2ca53e/?dl=1.
  1. Execute code for oracle loading and scoring:
py
import torch
from omegaconf import OmegaConf
# ===== ORACLE MODEL LOADING =====
def load_oracle_model(ckpt_path, cfg_path):
with open(cfg_path, 'r') as fp:
cfg = OmegaConf.load(fp.name)
oracle = BaseCNN(**cfg.model.predictor)
state_dict = torch.load(ckpt_path)
oracle.load_state_dict(torch.load(ckpt_path))
oracle.eval()
# ===== ORACLE SCORING FUNCTION =====
def score_sequence(oracle, sequence: str) -> float:
results = oracle(sequence).detach()
return results.cpu().numpy()
  1. Compute ESM2 embeddings for all sequences to represent sequence features.
  1. Proposal: for each round, propose 96 × 4 candidate mutants from the current population using only point mutations with ≤4 mutations per sequence.
  1. Evaluation: evaluate all candidate sequences using the oracle scoring function. Use oracle feedback from previous rounds to bias mutation proposals toward directions that increase predicted fitness (fitness gradient exploitation).
  1. Selection: rank sequences by predicted fitness and select the top 96 mutants, while maintaining diversity measured by average pairwise Hamming distance.
  1. Repeat proposal, evaluation, and selection until 10 rounds are completed, or best fitness does not improve for 3 consecutive rounds.
  1. Collect the best 96 mutants discovered across all rounds and sort them by predicted DNA packaging fitness, and export the results as a CSV file following the specified output format.

Output Format

The final result must be a CSV file with two columns:

sequencefitness
AAV_mutant_sequencepredicted_fitness

Requirements:

  • Exactly 96 sequences
  • Sorted by fitness in descending order
  • Sequences must be valid AAV mutants

Example:

sequence,fitness
ADMEIIQVNPYSSEQYGDVATPLYHGTG,0.96
ADMEIRQVNPYSSEQYGDVATPLQHGTG,0.93
ADSELASTNPVSTELYGIVATNLMAQAS,0.92
...

This CSV represents the final optimized AAV mutant library predicted to exhibit higher DNA packaging fitness.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
1,105
Repository forks
132
7-day trend score
35

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Extension points

  • configConfiguration overrides

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/pharmolix/openbiomed/mutation-design-aav/badge)](https://verified-skill.com/skills/pharmolix/openbiomed/mutation-design-aav)

Something wrong with this skill or its page? Tell us.