Back to Skills

interpret-nmr-spectrum

pjt222
Updated Yesterday
2 views
17
2
17
View on GitHub
Otherdata

About

This skill enables Claude to interpret NMR spectra (1H, 13C, DEPT, and 2D experiments) to determine molecular structures. It analyzes chemical shifts, coupling patterns, and spectral integrations to propose structural fragments. Use it when you need to elucidate or confirm organic compound structures from NMR data.

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

Read 1D and 2D NMR spectra. Assign peaks, determine coupling, propose molecular structural fragments consistent with all observed data.

When Use

  • Determine structure of unknown organic compound from NMR data
  • Confirm identity and purity of synthesized product
  • Assign peaks in complex spectra with overlapping signals
  • Correlate multiple NMR experiments (1H, 13C, DEPT, COSY, HSQC, HMBC) into unified structural picture
  • Distinguish regioisomers, stereoisomers, conformational isomers

Inputs

  • Required: NMR spectrum data (at minimum 1H spectrum with chemical shifts, multiplicities, 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)

Steps

Step 1: Assess Spectrum Type and Acquisition Parameters

Establish what data is available, its quality, before interpreting:

  1. Identify experiment types: Catalog which spectra available (1H, 13C, DEPT-135, DEPT-90, COSY, HSQC, HMBC, NOESY, ROESY, TOCSY). Note nucleus observed and dimensionality
  2. Record acquisition parameters: Spectrometer frequency (e.g., 400 MHz, 600 MHz), solvent, temperature, reference standard
  3. Identify solvent and reference peaks: Locate and exclude solvent signals using reference table:
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, signal-to-noise. Flag any artifacts (spinning sidebands, 13C satellites, solvent impurity peaks like H2O at ~1.56 ppm in CDCl3)

Got: Complete inventory of available experiments. Solvent/reference peaks excluded from analysis. Quality assessment.

If fail: Poor signal-to-noise or severe baseline distortion? Note limitation, proceed with caution. Flag any peaks not reliably distinguishable from noise.

Step 2: Analyze 1H Chemical Shifts

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

  1. Tabulate all signals: For each peak, record chemical shift (ppm), multiplicity, coupling constant(s) J (Hz), 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 molecular formula to assign number of protons per signal. Normalize to simplest whole-number ratio
  2. Note exchangeable protons: Signals disappearing on D2O shake (OH, NH, COOH) are exchangeable. Record presence and approximate shift

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

If fail: Integration ratios not summing to expected total protons? Check for overlapping signals, broad peaks hidden in baseline, or incorrect molecular formula.

Step 3: Determine Coupling Patterns and J-Values

Extract connectivity info 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 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 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 = connected fragment of molecule
  2. Assess roof effect: In AB-type patterns, inner lines of doublets more intense than outer → chemical shift proximity

Got: All coupling constants measured and matched reciprocally. Spin systems identified. Coupling types classified.

If fail: Multiplets too complex for first-order rules? Note higher-order pattern. Overlapping signals or strongly coupled nuclei (delta-nu/J < 10) make non-first-order patterns needing simulation.

Step 4: Analyze 13C and DEPT Data

Determine carbon types and count from 13C experiments:

  1. Count distinct carbon signals: Compare number of 13C peaks vs molecular formula. Fewer peaks than expected = 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 number of attached hydrogens per carbon
  2. Calculate degree of unsaturation: DBE = (2C + 2 + N - H - X) / 2. Compare with count of pi bonds and rings implied by spectrum

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

If fail: DEPT data unavailable? Infer hydrogen attachment from HSQC correlations (Step 5). Carbon count does not match 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 spin systems from Step 3
  2. HSQC (1H-13C one-bond): Assign each proton to directly bonded carbon. Links 1H and 13C assignments unambiguously
  3. HMBC (1H-13C long-range): Identify 2-3 bond H-C correlations. HMBC critical for connecting fragments across quaternary carbons, heteroatoms, carbonyl groups lacking direct H-C bonds
  4. NOESY/ROESY (through-space): Identify protons spatially close (< 5 Angstroms) regardless of bonding. Use for stereochemical assignment and conformational analysis
  5. Build fragment connectivity: Use HMBC correlations to connect spin systems from COSY into larger fragments. Each HMBC cross-peak = 2-3 bond path from H to C

Got: Connectivity map linking all spin systems into coherent molecular framework, with stereochemical info from NOE data where available.

If fail: 2D data incomplete or ambiguous? Note which connections are tentative. Multiple structural proposals may be necessary. Prioritize HMBC correlations for fragment assembly — bridges gaps COSY cannot.

Step 6: Propose and Validate Structure

Assemble fragments into complete structural proposal:

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

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

If fail: 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), paramagnetic impurities (anomalous broadening). Re-examine molecular formula if multiple structures remain equally viable.

Checks

  • All solvent and reference peaks identified and excluded from interpretation
  • Every 1H signal assigned chemical shift region, multiplicity, J-value, integration
  • Coupling constants 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) all explained by structural proposal
  • Proposed structure matches 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 make signals overlapping analyte peaks. Always identify and exclude solvent residuals, water, grease peaks before interpretation.
  • Forcing first-order analysis on second-order patterns: Strongly coupled nuclei (small chemical shift difference relative to J) make distorted multiplets not interpretable 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. D2O shake experiment clarifies which signals exchangeable.
  • Assuming all 13C peaks visible: Quaternary carbons have long relaxation times and low intensity. May be absent from short-acquisition spectra. HMBC correlations often only way to detect them.
  • Misinterpret 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.
  • Neglect symmetry: Observed number of 13C peaks fewer than molecular formula predicts? Molecule likely has symmetry element. Account for this before proposing structure.

See Also

  • 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 — 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/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