Overview

What is SPICE?

SPICE (Structural Protein Interaction Complex Evaluator) is a comprehensive web application for analyzing protein-protein interactions and interfaces from PDB structure files. It combines a powerful Flask-based web interface with a custom python package (spice) to provide researchers with an accessible platform for complex protein structure analysis.

Key Advantage

SPICE eliminates the need for command-line expertise, reducing analysis time from 3-5 minutes to just 10-20 seconds for common analyses through an intuitive web interface.

Getting Started

How to Use SPICE

1 Choose Your Analysis Mode

Select either Single Complex Analysis for analyzing one structure, or Multi-Complex Comparison for comparing multiple variants.

2 Upload or Fetch Structure

Upload a PDB file from your computer or fetch directly from RCSB database using a PDB ID (e.g., 1A2Y).

3 Select Analysis Type

Choose which calculations to perform: contacts, interface, distances, geometry, SASA, or VDW energy.

4 Configure Parameters

Set your preferred parameters such as distance cutoffs, chain selections, and visualization options.

5 Run Analysis

Click "Run Analysis" and wait for results. Most analyses complete in 10-20 seconds.

6 Explore Results

View interactive visualizations, examine detailed tables, and download results for your research.

Quick Tip

Try the "Load Example Structures" feature to quickly explore SPICE's capabilities with pre-configured protein complexes.

Single Complex Analysis

Analyze individual protein-protein complex structures to understand their molecular interactions, interfaces, and biophysical properties. SPICE provides six powerful analysis modules that can be used independently or in combination.

Contact Analysis
Fast (10-20s)

Identifies molecular interactions

Interface Analysis
Fast (10-20s)

Interface residues & BSA

Distance Analysis
Fast (10-20s)

Distance matrices & networks

Geometry Analysis
Fast (10-20s)

Backbone & side-chain angles

SASA Analysis
Moderate (20-30s)

Surface accessibility

VDW Energy
Slow (3-5 min)

Van der Waals energies

Contact Analysis

Identifies and characterizes molecular interactions between residues across different protein chains. This analysis helps you understand the binding forces stabilizing protein complexes.

What It Calculates

Contact Type Detection Criteria Distance Cutoff
Hydrogen Bonds Donor-acceptor distance with angle constraints ≤ 3.5 Å
Salt Bridges Charged residue pairs (Lys/Arg/His ↔ Asp/Glu) ≤ 4.0 Å
Disulfide Bonds Cysteine sulfur-sulfur distances ≤ 2.5 Å
Hydrophobic Contacts Nonpolar residue interactions (Ala, Val, Leu, Ile, Met, Phe, Trp, Pro) ≤ 5.0 Å
π-π Stacking Aromatic ring interactions (Phe, Tyr, Trp, His) ≤ 7.0 Å (centroid-centroid)
Algorithm Details

Hydrogen Bond Detection: Uses geometric criteria including donor-acceptor distance (≤3.5 Å) and angle requirements (donor-H-acceptor angle ≥120°). Identifies potential donors (N, O with H) and acceptors (O, N, S).

Salt Bridge Detection: Searches for ionic interactions between positively charged residues (Lys, Arg, His) and negatively charged residues (Asp, Glu) within 4.0 Å.

π-π Stacking: Calculates distances between aromatic ring centroids and evaluates ring plane orientations (parallel or perpendicular stacking).

Adjustable Parameters

Parameter Options Description
Group A Chain selection (multiple) First group of chains (e.g., antibody heavy and light chains)
Group B Chain selection (multiple) Second group of chains (e.g., antigen)
Contact Types Checkboxes for each type Select which interactions to analyze (all selected by default)
Color Scheme By Type / By Count Visualization coloring: by contact type or by number of contacts per residue

Output & Visualizations

  • Contact count summary by type
  • Detailed listing all identified contacts with distances
  • Contact types and partners across residues
Research Application

Contact analysis is ideal for understanding antibody-antigen binding, identifying key interaction residues for mutagenesis studies, and comparing binding modes between different complexes.

Interface Analysis

Identifies residues at the binding interface between molecular groups and calculates the buried surface area (BSA) upon complex formation.

Algorithm Details

Interface Residue Detection: A residue is considered part of the interface if any of its atoms is within the specified cutoff distance (default 5.0 Å) of any atom in the partner group.

BSA Calculation: Uses FreeSASA algorithm (Lee & Richards method) to calculate solvent-accessible surface area. BSA = SASA(unbound) - SASA(bound), representing the surface area buried upon binding.

