protein-properties-calculation

Calculate comprehensive protein sequence properties including isoelectric point, molecular weight, hydrophobicity, and physicochemical parameters.

Best use case

protein-properties-calculation is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Calculate comprehensive protein sequence properties including isoelectric point, molecular weight, hydrophobicity, and physicochemical parameters.

Teams using protein-properties-calculation should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/protein-properties-calculation/SKILL.md --create-dirs "https://raw.githubusercontent.com/SpectrAI-Initiative/InnoClaw/main/.claude/skills/protein-properties-calculation/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/protein-properties-calculation/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How protein-properties-calculation Compares

Feature / Agentprotein-properties-calculationStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Calculate comprehensive protein sequence properties including isoelectric point, molecular weight, hydrophobicity, and physicochemical parameters.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Protein Properties Calculation

## Usage

### 1. MCP Server Definition

```python
import asyncio
import json
from contextlib import AsyncExitStack
from fastmcp import Client
from fastmcp.client.transports import StreamableHttpTransport

class BiologyToolsClient:
    """Biology Tools MCP Client using FastMCP"""

    def __init__(self, server_url: str, headers: dict = None):
        self.server_url = server_url
        self.headers = headers or {}
        self.client = None

    async def connect(self):
        """Establish connection and initialize session"""
        print(f"Connecting to: {self.server_url}")
        try:
            transport = StreamableHttpTransport(
                url=self.server_url,
                headers=self.headers
            )

            self._stack = AsyncExitStack()
            await self._stack.__aenter__()
            self.client = Client(transport)
            await self._stack.enter_async_context(self.client)

            print(f"✓ connect success")
            return True

        except Exception as e:
            print(f"✗ connect failure: {e}")
            import traceback
            traceback.print_exc()
            return False

    async def disconnect(self):
        """Disconnect from server"""
        try:
            if hasattr(self, '_stack'):
                await self._stack.aclose()
            print("✓ already disconnect")
        except Exception as e:
            print(f"✗ disconnect error: {e}")
    def parse_result(self, result):
        """Parse MCP tool call result"""
        try:
            if hasattr(result, 'content') and result.content:
                content = result.content[0]
                if hasattr(content, 'text'):
                    try:
                        return json.loads(content.text)
                    except:
                        return content.text
            return str(result)
        except Exception as e:
            return {"error": f"parse error: {e}", "raw": str(result)}
```

### 2. Protein Properties Calculation Workflow

This workflow calculates comprehensive physicochemical properties of protein sequences including molecular weight, isoelectric point, hydrophobicity, and other parameters useful for protein characterization.

**Workflow Steps:**

1. **Calculate Isoelectric Point and Molecular Weight** - Compute pI and MW
2. **Calculate Protein Parameters** - Compute amino acid composition, instability index, etc.
3. **Calculate Hydrophobicity** - Predict hydrophobic/hydrophilic regions

**Implementation:**

```python
## Initialize client
HEADERS = {"SCP-HUB-API-KEY": "<your-api-key>"}

client = BiologyToolsClient(
    "https://scp.intern-ai.org.cn/api/v1/mcp/29/SciToolAgent-Bio",
    HEADERS
)

if not await client.connect():
    print("connection failed")
    exit()

## Input: Protein sequence to analyze
protein_sequence = "MKTAYIAKQRQISFVKSHFSRQLEERLGLIEVQAPILSRVGDGTQDNLSGAEKAVQVKVKALPDAQFEVVHSLAKWKRQTLGQHDFSAGEGLYTHMKALRPDEDRLSPLHSVYVDQWDWERVMGDGERQFSTLKSTVEAIWAGIKATEAAVSEEFGLAPFLPDQIHFVHSQELLSRYPDLDAKGRERAIAKDLGAVFLVGIGGKLSDGHRHDVRAPDYDDWSTPSELGHAGLNGDILVWNPVLEDAFELSSMGIRVDADTLKHQLALTGDEDRLELEWHQALLRGEMPQTIGGGIGQSRLTMLLLQLPHIGQVQAGVWPAAVRESVPSLL"

print("=== Protein Properties Calculation ===\n")

## Step 1: Calculate isoelectric point and molecular weight
print("Step 1: Isoelectric Point and Molecular Weight")
result = await client.client.call_tool(
    "ComputePiMw",
    arguments={"protein": protein_sequence}
)
result_data = client.parse_result(result)
print(f"{result_data}\n")

## Step 2: Calculate comprehensive protein parameters
print("Step 2: Protein Sequence Parameters")
result = await client.client.call_tool(
    "ComputeProtPara",
    arguments={"protein": protein_sequence}
)
result_data = client.parse_result(result)
print(f"{result_data}\n")

## Step 3: Calculate hydrophobicity scale
print("Step 3: Hydrophobicity Profile")
result = await client.client.call_tool(
    "ComputeProtScale",
    arguments={"protein": protein_sequence}
)
result_data = client.parse_result(result)
print(f"{result_data}\n")

## Step 4: Calculate extinction coefficient
print("Step 4: Extinction Coefficient")
result = await client.client.call_tool(
    "ComputeExtinctionCoefficient",
    arguments={"protein": protein_sequence}
)
result_data = client.parse_result(result)
print(f"{result_data}\n")

await client.disconnect()
```

