Creating MS/MS User Libraries in NIST26

Presentations | 2026 | James Little/Mass Spec Interpretation ServicesInstrumentation
Software, LC/MS, LC/MS/MS
Industries
Other
Manufacturer
Wiley

Importance of the topic


Creating and maintaining user MS/MS libraries in NIST26 is a high-impact workflow for laboratories that analyze targeted or specialized compound sets. User libraries, though often smaller than commercial or public collections, concentrate on compounds of direct relevance to a given laboratory: proprietary molecules, metabolites, impurities, degradation products, biomarkers and other specialty analytes. Properly constructed user libraries improve identification confidence in industry, R&D, pharmaceutical/medical testing, environmental monitoring and other applied fields where standard libraries may lack relevant entries.

Objectives and study overview


This handout/video by James Little (Mass Spec Interpretation Services) documents practical procedures and best practices for generating LC-MS/MS user libraries in NIST26, explains metadata tagging and structure handling, highlights differences between low-resolution and high-resolution library management, and describes software issues encountered with NIST26 and practical workarounds (notably using the Lib2NIST utility). The goal is to provide a reproducible workflow for adding, annotating and validating user spectra so they integrate reliably into NIST searching and deconvolution routines.

Methodology and workflow


Key steps for library entry:
  • Export spectra from vendor software using a “Send to Lib Search” or equivalent export path, ensuring correct Spectrum Import Options are selected.
  • Or, send spectra directly from the chromatogram tab to the Lib Search tab within NIST26.
  • Capture chemical structures using a drawing program and paste via the Windows clipboard into the NIST librarian editor; calculate molecular weight and formula from the clipboard structure.
  • Prepare standard parameters and sample history in a plain text editor (e.g., Notepad) for easy copy/paste into fields such as Comments or custom tags.
  • Apply user-defined tags to encode metadata (e.g., ion adduct, polarity, instrument, collision energies, analyst, sample location or lab notebook number).

Tagging approaches and comment handling:
  • Tags may be entered individually through the Librarian → Edit Spectrum → Additional Info dialog.
  • Alternatively, groups of tag lines can be composed in Notepad and pasted together into the synonym/comment field and then added to the library table—this expedites batch entry and keeps recurring metadata consistent.
  • Configure the Comment Field Display options to show user-defined tags (for example Chemist, Lab_notebook_no, Analyst) so they are visible in search results and library browsing.

Structure entry and calculation:
  • Draw structures natively in an editor or import similar structures from existing NIST entries (Send to Default Structure Editor) and modify as needed.
  • Copy the circled structure to the Windows clipboard, paste into the Librarian Edit Spectrum dialog and use the From Clipboard functions to import and compute MW and MF.

Low-resolution versus high-resolution libraries:
  • Maintain separate libraries for low-resolution spectra (single quadrupole in-source CID, triple quadrupole MS/MS) and high-resolution spectra (accurate-mass QTOF/Orbitrap) to optimize search performance and interpretation.
  • Low-resolution libraries can provide excellent matches for routine targeted or screening workflows and should not be discounted despite lower nominal mass precision.

Used Instrumentation


The handout references vendor software and instruments used in examples, including Agilent MassHunter exports and Thermo Exploris 120 acquisition metadata. Examples also mention single quadrupole and triple quadrupole sources when discussing low-resolution spectra. These reflect common LC-MS/MS platforms used to build user libraries.

Main results and discussion


Practical outcomes and observed behaviors include:
  • User libraries with well-structured metadata markedly improve identification of lab-relevant analytes even when libraries are small.
  • Copy/paste tag workflows and using Notepad for recurring comments streamline batch library creation and reduce data-entry errors.
  • Automatic addition of InChIKey and estimated retention index by NIST improves structural searchability, but structure indexing must be updated after adding spectra with structures to ensure proper structure-based retrieval.
  • Separate handling of low-res and high-res libraries provides cleaner search behavior; selecting both libraries together can yield robust search results when EI Normal search is used as a fallback.

