Back to Skills

interpret-nmr-spectrum

pjt222
Updated 2 days ago
4 views
17
2
17
View on GitHub
Otherdata

About

This skill analyzes NMR spectra (1H, 13C, DEPT, 2D) to determine molecular structure by assigning chemical shifts, interpreting coupling patterns, and correlating multi-dimensional data. It's used for structural elucidation of unknown organic compounds, turning spectral data into coherent structural proposals. Key capabilities include peak assignment, integration analysis, and fragment identification from complex spectral relationships.

Quick Install

Claude Code

Recommended
Primary
npx skills add pjt222/agent-almanac -a claude-code
Plugin CommandAlternative
/plugin add https://github.com/pjt222/agent-almanac
Git CloneAlternative
git clone https://github.com/pjt222/agent-almanac.git ~/.claude/skills/interpret-nmr-spectrum

Copy and paste this command in Claude Code to install this skill

Documentation

Interpret NMR Spectrum

Analyze one-dimensional and two-dimensional NMR spectra to assign peaks, determine coupling relationships, and propose molecular structural fragments consistent with all observed data.

When to Use

  • Determining the structure of an unknown organic compound from NMR data
  • Confirming the identity and purity of a synthesized product
  • Assigning peaks in complex spectra with overlapping signals
  • Correlating multiple NMR experiments (1H, 13C, DEPT, COSY, HSQC, HMBC) into a unified structural picture
  • Distinguishing regioisomers, stereoisomers, or conformational isomers

Inputs

  • Required: NMR spectrum data (at minimum, a 1H spectrum with chemical shifts, multiplicities, and integration)
  • Required: Molecular formula or molecular weight (from mass spectrometry or elemental analysis)
  • Optional: 13C and DEPT spectra (chemical shifts and multiplicities)
  • Optional: 2D spectra (COSY, HSQC, HMBC, NOESY/ROESY correlation tables)
  • Optional: Solvent and field strength used for acquisition
  • Optional: Known structural constraints (e.g., reaction starting material, functional groups confirmed by IR)

Procedure

Step 1: Assess Spectrum Type and Acquisition Parameters

Establish what data is available and its quality before interpreting:

  1. Identify experiment types: Catalog which spectra are available (1H, 13C, DEPT-135, DEPT-90, COSY, HSQC, HMBC, NOESY, ROESY, TOCSY). Note the nucleus observed and the dimensionality.
  2. Record acquisition parameters: Note the spectrometer frequency (e.g., 400 MHz, 600 MHz), solvent, temperature, and reference standard.
  3. Identify solvent and reference peaks: Locate and exclude solvent signals using the reference table below.
Solvent1H Residual (ppm)13C Signal (ppm)
CDCl37.2677.16
DMSO-d62.5039.52
D2O4.79--
CD3OD3.3149.00
Acetone-d62.0529.84, 206.26
C6D67.16128.06
  1. Assess spectral quality: Check baseline flatness, resolution of multiplets, and signal-to-noise ratio. Flag any artifacts (spinning sidebands, 13C satellites, solvent impurity peaks such as H2O at ~1.56 ppm in CDCl3).

Got: A complete inventory of available experiments, confirmed solvent/reference peaks excluded from analysis, and a quality assessment.

If fail: If the spectrum has poor signal-to-noise or severe baseline distortion, note the limitation and proceed with caution. Flag any peaks that cannot be reliably distinguished from noise.

Step 2: Analyze 1H Chemical Shifts

Assign each 1H signal to a chemical environment using characteristic shift ranges:

  1. Tabulate all signals: For each peak, record chemical shift (ppm), multiplicity, coupling constant(s) J (Hz), and relative integration.
  2. Classify by chemical shift region:
Range (ppm)EnvironmentExamples
0.0--0.5Shielded (cyclopropane, M-H)Cyclopropyl H, metal hydrides
0.5--2.0Alkyl (CH3, CH2, CH)Saturated aliphatic chains
2.0--4.5Alpha to heteroatom/unsaturation-OCH3, -NCH2, allylic, benzylic
4.5--6.5Vinyl / olefinic=CH-, =CH2
6.5--8.5AromaticArH
9.0--10.0Aldehyde-CHO
10.0--12.0Carboxylic acid-COOH
0.5--5.0 (broad, exchangeable)OH, NHAlcohols, amines, amides
  1. Count hydrogens: Use integration ratios relative to the molecular formula to assign the number of protons per signal. Normalize to the simplest whole-number ratio.
  2. Note exchangeable protons: Signals that disappear on D2O shake (OH, NH, COOH) are exchangeable. Record their presence and approximate shift.

Got: A table of all 1H signals with shift, multiplicity, J-values, integration (number of H), and preliminary environment assignment.