Method: FreeSASA implements a rolling ball algorithm where a probe sphere (radius 1.4 Å, representing water) rolls over the protein surface to determine accessible areas.

Adjustable Parameters

Parameter Default Value Description
Group A - First molecular group (multiple chains allowed)
Group B - Second molecular group (multiple chains allowed)
Distance Cutoff 5.0 Å Maximum distance to consider a residue as part of the interface (adjustable: 0.1-15.0 Å)
Calculate BSA Yes (checked) Enable/disable buried surface area calculation using FreeSASA
Color Scheme Default Options: Default, Heatmap (by BSA), Grouped (by chain)

Output & Visualizations

  • 3D Interactive Viewer: Complex structure with interface residues highlighted in color
  • Dynamic Cutoff Slider: Adjust distance cutoff (3.0-8.0 Å) in real-time to see how interface definition changes
  • Interface Residues: List of all residues at the interface for each chain
  • Interface Heatmap: Color-coded visualization of residue-residue interactions
  • Summary Statistics: Total contacts, BSA, and interface size for both groups
Choosing the Right Cutoff

5.0 Å (default): Standard choice for most protein-protein interfaces. Captures direct contacts and some nearby interactions.

3.5-4.0 Å: Stricter definition, focuses on very close contacts only. Good for high-resolution structures.

6.0-8.0 Å: Broader definition, includes more peripheral residues. Useful for identifying extended binding regions.

Distance Analysis

Calculates pairwise distances between atoms or residues and visualizes spatial relationships between molecular groups.

Algorithm Details

Distance Calculation: Computes Euclidean distances between all atom pairs across the two selected groups. For residue-level distances, uses the minimum distance between any atoms of the two residues.

Formula: d = √[(x₂-x₁)² + (y₂-y₁)² + (z₂-z₁)²]

Adjustable Parameters

Parameter Default Value Description
Group A - First group of chains
Group B - Second group of chains
Distance Cutoff 5.0 Å Maximum distance for network visualization (1.0-15.0 Å)
Visualization Type All Options: All (Dashboard), Heatmap, Network, or Histogram only
Color Scheme Blue-Red Options: Blue-Red gradient, Viridis, or Rainbow

Visualization Options

Distance Heatmap

Color-coded interactive matrix showing pairwise distances between all residues. Red indicates close contacts, blue indicates distant pairs.

Contact Network

Graph representation where nodes are residues and edges connect residues within the cutoff distance. Edge thickness indicates proximity.

Distance Histogram

Distribution showing frequency of distances between groups. Helps identify characteristic separation distances.

Geometry Analysis

Analyzes protein backbone and side-chain geometry to assess structure quality and conformational properties.

Algorithm Details

Ramachandran Angles: Calculates phi (φ) and psi (ψ) backbone dihedral angles for each residue. φ = C(-1) - N - Cα - C, ψ = N - Cα - C - N(+1). These angles define the conformational space accessible to the backbone.

Chi Angles: Measures side-chain torsion angles (χ₁, χ₂, χ₃, χ₄) depending on residue type. χ₁ = N - Cα - Cβ - Cγ (or first side-chain atom).

Bend Angles: Calculates the angle between consecutive Cα-Cα-Cα triplets to identify regions of backbone curvature. Bend angle = arccos[(b·c)/(|b||c|)]

Adjustable Parameters

Parameter Options Description
Chains to Analyze Multiple selection Select which chains to include in geometry analysis
Visualization Type All / Individual plots Choose to see all geometry plots or specific ones (Ramachandran, Chi angles, Bend angles)

Output Plots

Ramachandran Plot

Shows φ/ψ angle distribution for all residues. Most residues should fall in favored regions (α-helix, β-sheet). Outliers may indicate structural issues or unusual conformations.

  • Favored regions: Core areas where most residues are found
  • Allowed regions: Sterically permitted but less common
  • Outliers: Residues in disallowed regions (Gly and Pro have special cases)
  • Interactive: Residues colored by chains, interactively show geometric properties of residues
Chi Angle Distribution

Histograms showing side-chain rotamer preferences. Peaks correspond to commonly observed rotameric states.

Backbone Bend Angles

Plot of bend angles along the sequence. High values indicate sharp turns or kinks; low values indicate straight segments.

Quality Assessment

The Ramachandran plot is an excellent quality indicator. Well-refined structures typically have >90% of residues in favored regions and <0.2% outliers (excluding Gly and Pro).

SASA Analysis

Calculates Solvent-Accessible Surface Area to determine how much of each residue is exposed to solvent vs. buried in the protein interior or interface.

Algorithm: FreeSASA