### Tool Descriptions

**SciToolAgent-Bio Server:**
- `ComputePiMw`: Calculate protein isoelectric point and molecular weight
  - Args: `protein` (str) - Protein sequence
  - Returns: pI value and molecular weight in Daltons

- `ComputeProtPara`: Calculate comprehensive protein parameters
  - Args: `protein` (str) - Protein sequence
  - Returns: Amino acid composition, instability index, aliphatic index, GRAVY, etc.

- `ComputeProtScale`: Calculate hydrophobicity scale
  - Args: `protein` (str) - Protein sequence
  - Returns: Hydrophobicity values along the sequence

- `ComputeExtinctionCoefficient`: Calculate extinction coefficient at 280nm
  - Args: `protein` (str) - Protein sequence
  - Returns: Extinction coefficient for protein quantification

### Input/Output

**Input:**
- `protein`: Protein sequence in single-letter amino acid code

**Output:**
- **pI (Isoelectric Point)**: pH at which protein has no net charge
- **Molecular Weight**: Mass in Daltons (Da)
- **Amino Acid Composition**: Percentage of each amino acid
- **Instability Index**: Protein stability estimate (>40 = unstable)
- **Aliphatic Index**: Thermal stability indicator
- **GRAVY (Grand Average of Hydropathy)**: Overall hydrophobicity (-2 to +2)
- **Extinction Coefficient**: For protein concentration determination (M⁻¹cm⁻¹)

### Use Cases

- Predict protein behavior in different pH conditions
- Estimate protein molecular weight from sequence
- Assess protein stability and solubility
- Determine protein concentration spectrophotometrically
- Plan protein purification strategies
- Predict protein localization based on hydrophobicity
- Design expression and purification protocols

### Parameter Interpretation

- **pI < 7**: Acidic protein (negatively charged at physiological pH)
- **pI > 7**: Basic protein (positively charged at physiological pH)
- **Instability Index < 40**: Stable protein
- **Instability Index > 40**: Unstable protein (may degrade quickly)
- **GRAVY < 0**: Hydrophilic (soluble in water)
- **GRAVY > 0**: Hydrophobic (may be membrane protein or have stability issues)

### Additional Tools Available

The SciToolAgent-Bio server provides 50+ additional tools including:
- Codon optimization (`ProteinCodonOptimization`)
- Peptide weight calculation (`PeptideWeightCalculator`)
- Protein solubility prediction (`ProteinSolubilityPredictor`)
- Disordered region prediction (`InherentDisorderedRegionsPredictor`)
- Nuclear localization signal prediction (`ProteinNuclearLocalizationSequencePrediction`)

Related Skills

uniprot-protein-retrieval

370
from SpectrAI-Initiative/InnoClaw

Retrieve protein sequences and functional information from UniProt database by protein name, enabling protein analysis and bioinformatics workflows.

seawater-sound-speed-calculation

370
from SpectrAI-Initiative/InnoClaw