If fail: If integration ratios do not sum to the expected total number of protons, check for overlapping signals, broad peaks hidden in the baseline, or incorrect molecular formula.

Step 3: Determine Coupling Patterns and J-Values

Extract connectivity information from splitting patterns:

  1. Identify multiplicities: Assign each signal as singlet (s), doublet (d), triplet (t), quartet (q), doublet of doublets (dd), etc. For complex multiplets (m), estimate the number of coupling partners.
  2. Measure coupling constants: Extract J-values in Hz. Match reciprocal couplings (if H_A couples to H_B with J = 7.2 Hz, H_B must show the same J to H_A).
  3. Classify J-values by type:
J Range (Hz)Coupling Type
0--3Geminal (2J) or long-range (4J, 5J)
6--8Vicinal aliphatic (3J)
8--10Vicinal with restricted rotation
10--17Vicinal olefinic cis (6--12) or trans (12--18)
0--3Aromatic meta
6--9Aromatic ortho
  1. Map coupling networks: Group mutually coupled protons into spin systems. Each spin system represents a connected fragment of the molecule.
  2. Assess roof effect: In AB-type patterns, the inner lines of doublets are more intense than the outer lines, indicating chemical shift proximity.

Got: All coupling constants measured and matched reciprocally, spin systems identified, and coupling types classified.

If fail: If multiplets are too complex to analyze by first-order rules, note the higher-order pattern. Consider that overlapping signals or strongly coupled nuclei (delta-nu/J < 10) produce non-first-order patterns requiring simulation.

Step 4: Analyze 13C and DEPT Data

Determine carbon types and count from 13C experiments:

  1. Count distinct carbon signals: Compare the number of 13C peaks with the molecular formula. Fewer peaks than expected indicates molecular symmetry.
  2. Classify by chemical shift:
Range (ppm)Carbon TypeExamples
0--50sp3 AlkylCH3, CH2, CH, quaternary C
50--100Alpha to O or N-OCH3, -OCH2, anomeric C
100--150Aromatic / vinyl=CH-, ArC
150--170Heteroaromatic / enol / imineC=N, C-O aromatic
170--185Carboxyl / ester / amide-COOH, -COOR, -CONR2
185--220Aldehyde / ketone-CHO, >C=O
  1. Apply DEPT editing: Use DEPT-135 (CH and CH3 up, CH2 down, quaternary absent) and DEPT-90 (CH only) to determine the number of attached hydrogens per carbon.
  2. Calculate degree of unsaturation: DBE = (2C + 2 + N - H - X) / 2. Compare with the count of pi bonds and rings implied by the spectrum.

Got: Every 13C signal classified by type (CH3, CH2, CH, C) and chemical environment, degree of unsaturation calculated and consistent with observed functional groups.

If fail: If DEPT data is unavailable, infer hydrogen attachment from HSQC correlations (Step 5). If carbon count does not match the molecular formula, check for coincident signals or quaternary carbons hidden in noise.

Step 5: Correlate 2D NMR Data

Build connectivity using two-dimensional experiments:

  1. COSY (1H-1H correlation): Identify which protons are 2--3 bonds apart. Map cross-peaks to confirm and extend the spin systems from Step 3.
  2. HSQC (1H-13C one-bond): Assign each proton to its directly bonded carbon. This links the 1H and 13C assignments unambiguously.
  3. HMBC (1H-13C long-range): Identify 2--3 bond H-C correlations. HMBC is critical for connecting fragments across quaternary carbons, heteroatoms, and carbonyl groups that lack direct H-C bonds.
  4. NOESY/ROESY (through-space): Identify protons that are spatially close (< 5 Angstroms) regardless of bonding connectivity. Use for stereochemical assignment and conformational analysis.
  5. Build fragment connectivity: Use HMBC correlations to connect the spin systems from COSY into larger fragments. Each HMBC cross-peak represents a 2--3 bond path from H to C.

Got: A connectivity map linking all spin systems into a coherent molecular framework, with stereochemical information from NOE data where available.

If fail: If 2D data is incomplete or ambiguous, note which connections are tentative. Multiple structural proposals may be necessary. Prioritize HMBC correlations for fragment assembly, as they bridge gaps that COSY cannot.

Step 6: Propose and Validate Structure

Assemble fragments into a complete structural proposal:

  1. Assemble fragments: Connect the structural fragments from Steps 2--5 using HMBC correlations and degree-of-unsaturation constraints.
  2. Check molecular formula: Verify that the proposed structure matches the molecular formula exactly (atom count, degree of unsaturation).
  3. Back-predict chemical shifts: For the proposed structure, predict expected 1H and 13C chemical shifts. Compare predictions with observed values; deviations > 0.3 ppm (1H) or > 5 ppm (13C) warrant re-examination.
  4. Verify all correlations: Confirm that every observed COSY, HSQC, and HMBC correlation is explained by the proposed structure. Unexplained cross-peaks suggest an error or impurity.
  5. Consider alternatives: If multiple structures fit the data, list distinguishing experiments or correlations that would resolve the ambiguity.
  6. Assign stereochemistry: Use NOE data, J-value analysis (Karplus relationship for dihedral angles), and known conformational preferences to assign relative and, where possible, absolute stereochemistry.

