PNA
¹H qNMR and Chemometrics of Heirloom Apple Juices and Ciders · PNA-WP-CIDER v3.0

5. Materials and Methods

5.1 Samples, consolidation and removal of duplicates

The cider spectra are held in eleven workspaces of the PNA NMR Processor (version 2.6.4). Each workspace is an archive that contains the original Mnova documents, the processed spectra and a manifest with the acquisition comments and stored integrals. Together the workspaces hold 553 spectrum records. Because the same Mnova documents had been loaded into several workspaces, most spectra occur more than once; identical acquisitions were recognized by the path of the original free induction decay and by a hash of the data, which reduced the records to 285 distinct spectra. Of these, 212 are spectra of ciders, 23 of the apple juices of 2015 and 50 of other materials (beers, wines and reference compounds), the last of which were used only where they serve as pure-component references. The spectra of the 56 apple juices of Section 4 are held in a twelfth workspace.

The identity of each cider was established from the acquisition comment (producer, product, declared alcohol content and, where given, lot code) and the following rules were applied so that each cider enters the analysis once. One spectrum of the cider as received (the native tube) and one of the freeze-dried cider (the freeze-dried tube) represent each product. Repeated acquisitions of the same tube, sixteen spectra of fifteen ciders, were set aside as replicates for the estimation of precision. Where the same product had been bought and analyzed twice without any indication of a different lot, the later analysis was kept; this applies to Citizen Cider Unified Press, Citizen Cider The Dirty Mayor and Magners Original Irish Cider, and the two analyses of the Citizen Cider products are compared in Section 7.2. Products for which distinct lots were deliberately analyzed, namely the fourteen cans of five Stormalong products from different lots and the batches and cans of Downeast Original Blend, were retained as separate entries because they document the variation between lots. The result is a set of 96 ciders from 36 producers, 87 of them with both tubes and 9 with the native tube only. The complete list, with the identifiers used in the workbooks and in the consolidated workspace, is given in Appendix A.

For the discussion the ciders were assigned to market segments on the basis of the producer: regional craft (63 ciders), mass-market brands of national or international distribution (19), traditional European ciders (7), ciders made by home or experimental cider makers (4), non-alcoholic ciders (2) and one fresh, unpasteurized apple cider that had been held for two months and had begun to ferment. The measurements fall into four campaigns, 2013 to 2015 (59 ciders), 2017 (5), 2020 (14) and 2022 to 2026 (18), which differ in acquisition parameters (Table 8) and, unavoidably, in the products that were on the market.

5.2 Sample preparation