Software limitations and practical workarounds documented:
  • Intensity threshold import bug: applying an intensity threshold during import can force spectra to be converted to nominal (integer or truncated) masses; to preserve high-resolution precision, avoid inappropriate thresholding at import.
  • HiRes NoPrecursor and Similarity Hybrid MS/MS issues: after adding high-resolution spectra some NIST MS/MS search modes (HiRes NoPrecursor and Hybrid MS/MS) may fail or crash (e.g., error code 0005) and/or not return expected results.
  • Workaround: use the Lib2NIST utility to export the problematic high-resolution library to ASCII MSP and MOL files and then re-import to create a cleaned NIST-formatted library; this process restores functionality for HiRes searches.
  • Other notes: HiRes NoPrecursor may still work with presearch disabled but with very long search times; EI Normal search can often mimic HiRes NoPrecursor behavior when both high- and low-resolution libraries are selected.

Library maintenance and utilities:
  • After adding entries with structures, re-index the library structure index (InChIKey) to ensure reliable structure-based searching and to remove duplicates where necessary.
  • Use the Update List of Libraries function when adding library folders directly to the c:/NIST26/MSSearch folder while NIST is open.
  • Lib2NIST is recommended for repairing HiRes-related problems: export the target library (e.g., hr_jl.msp and associated hr_jl.mol files) and import back as a fixed NIST library; keep original copies (rename to _old) until validated.
  • Lib2NIST requires knowledge of existing NIST library paths (found in nistms.INI) and it is preferable to close NIST Search during the conversion process.

Benefits and practical applications


Key practical benefits of following the documented workflow:
  • Faster, more accurate identifications for laboratory-specific compounds not present in public libraries.
  • Consistent metadata tagging supports traceability (analyst, sample point, date/time, instrument and acquisition parameters) and simplifies reporting and audit trails.
  • Separation of low- and high-resolution libraries preserves the strengths of each data type and improves search outcomes across different acquisition platforms.
  • Use of structure clipboard and InChIKey integration enhances chemical searching and cross-referencing within NIST26.

Future trends and potential applications


Anticipated developments and recommended directions:
  • Improved integration between vendor export formats and NIST import routines would reduce manual tag handling and decrease import-induced artifacts such as nominalization errors.
  • Automation of tag templates and standardized metadata schemas (for example JSON or controlled vocabularies) would accelerate batch library creation and improve interoperability across labs.
  • Tighter coupling of deconvolution algorithms with user libraries could further enhance identification of coeluting or low-abundance compounds in complex matrices.
  • Continued refinement of utilities like Lib2NIST (or native NIST fixes) to handle high-resolution hybrid search modes will be important as more labs adopt accurate-mass LC-MS/MS workflows.

Conclusion


User MS/MS libraries are high-value assets when tailored to a laboratory’s analytical needs. The NIST26 environment supports robust library creation and searching but requires careful handling of metadata, structure indexing and attention to software quirks. Employing straightforward workflows—exporting correctly from vendor software, using clipboard structure transfer, maintaining separate low- and high-resolution libraries, and applying Lib2NIST repairs where needed—produces reliable, searchable libraries that materially improve identification outcomes in targeted applications.

Reference


James Little, Creating MS/MS User Libraries in NIST26 — Video/Handout, Mass Spec Interpretation Services, 8/16/2026, mzinterpretation.com

Content was automatically generated from an orignal PDF document using AI and may contain inaccuracies.

Downloadable PDF for viewing
 

Similar PDF

LC/MS Unknown Identifications Using MSMS Libraries Part VII: Using and Creating Other MSMS Libraries
Wiley Spectral Webinar Part V: Creating and Sharing User EI and MS/MS Libraries
Current Bugs in NIST26 MS/MS (Tandem) Software
Using the NIST26 Tandem Demo with Spectra Imported from Vendor Software