Got: A single best-fit structural proposal with all NMR data accounted for, or a ranked list of candidates with a plan to distinguish them.

If fail: If no single structure accounts for all data, check for: mixture of compounds (extra peaks with non-integer integration ratios), dynamic processes (broad peaks from conformational exchange), or paramagnetic impurities (anomalous broadening). Re-examine the molecular formula if multiple structures remain equally viable.

Validation

  • All solvent and reference peaks identified and excluded from interpretation
  • Every 1H signal assigned a chemical shift region, multiplicity, J-value, and integration
  • Coupling constants are reciprocal (matched between coupling partners)
  • 13C signals classified by DEPT multiplicity and chemical shift region
  • Degree of unsaturation calculated and consistent with proposed structure
  • 2D correlations (COSY, HSQC, HMBC) are all explained by the structural proposal
  • Proposed structure matches the molecular formula exactly
  • Back-predicted chemical shifts agree with observed values within tolerance
  • Stereochemistry addressed using NOE and/or J-value analysis where applicable

Pitfalls

  • Ignoring solvent peaks: Common solvents produce signals that can overlap with analyte peaks. Always identify and exclude solvent residuals, water, and grease peaks before interpretation.
  • Forcing first-order analysis on second-order patterns: Strongly coupled nuclei (small chemical shift difference relative to J) produce distorted multiplets that cannot be interpreted with simple n+1 rules. Recognize roof effects and non-binomial intensity patterns as indicators.
  • Overlooking exchangeable protons: OH and NH signals may be broad, shifted by concentration/temperature, or absent in protic solvents. A D2O shake experiment clarifies which signals are exchangeable.
  • Assuming all 13C peaks are visible: Quaternary carbons have long relaxation times and low intensity. They may be absent from short-acquisition spectra. HMBC correlations are often the only way to detect them.
  • Misinterpreting HMBC artifacts: HMBC spectra can show one-bond artifacts (misassigned as long-range correlations) and weak four-bond correlations. Cross-check with HSQC to filter out one-bond leakthrough.
  • Neglecting symmetry: If the observed number of 13C peaks is fewer than the molecular formula predicts, the molecule likely has a symmetry element. Account for this before proposing a structure.

Related Skills

  • interpret-ir-spectrum -- identify functional groups to constrain NMR-based structure proposals
  • interpret-mass-spectrum -- determine molecular formula and fragmentation for cross-validation
  • interpret-uv-vis-spectrum -- characterize chromophores and conjugation extent
  • interpret-raman-spectrum -- obtain complementary vibrational data for symmetric modes
  • plan-spectroscopic-analysis -- select and sequence spectroscopic techniques before data acquisition

GitHub Repository

pjt222/agent-almanac
Path: i18n/caveman-lite/skills/interpret-nmr-spectrum
0
agentsagentskillsai-assisted-developmentclaude-codeskillsteams

Related Skills

llamaguard

Other

LlamaGuard is Meta's 7-8B parameter model for moderating LLM inputs and outputs across six safety categories like violence and hate speech. It offers 94-95% accuracy and can be deployed using vLLM, Hugging Face, or Amazon SageMaker. Use this skill to easily integrate content filtering and safety guardrails into your AI applications.

View skill

cost-optimization

Other

This Claude Skill helps developers optimize cloud costs through resource rightsizing, tagging strategies, and spending analysis. It provides a framework for reducing cloud expenses and implementing cost governance across AWS, Azure, and GCP. Use it when you need to analyze infrastructure costs, right-size resources, or meet budget constraints.

View skill

quantizing-models-bitsandbytes

Other

This skill quantizes LLMs to 8-bit or 4-bit precision using bitsandbytes, achieving 50-75% memory reduction with minimal accuracy loss. It's ideal for running larger models on limited GPU memory or accelerating inference, supporting formats like INT8, NF4, and FP4. The skill integrates with HuggingFace Transformers and enables QLoRA training and 8-bit optimizers.

View skill

dispatching-parallel-agents

Other

This Claude Skill dispatches multiple agents to investigate and fix 3+ independent problems concurrently. It is designed for scenarios involving unrelated failures that can be resolved without shared state or dependencies. The core capability is parallel problem-solving, assigning one agent per independent problem domain to maximize efficiency.

View skill