Method: Implements the Lee & Richards (1971) rolling ball algorithm. A probe sphere (representing a water molecule) rolls over the van der Waals surface of the protein.

Calculation: The SASA is the surface traced by the center of the probe sphere. Areas accessible to the probe are considered exposed to solvent.

Bound vs Unbound: Calculates SASA for the complex (bound state) and for individual chains in isolation (unbound state). The difference reveals which areas become buried upon binding.

Formula: ΔSASA = SASA(unbound) - SASA(bound)
Burial Fraction = ΔSASA / SASA(unbound)

Adjustable Parameters

Parameter Default Value Description
Chains to Analyze All chains Select specific chains or leave empty to analyze all. Note: Single chain selection won't calculate burial analysis.
Probe Radius 1.4 Å Radius of probe sphere (1.4 Å represents water molecule). Adjustable: 0.5-3.0 Å
Visualization Type All Options: All, Dashboard, Burial distribution, Bound/Unbound comparison, Heatmap, or Table only
SASA Method FreeSASA Calculation method (FreeSASA is default and recommended)

Calculated Values

  • Bound SASA: Surface area accessible in the protein complex
  • Unbound SASA: Surface area if residue/chain were isolated
  • Delta SASA (ΔSASA): Change in surface area upon binding
  • Burial Fraction: Percentage of surface buried (0-100%)
  • Total Buried Area: Sum of ΔSASA for all residues

Output Visualizations

Burial Distribution

Histogram showing how many residues have different burial fractions. Interface residues typically show 50-100% burial.

Bound vs Unbound Comparison

Bar chart comparing SASA values in complex vs. isolated state for each chain.

Chain-by-Chain Heatmap

Color-coded visualization of SASA values for each residue along the sequence.

Interface Residues Table

Detailed spreadsheet listing all interface residues with their SASA values, burial fractions, and residue types.

Interpreting Burial Fractions

0-20% buried: Surface-exposed residues, minimal involvement in interface

20-50% buried: Partially buried, peripheral interface residues

50-80% buried: Significant burial, core interface residues

80-100% buried: Highly buried, key binding residues or internal protein core

VDW Energy Analysis

Performance Note

VDW energy calculation is computationally intensive and can take 3-5 minutes for large structures. This analysis is optional and recommended only when detailed energy information is needed.

Calculates van der Waals interaction energies between atoms to identify energetically favorable contacts and binding hotspots.

Algorithm: Lennard-Jones Potential

Formula: Uses the AMBER 12-6 Lennard-Jones potential:

EVDW = ε[(rmin/r)12 - 2(rmin/r)6]

Where:

  • ε = depth of the potential well (energy parameter)
  • rmin = distance at energy minimum
  • r = actual distance between atoms

Interpretation:

  • Negative values = favorable (attractive) interactions
  • Positive values = unfavorable (repulsive) interactions
  • More negative = stronger favorable interaction

Parameters: Uses AMBER force field parameters for atomic radii and well depths for each atom type.

Adjustable Parameters

Parameter Default Value Description
Group A (Receptor) - First molecular group (e.g., antibody)
Group B (Ligand) - Second molecular group (e.g., antigen)
Distance Cutoff 5.0 Å Maximum distance for VDW calculation (3.0-10.0 Å). Larger cutoffs increase computation time significantly.
Energy Threshold -2.0 kcal/mol Minimum energy to identify as hotspot (-10.0 to 0.0 kcal/mol). More negative = stronger interactions only.
Ignore Hydrogen Yes (checked) Skip hydrogen atoms for faster calculation (recommended)
Show 3D Viewer Yes (checked) Include interactive 3D visualization of energies
Top N Hotspots 20 Number of strongest interactions to highlight (5-50)
3D Viewer Size Medium Options: Small (600×450), Medium (800×600), Large (1000×750)

Output & Analysis

  • Energy Rankings: List of atom pairs sorted by interaction energy
  • Hotspot Identification: Residues with strongest favorable interactions
  • Per-Residue Energy Sum: Total VDW contribution for each residue
  • Interactive 3D Viewer: Structure with energy-based coloring (red = favorable, blue = unfavorable)
Energy Threshold Guidelines

-2.0 kcal/mol (default): Identifies moderately strong interactions, good starting point

-1.0 kcal/mol: More inclusive, captures weaker interactions

-3.0 to -5.0 kcal/mol: Very selective, only strongest hotspots

Tip: Start with default -2.0 and adjust based on results. Very negative thresholds may return few or no interactions.

Research Application

VDW analysis is particularly useful for identifying binding hotspots for drug design, predicting mutation effects on binding affinity, and understanding the energetic basis of protein-protein recognition.

