Take Control of Your Data: An Introduction to the Scripting Node in Compound Discoverer Software

The scripting node in Thermo Scientific Compound Discoverer software enables researchers to customize small-molecule data processing workflows using their own scripts. This blog explains what the scripting node is, why it matters, and how it supports flexible calculations, annotations, and integrations for more tailored LC-MS data analysis.

compound discoverer color splash image

Small-molecule research often demands workflows that are adaptable to specific experimental questions. While Compound Discoverer software already provides extensive built-in processing tools, many labs need additional calculations or annotations to match their unique requirements. The scripting node creates an opportunity to extend those capabilities by allowing users to embed their own R or Python code directly into a workflow, enabling tailored data transformations without leaving the software environment.

Frequently Asked Questions

  • It is a workflow element inside Compound Discoverer software that enables users to run their own R or Python scripts during data processing, allowing custom calculations, filtering, or annotation steps.

  • The node supports exporting tables, running custom logic, and returning modified results into the pipeline, helping shape workflows around specific analytical or reporting needs.

  • No. Users only need a functional script and a clear objective; the node handles integration into the existing workflow.

  • It is helpful when built-in nodes don’t address certain calculations, when integrating external tools, or when automating tasks that would otherwise require manual post-processing.

  • Common examples include elemental ratios (O/C, H/C), logP estimations, pathway exports, and automated compound flagging based on experimental rules.

  • Academic researchers, analytical laboratories, pharmaceutical scientists, and any teams that require flexible, script-based extensions to their mass spectrometry data processing workflows.

Combined Capabilities

Feature

Built-In Compound Discoverer Tools

Scripting Node Capabilities

Calculations

Standard quantification and annotation

Custom equations and logic

External integrations

Predefined connections

Integrate third-party tools or databases

Data manipulation

Automated but fixed operations

User-defined filtering, joins, or formatting

Output control

Standard reporting

Tailored tables, flags, and annotations

Flexibility

High for common workflows

High for specialized needs

Compound Discoverer Scripting Node

The scripting node provides an adaptable extension within Compound Discoverer workflows, giving researchers the ability to run their own R or Python scripts directly inside their data processing pipeline. This functionality allows users to take the compounds table—or other exported tables—apply custom logic, and return results for downstream visualization or reporting. Because the node fits seamlessly into the existing workflow structure, it supports more tailored analyses without requiring users to manually reprocess data in external applications.

The scripting node supports:

  • Calculating custom ratios like O/C and H/C for elemental analysis
  • Adding logP values by integrating tools like OpenBabel*
  • Connecting to your own in-house databases or pathway tools like BioCyc**
  • Automatically flagging expected or unexpected compounds with custom logic
  • Performing extra data checks, visualizations, or export formats unique to your project

The result is a flexible mechanism that helps users adapt Compound Discoverer software to their specific analytical questions. Think of the scripting node as a flexible add-on inside your Compound Discoverer workflow. It lets you run your own custom code (like an R or Python script) during data processing — so you can calculate, filter, or annotate your results exactly how you need.

Watch the webinar recording Customizing Compound Discoverer: How to Create a Scripting Node Using R and discover how easy it is to customize your workflows.

Research teams frequently encounter cases where standard workflows do not fully address emerging analytical challenges. Users who incorporate scripting nodes often report that even modest custom calculations can simplify their projects, reduce tedious manual steps, and create workflows that match their scientific requirements more closely. These insights reflect how scripting can support smoother data processing, especially for groups analyzing complex small-molecule datasets or integrating specialized annotation sources. and peptides.

*https://github.com/openbabel/openbabel
**BioCyc Database Collection is managed by SRI International. 

Visit us on LinkedIn: #CompoundDiscoverer #SmallMolecules #Software #ScriptingNode

Written by:

Zoe Julian

Product Marketing Manager, Chromatography Software, Thermo Fisher Scientific

Zoe Julian is a Marketing Manager in the chromatography and mass spectrometry software division at Thermo Fisher Scientific. With over 12 years of experience in analytical science and scientific software, as well as professional experience in digital marketing, she creates customer-focused content that helps laboratories solve challenges, improve productivity, and streamline workflows. Her background in GC and GC-MS/(MS) organic environmental analysis gives her a practical understanding of the needs of scientists today.

Read more Julian, Zoe