agentleFS
PharMolixPharMolix/OpenBioMed/skills/protein-function-prediction/SKILL.md

protein-function-prediction

Skill1.1k starsChanged 8 months agoMITView on GitHub

Predict protein function and properties from amino acid sequence using BioT5. Use this skill when: (1) You have a protein sequence and want to understand its biological function, (2) You need to identify enzyme activity, pathway involvement, or molecular interactions, (3) You want a concise description of protein properties from sequence alone.

Trending

Quiet this year.thin dataabout the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 0 mentionsJul 2026: 0 mentionsAug 2026: 0 mentionsSep 2026: 0 mentionsOct 2026: 0 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the PharMolix/OpenBioMed repository that our weekly crawl found: only 1 in all, so this is a hint, not a trend. There is no adoption data for this file yet.

Who's talking about PharMolix/OpenBioMed

The biggest 1 of 1 mention linking to the repository that our crawl found. Each line is their own headline.

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Does not predict 3D structure or binding sites (use protein_folding or protein_binding_site_prediction tools)

    line 104

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Protein Function Prediction

Predict functional annotations and properties for proteins from their amino acid sequences using the BioT5 model.

When to Use

  • You have a protein FASTA sequence and need to understand its biological role
  • You want to identify enzyme function, pathway involvement, or molecular mechanisms
  • You need quick functional insights without experimental data
  • You're characterizing novel or unannotated protein sequences

Workflow

from open_biomed.data import Protein, Text
from open_biomed.core.pipeline import InferencePipeline

# Create protein from FASTA sequence
protein = Protein.from_fasta("YOUR_AMINO_ACID_SEQUENCE")

# Create the question for functional annotation
question = Text.from_str(
    "Inspect the protein sequence and offer a concise description of its properties."
)

# Load the BioT5 model for protein question answering
pipeline = InferencePipeline(
    task="protein_question_answering",
    model="biot5",
    model_ckpt="./checkpoints/server/protein_question_answering_biot5.ckpt",
    device="cuda:0"
)

# Run inference to get functional annotation
outputs = pipeline.run(protein=protein, text=question)
function_description = outputs[0][0].str
print(function_description)

See examples/basic_example.py for a complete runnable script.

Expected Outputs

The model returns a text description that typically includes:

Output ComponentExample
Enzyme namePhosphoribosylformylglycinamidine synthase
Biological pathwayPurine biosynthesis pathway
Catalytic activityFGAR to FGAM conversion
Complex membershipPart of FGAM synthase complex (PurQ, PurL, PurS)
Mechanism detailsATP-dependent, glutamine amidotransferase activity

Example Output

Part of the phosphoribosylformylglycinamidine synthase complex involved in the purines biosynthetic pathway. Catalyzes the ATP-dependent conversion of formylglycinamide ribonucleotide (FGAR) and glutamine to yield formylglycinamidine ribonucleotide (FGAM) and glutamate.

Input Formats

The skill accepts protein sequences in FASTA format (amino acid string):

# From raw sequence string
protein = Protein.from_fasta("MRVGVIRFPGSNCDRDVHHVLELAGAEPEYVWW...")

# From UniProt (get sequence first)
from open_biomed.tools.tool_registry import TOOLS
tool = TOOLS["protein_uniprot_request"]
protein, _ = tool.run(accession="P00533")  # Example: EGFR

Error Handling

ErrorCauseSolution
FileNotFoundErrorModel checkpoint not foundDownload checkpoint to ./checkpoints/server/
CUDA out of memoryGPU memory insufficientUse smaller batch or CPU device
Sequence too longExceeds 512 amino acid limitTruncate sequence or use sliding window

Model Details

  • Model: BioT5 (protein-text foundation model)
  • Max sequence length: 512 amino acids
  • Inference time: ~2-3 seconds per sequence on GPU
  • Capabilities: Function prediction, property description, pathway annotation

Limitations

  • Sequences longer than 512 residues are truncated
  • Model trained on known proteins; novel folds may have lower accuracy
  • Does not predict 3D structure or binding sites (use protein_folding or protein_binding_site_prediction tools)

Related Skills

  • protein-structure-design-boltzgen: For 3D structure prediction
  • protein-mutation-analysis: For mutation effect prediction
  • uniprot-query: For retrieving protein metadata from UniProt

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.