Data and code from: The molecular geography of climate stress
Data files
Oct 07, 2026 version files 1.69 GB
-
cosyproc.m
3.37 KB
-
fig4.png
264.51 KB
-
LoadSpinsolveData.m
5.26 KB
-
Pine_Resin.zip
1.55 GB
-
README.md
9.96 KB
-
Standards.zip
147.20 MB
Abstract
Climate change is altering forest ecosystems through increasingly frequent droughts and wildfires, yet tools for monitoring molecular markers of ecosystem health across large geographic scales remain limited. We present a noninvasive molecular framework that uses conifer resin as a chemical fingerprint of environmental stress, analogous to blood-based diagnostics in human population health. Resin samples were collected across the western United States, spanning gradients in wildfire exposure, drought severity, elevation, and geography. Nuclear magnetic resonance (NMR) spectroscopy revealed terpene-rich molecular signatures associated with wildfire and drought. Linear chemometric methods showed limited separability of stress classes, consistent with climate-associated chemical signatures that are distributed and nonlinear. In contrast, nonlinear machine learning models consistently identified latent spectral structures linked to climate stress. To connect statistical classification with chemical interpretation, we decomposed resin spectra onto a terpene basis set, enabling interpretable links between stress exposure and represented molecular components. Together, these findings demonstrate that conifer resin chemistry encodes molecular patterns that reflect climate stress across landscapes, and that NMR-based resin profiling combined with data-driven modeling provides a scalable and nondestructive platform for molecular monitoring of ecosystem health and longitudinal tracking of climate-driven change.
Dataset DOI: 10.5061/dryad.bg79cnpst
Description of the data and file structure
Resin samples were noninvasively collected on foot from conifers in wilderness areas across California, Nevada, Utah, Wyoming, Montana, Idaho, Washington, and Oregon, spanning a range of drought levels and wildfire exposure. Geospatial coordinates and elevation were recorded using Garmin inReach and Gaia maps. Species were identified and confirmed using iNaturalist via geotagged photos. These data are provided as a spreadsheet in Supplementary File S1. Following collection, resin was contained in vapor-sealed cryogenic vials and kept out of heat and sunlight for transport to the laboratory, where samples were frozen at 0 °C until dissolution in deuterated chloroform (CDCl3) for NMR analysis at nominal concentrations of 150 mg/mL. Burned samples required more solvent and left CDCl3-insoluble residue, suggesting a polarity shift from combustion chemistry.
All NMR experiments were performed with a 1.9 T Magritek Spinsolve 80 spectrometer at a 1H resonant frequency of 80.51 MHz. Temperature was held constant at 26 °C. For 1D experiments, a standard single pulse sequence was used with a π/2 rf pulse length of 12.4 µs, with 13C WALTZ decoupling during the acquisition window. A spectral width of 5 kHz was chosen, and 16,384 points were digitized with a repetition time of 7 s. A total of 64 scans were averaged for each experiment. For 2D 1H–1H correlations, a COSY sequence was used with 512 increments in the indirect dimension.
Files and variables
File: Pine_Resin.zip
Description:
Raw 1-dimensional 1H and 2-dimensional 1H COSY NMR output from Prospa software for conifer resin samples as described in the Methods Section of "The molecular geography of climate stress." Subfolders (tier A) inside the main "Pine Resin" folder are titled “Idaho,” “MidCal,” “Montana,” “Nevada,” “NorCal,” “Oregon,” “SoCal,” “Utah,” “Washington,” and “Wyoming,” and each contain NMR data for resin samples collected in the respective region. Inside each of these folders are additional subfolders (tier B), each corresponding to conifer resin samples taken in specific regions inside the respective state.
Tier B folders adhere to the same naming convention: "conifer#subregionname_stateabbreviation" (example: 115_Uintas_UT"), where conifer# corresponds to the number of the first conifer sample collected in the specified subregion (all conifers were assigned a number corresponding to the order they were collected in).
Inside each tier B folder are subfolders containing the NMR spectral data for each of the trees in the subregion (tier C), which are named based on the following naming convention:"treeconifer#" (ex: tree115). Inside each tier C folder are subfolders containing the 1-dimensional 1H and 2-dimensional COSY NMR data for the corresponding tree (tier D and E respectively).
Tier D subfolders share the following naming convention: "year#month#day#-IDnumber-1D PROTON" (ex: "20251207-143436-1D PROTON"). Tier E subfolders share the following naming convention: "year#month#day#-IDnumber-COSY 2D" (ex: "20251207-151727-COSY 2D"). The date in the folder names corresponds to the date of the spectrum collection.
Inside Tier D subfolders are the following 1d files: data.1d, spectrum.1d, and spectrum_processed.1d. The data.1d file stores the FID time and intensity values for the sample. The spectrum.1d file stores the ppm frequency axis and spectrum intensity values, and the processing script, which can be opened in any text editor, was run on the spectrum.1d file to produce the spectrum_processed.1d file. All .1d files can be opened in Prospa directly or in MATLAB using the LoadSpinsolveData.m file provided in the SI. Additionally, the spectrum_processed.csv, which can be opened in many softwares (Excel, Python, MATLAB, etc, as well as any other text editor), contains both the processed frequency data and intensity data, stored in the spectrum_processed.1d file. The acqu.par contains metadata about the spectrum collection and can be opened in any text editor. The data.jpg file contains a snapshot of the final scan taken of the NMR spectrum and can be opened in any photo editor. Finally, the Enhanced folder contains identical, redundant acqu.par, data.1d, and processing.script files (these were included for completeness in data reporting).
Tier E subfolders contain data.2d and data.1d files, which respectively contain the FID intensity and time axis data for the COSY readings. Both files can be opened in Prospa directly or can be read in MATLAB using the same LoadSpinsolveData.m file. The cosyproc.m file can be used to retrieve the frequency intensities and ppm axes from these two files. Mirroring the Tier E subfolders, the acqu.par contains collection metadata, and this file along with the processing.script and display.par files can be opened in any text editor. The PilotScan folder includes the acqu.par and data.1d files from the initial pilot scan. Finally, data.jpg contains a screenshot of the final COSY scan and can be viewed in any photo editor.
Experiments were collected with a 1.9 T Magritek Spinsolve 80 spectrometer at a 1H resonant frequency of 80.51 MHz. Analysis codes are included in the Supplemental Materials of the paper to process the data in MATLAB.
File: Standards.zip
Description:
Raw 1-dimensional 1H and 2-dimensional 1H COSY NMR output from Prospa software for standards chemicals as described in the Methods Section of "The molecular geography of climate stress."
Subfolders inside the main "Standards" folder are titled:
- “3-carene”
- “abietic acid”
- “a-pinene”
- “b-pinene”
- “camphene”
- “caryophyllene”
- “guaiacol”
- “humulene”
- “jasmonic acid”
- “limonene”
- “methoxyphenol”
- “naphthalene”
- “phenanthrene”
- “quercetin”
- “quinone”
- “retene”
- “salicylic acid”
- “tannic acid”
Additionally, there is a Standards_chem_draw file, which contains molecular drawings of the standards and can be opened in ChemDraw. These drawings are provided in Figure 4 of the associated manuscript, which is freely accessible without specialized software and provided here directly as "fig4.png". Inside each of the standards folders are subfolders containing the respective standards’s 1-dimensional 1H and 2-dimensional COSY NMR data. 1D NMR subfolders share the following naming convention: "year#month#day#-IDnumber-1D PROTON" (ex: "20250723-184542-1D PROTON"). COSY NMR subfolders share the following naming convention: "year#month#day#-IDnumber-COSY 2D" (ex: "20251207-190637-COSY 2D"). The date in the folder names corresponds to the date of the spectrum collection. Both folders store the same data files as the conifer resin samples NMR spectra in the Pine_Resin.zip folder.
Inside 1D Proton subfolders are the following 1d files: data.1d, spectrum.1d, and spectrum_processed.1d. The data.1d file stores the FID time and intensity values for the sample. The spectrum.1d file stores the ppm frequency axis and spectrum intensity values, and the processing script, which can be opened in any text editor, was run on the spectrum.1d file to produce the spectrum_processed.1d file. All .1d files can be opened in Prospa directly or in MATLAB using the LoadSpinsolveData.m file provided in the SI. Additionally, the spectrum_processed.csv, which can be opened in many softwares (Excel, Python, MATLAB, etc, as well as any other text editor), contains both the processed frequency data and intensity data, stored in the spectrum_processed.1d file. The acqu.par contains metadata about the spectrum collection and can be opened in any text editor. The data.jpg file contains a snapshot of the final scan taken of the NMR spectrum and can be opened in any photo editor. Finally, the Enhanced folder contains identical, redundant acqu.par, data.1d, and processing.script files (these were included for completeness in data reporting).
COSY 2D subfolders contain data.2d and data.1d files, which respectively contain the FID intensity and time axis data for the COSY reading. Both files can be opened in Prospa directly or can be read in MATLAB using the same LoadSpinsolveData.m file. The cosyproc.m file can be used to retrieve the frequency intensities and ppm axes from these two files. Mirroring the Tier E subfolders, the acqu.par contains collection metadata, and this file along with the processing.script and display.par files can be opened in any text editor. The PilotScan folder includes the acqu.par and data.1d files from the initial pilot scan. Finally, data.jpg contains a screenshot of the final COSY scan and can be viewed in any photo editor.
The .dx file format is provided for 1D and 2D experiment data as well. The nmr_fid.dx file extension indicates the file uses the JCAMP-DX standard (managed by IUPAC) to store spectral data.
Experiments were collected with a 1.9 T Magritek Spinsolve 80 spectrometer at a 1H resonant frequency of 80.51 MHz. Analysis codes are included in the Supplemental Materials of the paper to process the data in MATLAB.
Code/software
File: LoadSpinsolveData.m
Description: Can be used to load provided 1D data in Matlab.
File: cosyproc.m
Description: Can be used to load 2D COSY data in Matlab.
Microsoft Excel (Version 2608) was used to visualize and interpret data and matrices processed from Matlab files of the spectral data. Matlab codes (developed with Matlab Version R2025a, a closed-source platform) to process and visualize the NMR spectral data of both standards and pine resin samples are listed in the SI of "The molecular geography of climate stress."