Two NMR samples were prepared from each cider. For the native tube, 175 µL of cider, freed of carbon dioxide by agitation, was mixed with the maleic acid standard solution in D₂O (100 µL until 2020, 50 µL from 2022) and D₂O to a volume suitable for a 5 mm tube. For the freeze-dried tube, 1000 µL of cider was lyophilized and the residue was redissolved in D₂O containing the same volume of standard solution. Freeze-drying removes water and most of the ethanol, concentrates the non-volatile constituents about sixfold relative to the native tube, and uncovers the signals of 2,3-butanediol, glycerol and sorbitol that are hidden by ethanol in the native spectrum; it also removes the volatile constituents, which is why both tubes are needed. In one case (J.K.'s Scrumpy, 2013) the standard was weighed directly into the native tube.

5.3 NMR acquisition

The spectra were acquired at 27 °C with a one-pulse sequence on two 300 MHz spectrometers: a Varian Mercury MVX-300 with a 5 mm ATB probe (¹H frequency 299.67 MHz until 2015 and 299.99 MHz from 2020), on which 74 of the ciders were measured, and a Varian Mercury Plus 300 (299.94 MHz), which was used for one or both tubes of the remaining 22, all of them from the campaigns of 2013 to 2015 and of 2017. The acquisition parameters of the four campaigns are summarized in Table 8. Excitation pulses of 8 to 12 µs were used for all but three spectra, and the repetition time, the sum of the relaxation delay and the acquisition time, was 14 to 24 s for all but four. Water suppression was applied to the native tubes, as described previously,7 and the freeze-dried tubes, which contain only the residual water of the solvent, were acquired without it. The free induction decays (64,000 complex points) were zero-filled to 262,144 points.

Table 8. Measurement campaigns: number of ciders, spectrometer, internal standard and principal acquisition parameters.

CampaignCiders (native / freeze-dried tubes)SpectrometerStandard solution per tubeMaleic acid delivered (µmol)Pulse width (µs)Relaxation delay (s)Acquisition time (s)Spectral width (Hz)Transients
2013–201559 / 53MVX-300; Mercury Plus 300100 µL79.9510 (8–12)78.0800032–256
20175 / 5Mercury Plus 300; MVX-300100 µL79.951078.9719464–128
202014 / 14MVX-300100 µL79.9510104.2714,99320–64
2022–202618 / 15MVX-30050 µL39.988 (8.5)15–204.2714,99316–256

Exceptions: J.K.'s Scrumpy (2013), 7.6 mg of maleic acid weighed into the native tube (64.82 µmol); Hudson North Peach Mango (2022), 100 µL of standard solution.

5.4 Internal standard

Maleic acid is a customary internal standard for qNMR in aqueous solution. Its two olefinic protons give a singlet near 6.4 ppm in a region that is free of cider signals, and it is available in certified purity.206–209 The standard solution used throughout contained 93.7 mg of maleic acid of 99 % purity per milliliter of solution in D₂O. A volume of 100 µL thus delivered 9.37 mg of the standard substance, or 79.95 µmol of maleic acid, to the tube, and 50 µL delivered 39.98 µmol. All spectra were referenced, and all concentrations calculated, with the maleic acid singlet of the same tube.

5.5 Processing, referencing and the common chemical-shift axis

The processed spectra held in the workspaces (Fourier transformation of the zero-filled data and phase correction with the parameters stored at acquisition) were used without further global manipulation; baselines were treated locally in each analytical window. Chemical shifts in cider depend on pH and on the ethanol content, and no shift reference had been added to most samples. Each spectrum was therefore referenced internally by setting the center of the methyl triplet of ethanol to 1.1708 ppm; where ethanol was absent, as in the freeze-dried tubes of dry ciders, the non-alcoholic products and the juices, the singlet of succinic acid (2.671 ppm) or the anomeric doublets of sucrose (5.4005 ppm) and α-glucose (5.218 ppm) served instead. All spectra were then interpolated onto one axis from 10.5 to −0.5 ppm with a point spacing of 0.0002 ppm, on which the targeted measurements and the bucketing for the chemometric analysis were carried out.

5.6 Measurement of peak areas

Three procedures were used, each where it is appropriate, and the same procedure was always applied to the analyte and to the standard with which it is compared (Table 9). Isolated multiplets were integrated numerically between fixed limits after subtraction of a straight baseline drawn between the edges of the window. Signals that overlap with a neighbor were fitted with pseudo-Voigt lines188 constrained by the known multiplet structure (number of lines, coupling constants and intensity ratios) together with a linear baseline, which separates, for example, the doublet of lactic acid from the ¹³C satellite of ethanol and the doublet of 2,3-butanediol from the ethanol triplet. The crowded region between 3.18 and 4.30 ppm, in which fructose, glucose, sucrose, glycerol, sorbitol and residual ethanol overlap completely at 300 MHz, was decomposed by non-negative least squares210 into the spectra of the pure compounds, in the manner of targeted profiling.189 The reference spectra had been recorded under the same conditions and were shifted rigidly and broadened to match each cider; the contributions of sucrose and glucose were fixed at the values obtained from their resolved anomeric doublets, so that only fructose, glycerol, sorbitol, 1,3-propanediol and residual ethanol were free.

Two constants required by this scheme were measured, not assumed. The α-pyranose fraction of glucose at equilibrium, needed to convert the α-anomeric doublet into total glucose, was determined as 0.380 from the reference spectrum, in agreement with the accepted value,211 and the fraction of the fructose intensity that falls into the window between 4.080 and 4.128 ppm (0.455 proton equivalents per molecule, the sum over the tautomers present at equilibrium211,212) was obtained in the same way. Three analytes are reported only when a second signal confirms the assignment: citric acid when the fitted coupling constant of its doublet lies between 15.3 and 16.5 Hz, sorbic acid when the olefinic doublet of H-2 at 5.83 ppm is present (Section 6.3), and 5-hydroxymethylfurfural when the aldehyde singlet at 9.445 ppm is accompanied by the ring proton at 7.53 ppm.

Table 9. Signals used for quantification, with analytical windows and the method of area measurement.

Compound and signalδ (ppm) / windowMultiplicityProtonsArea measurementReported from
Maleic acid, CH=CH (internal standard)≈6.40; ±0.045 (integral), ±0.085 (fit)s2integral and line fitboth tubes
Ethanol, CH₃1.171; 1.245–1.100t, 7.1 Hz3integralnative
Methanol, CH₃3.344s3line fitnative
Higher alcohols, CH₃ (isoamyl alcohols, isobutanol, 1-propanol)0.926–0.840d, d, t6, 6, 3line fitnative
Acetic acid, CH₃2.083s3line fitnative
Sorbic acid, CH₃ (confirmed by H-2, 5.83 ppm, d, 15.3 Hz)1.84; 1.872–1.822d3integralnative
Formic acid8.224s1line fitnative
Lactic acid, CH₃1.41d, 7.0 Hz3line fitfreeze-dried
Succinic acid, (CH₂)₂2.671s4line fitfreeze-dried
Malic acid, CH₂ (citrate doublet subtracted)2.985–2.795AB of ABX2integralfreeze-dried
Citric acid, CH₂ (downfield half)3.041d, 15.9 Hz2 of 4line fitfreeze-dried
Quinic acid, H-6ax1.932dd, 13.4 and 11.4 Hz1line fitfreeze-dried
Sucrose, H-1 (glucosyl)5.402d, 3.9 Hz1line fitfreeze-dried
Glucose, H-1 of the α anomer (total = α / 0.380)5.218d, 3.75 Hz1line fitfreeze-dried
Fructose4.30–3.18 (library); 4.128–4.080 (window)multiplets0.455 in windowlibrary decomposition; integralfreeze-dried
Glycerol, sorbitol, 1,3-propanediol4.30–3.18multiplets—library decompositionfreeze-dried
1,3-Propanediol, central CH₂ (cross-check)1.78; 1.830–1.735quintet2integralboth tubes
2,3-Butanediol, CH₃1.142d, 6.3 Hz6line fitfreeze-dried
Doublet at 5.18 ppm (α-xylose or trehalose; tentative)5.180d1line fitfreeze-dried
Galacturonic acid, H-1 of the α anomer5.322d, 3.8 Hz1line fitfreeze-dried
Alanine, CH₃ (tentative)1.577d, 7.3 Hz3line fitfreeze-dried
5-Hydroxymethylfurfural, CHO (confirmed by H-3, 7.53 ppm)9.445s1line fitfreeze-dried
Hydroxycinnamoyl esters, H-7 (as chlorogenic acid)7.685–7.555d, 16 Hz1integralfreeze-dried
Aromatic and olefinic protons (fumaric acid and sorbic acid H-3 removed)7.80–6.76envelope—integralfreeze-dried

Shifts on the scale ethanol CH₃ = 1.1708 ppm. For the nine ciders without a freeze-dried tube the sugars and the principal acids were taken from the native tube with reporting limits raised 5.7-fold, and the polyols are not reported.

5.7 Calculation of concentrations and bridging of the two tubes

The area of each signal, divided by the number of protons that it represents, was compared with the area of the maleic acid singlet measured by the same procedure, and the concentration in the cider was calculated as

C (mg/L) = 0.99 × m(MA) × [(I / N) / (I(MA) / 2)] × (M / 116.07) × (1,000,000 / 175) (Eq. 1)

in which I is the area of the signal, N the number of protons it represents, I(MA) the area of the maleic acid singlet, with its two protons, M the molar mass of the analyte (g/mol), 116.07 the molar mass of maleic acid, 0.99 the purity of the standard, m(MA) the mass of standard in the tube (9.37 mg in 100 µL of standard solution, 4.69 mg in 50 µL), and the factor 1,000,000 / 175 the conversion from the 175 µL of cider in the native tube to one liter. For the freeze-dried tube, in which 1000 µL of cider is represented, the last factor changes accordingly:

C (mg/L) = 0.99 × m(MA) × [(I / N) / (I(MA) / 2)] × (M / 116.07) × (1,000,000 / 1000) (Eq. 2)

Volatile compounds (ethanol, methanol, the higher alcohols, acetic and formic acids, sorbic acid) were obtained from the native tube with Eq. 1, the non-volatile compounds from the freeze-dried tube with Eq. 2. So that both tubes of a cider stand on exactly the same scale, the freeze-dried spectrum was tied to the native spectrum of the same cider. Non-volatile analytes that are measured reliably in both tubes (succinic, malic, lactic and citric acids and the hexoses) give a set of ratios between the two tubes; their median, the bridging factor B, was used in place of the nominal ratio of the two preparations (1000 / 175 = 5.71 for equal amounts of standard). In this way the freeze-dried tube contributes its superior signal-to-noise ratio and its freedom from ethanol, while the scale of every result rests on the simple preparation of the native tube. The bridging factors are themselves a measure of the consistency of the two preparations and are reported in Section 7.2.

Sucrose is hydrolyzed measurably in the acidified sample between preparation and measurement, to a different extent in the two tubes. Where the native tube contained more sucrose than the freeze-dried tube, the native value was reported and the corresponding amounts of glucose and fructose were deducted, which was the case for five ciders; the sum of the sugars is not affected by the hydrolysis, but all sucrose values are lower limits. Results below the reporting limits, which were set from the overlap and noise in each window and range from 5 mg/L for the higher alcohols to 300 mg/L for sorbitol, are given as not detected.

5.8 Derived quantities

Alcohol by volume was calculated from the ethanol concentration with the density of ethanol at 20 °C (0.7893 g/mL). Residual sugar is the sum of fructose, glucose and sucrose. Total organic acid is the sum of malic, lactic, succinic, citric, acetic and quinic acids; for use with the dryness scale it was also expressed as malic acid by summing the acid equivalents. This quantity counts the acids whether they are free or neutralized, and so it is an upper bound to the titratable acidity, not a measurement of it. The extent of malolactic conversion is described by the molar fraction of lactic acid in the sum of lactic and malic acids, and a cider is called lactate-dominant when this fraction is 0.5 or more. Energy was calculated on two bases described in Section 10, per liter and per serving of 12 fl oz (354.9 mL).

5.9 Chemometric methods

The multivariate analysis used five representations of each spectrum between 9.5 and 0.6 ppm: uniform bins of 0.04 and of 0.01 ppm, optimized buckets whose boundaries are moved to the nearest local minimum of the mean spectrum so that no peak is divided between two variables,186,187,213 a table of targeted integrals, and the table of fitted concentrations. The regions of residual water, of the maleic acid standard and its fumaric acid impurity and, in the freeze-dried tubes, of residual ethanol were excluded. Intensities were expressed on the absolute scale provided by the internal standard (millimoles of protons per liter of cider and per ppm) and, for comparison, normalized to total area or by probabilistic quotient normalization.190,214 Mean-centering was combined with no scaling, Pareto scaling, scaling to unit variance or a logarithmic transformation.191,215 The choice among these options is itself a result and is reported in Section 11.

Principal component analysis,216–218 hierarchical clustering by Ward's method,194 t-distributed stochastic neighbor embedding198 and uniform manifold approximation and projection199 were used without reference to any label. Six classifiers were compared for supervised recognition: partial least squares discriminant analysis,219,220 support vector machines with linear and radial kernels,221 random forests,222 k-nearest neighbors and linear discriminant analysis. PLS discriminant analysis and the random forest were applied to the scaled variables themselves, the other four methods to the scores of the first ten principal components of the training data. Composition was predicted from the bucketed spectra by PLS regression.201 All models were validated by nested cross-validation in which the hyperparameters were selected in an inner loop and the performance was estimated in an outer loop,203,204,223 and in which all ciders of one producer were always assigned to the same fold, so that no model was tested on a producer represented in its training set. Scaling parameters were calculated from the training folds only. Classification is reported as balanced accuracy and was tested against permuted labels; regression is reported as the root mean square error of cross-validation, Q² and the ratio of performance to deviation.205 The calculations were carried out in Python with NumPy, SciPy,224 scikit-learn225 and umap-learn; the code accompanies this document.