Multi-Complex Comparison

Compare multiple variants of protein-protein complexes side-by-side to identify structural differences, analyze mutation effects, and understand sequence-structure-function relationships.

Workflow

1 Upload Multiple Structures

Upload 2 or more PDB files. Each structure should be given a unique variant name (e.g., WT, V1, V2, Y53F).

2 Designate Wild-Type

Select one structure as the Wild-Type (WT) reference. All other variants will be compared against this reference.

3 Define Chain Groups (Optional)

Group chains into functional categories (e.g., "antibody" = chains H,L; "antigen" = chain A). This enables group-level analysis.

4 Run Comparison

SPICE calculates comprehensive properties across all structures and generates an interactive dashboard.

Calculated Properties

Property Description
Contact Counts Number of each contact type (H-bonds, salt bridges, etc.) for each variant
Interface Areas Buried surface area (BSA) and interface size for each complex
Contact Differences Contacts lost or gained relative to WT
Geometry Metrics Backbone and side-chain angles distribution
VDW Metrics VDW energy distribution across all residues
Statistical Summary Mean, standard deviation, and trends across all variants

Interactive Dashboard

The multi-complex dashboard provides:

  • Comparison Charts: Bar plots and line graphs showing property values across all variants
  • 3D Structure Viewer: Interactive molecular visualization with variant switching
  • Statistical Tables: Comprehensive data tables with all calculated values
  • Trend Analysis: Identification of patterns and outliers
  • Export Options: Download data as CSV or Excel for further analysis
  • Publication-Quality Figures: Combined plots suitable for papers and presentations
Analysis Methodology

Structure Alignment: All variants must be structurally aligned to the WT reference using Cα atom superposition before comparison.

Property Calculation: Each variant undergoes the same analysis pipeline (contacts, interface, SASA, etc.) with identical parameters.

Statistical Comparison: Properties are normalized and compared using difference scores and percentage changes relative to WT.

Visualization Features

Sequential Concatenation Plots

For multi-chain analysis, residues are displayed sequentially with vertical lines marking chain boundaries. Each variant is shown in a different color, making it easy to compare values across the entire complex.

Difference Heatmaps

Color-coded matrices showing property differences between variants and WT. Red indicates increase, blue indicates decrease.

Research Applications

Antibody Engineering: Compare antibody variants with different CDR mutations to optimize affinity and specificity.

Disease Mutations: Analyze how disease-associated mutations affect protein structure and interactions.

Rational Design: Guide protein engineering by identifying which properties change with specific mutations.

Interpreting Results

Understanding the Results Page

After analysis completes, you'll see an organized results page with:

1. Summary Panel
  • Key metrics at a glance (total contacts, BSA, number of interface residues)
  • Analysis timestamp and parameters used
  • Quick links to detailed visualizations
2. Interactive Visualizations
  • Zoom and Pan: Click and drag to explore regions of interest
  • Hover for Details: Mouse over data points to see exact values
  • Toggle Series: Click legend items to show/hide data series
  • Save Images: Use the camera icon to download plots as PNG
3. Data Tables
  • Sortable columns (click headers to sort)
  • Searchable content (use browser Ctrl+F)
  • Complete numerical data underlying visualizations
4. 3D Structure Viewer (when included)
  • Rotate: Left-click and drag
  • Zoom: Scroll wheel or pinch
  • Pan: Right-click and drag
  • Center: Double-click on an atom
  • Residue Properties: Some viewers (multi-complex) allow details of calculated residue properties

Exporting Results

Format Best For Contains
HTML Report Presentations, sharing with collaborators All visualizations and tables, interactive
PNG Images Publications, posters High-resolution static images of plots
CSV Files Further analysis in Excel, R, Python Raw data tables in spreadsheet format
Important Notes

Session Isolation: Your results are stored in a session-specific folder. They will be cleared when you close your browser or clear the session.

Download Results: Always download important results before closing your browser or starting a new analysis.

Common Questions

Q: How do I know if my analysis is complete?

A: The progress indicator will disappear and the results page will automatically load. You'll see "Analysis Complete" at the top of the page.

Q: Can I re-run analysis with different parameters?

A: Yes! Click "Run Another Analysis" to return to the parameter selection page. Your structure will remain loaded.

Q: What if I see unexpected results?

A: First verify your parameter selections (cutoff distances, chain selections). Check that you selected the correct chains for Group A and Group B. Review the algorithm details in this guide for interpretation.

Q: How long are results stored?

A: Results persist for your current browser session. They're automatically cleared when you close your browser, start a new session, or manually clear your session.