Documentation Index

Fetch the complete documentation index at: https://docs.discngine.com/llms.txt

Use this file to discover all available pages before exploring further.

How to Analyze Hotspots and Synergies

Prev Next

Hotspot analysis scores how much each position (and optionally bridges, chemical side chains, and regions) impacts a chosen endpoint. Synergy analysis goes further and finds combinations of positions that act together. Both are configured on the Hotspot tab of the SAR Report settings drawer. This guide explains the methodology behind each and every option in detail.

How hotspot analysis works

Hotspot analysis identifies the positions with the highest structure-activity relationship (SAR) impact by measuring how much a property varies across the different residues (variants) seen at each position.

For each position, the algorithm:

  1. Groups the peptides by their variant at that position.
  2. Computes a baseline using the selected aggregation method (average, median, or the reference peptide's value).
  3. Calculates the range of variant deviations from that baseline.
  4. Computes a delta for each variant (variant's displayed value − baseline). The variant's displayed value follows the endpoint's display aggregation (max, min, avg, median; histogram uses avg, boxplot uses median).
  5. Normalizes the impact to 0–100% against the largest range in the dataset.

For a region (a group of positions), the algorithm first builds a structural fingerprint combining every monomer, chemical object, and bridge inside the region, groups peptides by that fingerprint, and then scores impact with the same aggregation and normalization as a single position.

A higher impact means residue substitutions at that spot move the property more — making it a key target for optimization.

Enable hotspot analysis

Open Settings → Hotspot and turn on Enable Hotspot Analysis. Impact bars and significance badges immediately appear on the canvas.

The Hotspot tab with analysis enabled, the configuration panel, and impact bars with Hot/Warm/Cold coloring on the canvas

Configure the analysis

Endpoint

The numeric endpoint to score (for example pIC50). Only numeric endpoints are selectable.

Baseline Aggregation Method

How the baseline that variants are compared against is computed. This affects both the gallery deltas and the impact scores.

Method Baseline
Average value of all peptides The mean of all peptide values at the position.
Median value of all peptides The median of all peptide values at the position.
Reference peptide value The value of the reference peptide (set on the Data tab).

Include Elements

Choose which element types get hotspot scoring, coloring, bars, and badges:

Toggle Applies hotspot analysis to…
Include Monomers Amino-acid positions.
Include Chemical Side Chains Chemical objects / side chains.
Include Bridges Disulfide and lactam bridges.
Include Regions Grouped regions (scored via the region fingerprint).

Thresholds

A dual-handle slider (0–100%) that sets the Warm and Hot cut-offs used to classify each element:

  • Hot — impact ≥ the Hot threshold (high impact).
  • Warm — Warm threshold ≤ impact < Hot threshold (moderate impact).
  • Cold — impact < the Warm threshold (low impact).

Read the results

Each included element on the canvas shows:

Cue Meaning
Impact bar A horizontal bar filled to the element's relative impact (0–100%); the fill color reflects strength. Shows the quantitative magnitude.
Significance badge 🔴 Hot (≥ 50%), 🟠 Warm (30–50%), 🟢 Cold (< 30%). Shows the qualitative classification.
Gallery deltas In galleries: green + = higher activity, red = lower activity, grey 0.0 = no change. Delta = variant value − baseline.

The synergy detection settings and the hotspot rendering legend (impact bar, Hot/Warm/Cold badges, and delta values)

The Display options section controls how results are drawn:

Option Effect
Color Scale The impact color ramp: Heat Map (Red-Yellow-Green), Viridis (Purple-Green-Yellow), or Red-Blue.
Show Impact Bars Show/hide the 0–100% impact bars.
Show Significance Badges Show/hide the Hot/Warm/Cold dots.
Show Gallery Deltas Show/hide the per-variant delta values in galleries.
Highlight Only Significant Positions When on, only Hot and Warm elements are styled; Cold elements stay plain, so the impactful spots stand out.

With hotspot enabled, the Display tab also gains a Hotspot option under Color monomers by.

How synergy detection works

Single-position hotspot analysis scores each position on its own, so it cannot see positions that only matter in combination. Synergy detection fills that gap:

  1. Peptides are grouped by the combination of residues at a set of 2–3 positions (or a contiguous region).
  2. An additive prediction is built for each combination: the overall mean plus each position's individual effect.
  3. The synergy is how far the combination's observed activity deviates from that additive prediction — a consistent gap is the interaction signal.

Interaction types:

  • Synergistic — together more active than the sum of the individual effects (the positions reinforce each other).
  • Antagonistic — together less active than expected (the positions interfere).
  • Neutral — activity matches the additive prediction.

Each detected synergy is drawn as a region on the viewer (for example "Synergy 2 + 5").

Detect multi-position synergies

In the Synergies section, turn on Detect multi-position synergies.

The Synergies section with multi-position synergy detection enabled and the detection parameters

Detection options

Option What it controls
Combination order How positions are grouped: Pairs only (2), Pairs and triples (2–3), Triples only (3) — these may be non-adjacent — or Contiguous regions, which scans adjacent stretches of monomers (useful for motif-like synergies longer than 3).
Region length range (regions mode only) The shortest and longest contiguous run of monomers to scan. Longer regions need more peptides sharing the same motif, so they are often dropped for low support.
Min. peptides per combination The minimum number of peptides that must share the same variant combination for it to count. Higher = more reliable but needs more data; combinations below it are ignored.
Ignore gap combinations Exclude combinations that include an empty position (a gap / "None"), so synergies are scored only on actual residue combinations.

Filter and sort the synergies

Control What it does
Min. synergy strength (% of strongest) Hides synergies below a minimum interaction strength. Each set's raw score is the support-weighted RMS of its combinations' residuals (observed − predicted), scaled against the strongest set of the same size (pairs, triples, and regions each scaled to their own strongest). 0% lists everything; 100% keeps only the strongest. This is interaction strength, not activity.
Filter by activity impact Any activity (all), Improves activity (only sets with a combination that is both synergistic and more active than the baseline), or No activity gain (sets that interact but not toward a more active combination).
Sort by Strength (relative magnitude), Most synergistic (largest share of synergistic combinations), Most antagonistic (largest share of antagonistic combinations), or Activity impact (best synergistic + active combination first).

Each detected synergy is also drawn as a region on the viewer, connecting its positions (for example Synergy 10 + 30). Clicking one opens a synergy region gallery:

Synergy regions drawn on the viewer — Synergy 10 + 30 with its connectors and a synergy region gallery, over the hotspot impact bars

The synergy list shows a count ("N synergies found") and one row per synergy:

The synergy results list showing 97 synergies, each with a checkbox, positions, a synergistic/antagonistic direction bar, strength percentage, and its best combination

Each row has a checkbox (show the synergy as a region on the viewer), the positions, a direction bar (green synergistic / grey neutral / red antagonistic), the strength %, and the best combination — its residues, the Activity and Synergy deltas, and the supporting peptide count n. Use Check all / Uncheck all to toggle every row, and Explore to open the combinations table.

If nothing meets the settings you will see "No synergy found" — lower the Min. synergy strength or Min. peptides per combination, change the activity filter, or add more peptides.

Explore synergy combinations

Click Explore to open the Explore Synergy Combinations dialog — a sortable table of every combination across the listed synergies. Each row shows the Positions, the residue Combination, its Strength, the Synergy Δ and Activity Δ, the supporting peptide count n, and a box-plot per property. Use Group by positions and Synergistic & active only to focus the table, and click a column header to sort.

The Explore Synergy Combinations dialog: a sortable table of combinations with Synergy and Activity deltas and per-property box-plots

Next steps