Calculate sound speed in seawater from practical salinity, temperature, and pressure using the Gibbs Seawater Oceanographic Toolbox.

protein_structure_analysis

370
from SpectrAI-Initiative/InnoClaw

Protein Structure Comprehensive Analysis - Comprehensive structure analysis: download PDB, extract chains, calculate geometry, quality metrics, and composition. Use this skill for structural biology tasks involving retrieve protein data by pdbcode extract pdb chains calculate pdb structural geometry calculate pdb quality metrics calculate pdb composition info. Combines 5 tools from 1 SCP server(s).

protein_solubility_optimization

370
from SpectrAI-Initiative/InnoClaw

Protein Solubility Optimization - Optimize protein solubility: calculate properties, predict solubility, predict hydrophilicity, and suggest mutations. Use this skill for protein engineering tasks involving calculate protein sequence properties predict protein function ComputeHydrophilicity zero shot sequence prediction. Combines 4 tools from 3 SCP server(s).

protein_similarity_search

370
from SpectrAI-Initiative/InnoClaw

Protein Similarity Search - Search for similar proteins: extract sequence from PDB, search structures with FoldSeek, find homologs with STRING, and check UniProt. Use this skill for bioinformatics tasks involving extract pdb sequence foldseek search get best similarity hits between species search uniprotkb entries. Combines 4 tools from 3 SCP server(s).

protein_quality_assessment

370
from SpectrAI-Initiative/InnoClaw

Protein Structure Quality Assessment - Assess structure quality: basic info, geometry analysis, quality metrics, composition, and visualization. Use this skill for structural biology tasks involving calculate pdb basic info calculate pdb structural geometry calculate pdb quality metrics calculate pdb composition info visualize protein. Combines 5 tools from 1 SCP server(s).

protein_property_comparison

370
from SpectrAI-Initiative/InnoClaw

Cross-Species Protein Comparison - Compare proteins across species: get orthologs from NCBI, compute properties for each, and compare similarity. Use this skill for comparative biology tasks involving get gene orthologs calculate protein sequence properties calculate smiles similarity get homology id. Combines 4 tools from 3 SCP server(s).

protein_interaction_network

370
from SpectrAI-Initiative/InnoClaw

Protein Interaction Network Analysis - Build protein interaction network: map identifiers with STRING, get PPI network, compute enrichment, and link to KEGG pathways. Use this skill for systems biology tasks involving mapping identifiers get string network interaction get ppi enrichment kegg link. Combines 4 tools from 2 SCP server(s).

protein_function_annotation

370
from SpectrAI-Initiative/InnoClaw

Protein Function Annotation Pipeline - Annotate protein function: UniProt metadata, InterPro domains, functional prediction, and GO enrichment. Use this skill for proteomics tasks involving query uniprot query interpro predict protein function get functional enrichment. Combines 4 tools from 2 SCP server(s).

protein_engineering

370
from SpectrAI-Initiative/InnoClaw

Protein Engineering Workflow - Engineer a protein: predict structure, identify functional residues, predict beneficial mutations, and calculate properties. Use this skill for protein engineering tasks involving Protein structure prediction ESMFold predict functional residue zero shot sequence prediction calculate protein sequence properties. Combines 4 tools from 2 SCP server(s).

protein_drug_interaction

370
from SpectrAI-Initiative/InnoClaw

Protein-Drug Interaction Profiling - Profile protein-drug interactions: protein properties, drug structure, binding affinity prediction, and interaction data. Use this skill for molecular pharmacology tasks involving calculate protein sequence properties ChemicalStructureAnalyzer boltz binding affinity PredictDrugTargetInteraction. Combines 4 tools from 4 SCP server(s).

protein_database_crossref

370
from SpectrAI-Initiative/InnoClaw

Protein Cross-Database Reference - Cross-reference protein: UniProt entry, NCBI gene, Ensembl xrefs, and PDB structure search. Use this skill for proteomics tasks involving get uniprotkb entry by accession get gene metadata by gene name get xrefs symbol retrieve protein data by pdbcode. Combines 4 tools from 4 SCP server(s).