Modeling the Formation and Decomposition of Nitrosamines
Tutorial Created with Software Release: 2025-2
Topics: Catalysis & Reactivity , Consumer Packaged Goods , Pharmaceutical Formulations
Methodology: Molecular Quantum Mechanics
Products Used: Jaguar , Jaguar , MS Maestro , Maestro
|
2 GB |
This tutorial is written for use with a 3-button mouse with a scroll wheel.
Words found in the Glossary of Terms are shown like this: Workspacethe 3D display area in the center of the main window, where molecular structures are displayed
Abstract:
In this tutorial, we will learn to use the Reaction Network Profiler panel and the Nanoreactor panel to understand the formation and decomposition of nitrosamines.
Tutorial Content
1. Introduction
Nitrosamines are chemical compounds that can form in foods, beverages and pharmaceutical products. The primary concern with nitrosamines is their potential carcinogenicity. Long-term exposure to even small amounts of nitrosamines can increase the risk of cancer, particularly cancers of the stomach, esophagus, and liver. Nitrosamines typically decompose into diazonium compounds that are known to be DNA alkylating agents (Beard et al).
Nitrosamines can form when secondary, tertiary, or quaternary amines come into contact with nitrite salts in acidic conditions. In such environments, nitrite salts can form nitrous acid, which then reacts with an amine to form a nitrosamine. Amines can be present during manufacturing for various reasons, for example, the active ingredient, its degradation products, intermediates, or starting materials might contain secondary or tertiary amine groups. Tertiary and quaternary amines might also be added as reagents or catalysts. These types of amines can react with nitrous acid or other nitrosating agents, forming nitrosamines. For example, under high temperatures and over a long period, N,N-dimethylformamide can break down into dimethylamine, which can then react with nitrous acid to produce N-nitrosodimethylamine (NDMA), a type of nitrosamine (Wichitnithad et al).
In this tutorial, we will learn to elucidate the reaction mechanism (both the thermodynamics and kinetics) for the formation of NDMA using the AutoTS panel. Using this reaction profile as a template, we will then predict the energy profile for the formation of N-nitrosodiethylamine (NDEA) using the Reaction Network Profiler panel. Finally, we will use the Nanoreactor panel to predict the decomposition products of a N-nitrosomethylamine - a primary nitrosamine. An overview of the workflow is shown below:![]()
For additional practice, visit the: Introduction to Geometry Optimizations, Functionals and Basis Sets, Locating Transition States: Part 1 and Part 2, RxnProfiler for Polyethylene Insertion and Nanoreactor tutorials. For additional reference material, see the Conclusion and References section.
2. Creating Projects and Importing Structures
At the start of the session, change the file path to your chosen Working Directorythe location where files are saved in MS Maestro to make file navigation easier. Each session in MS Maestro begins with a default Scratch Projecta temporary project in which work is not saved, closing a scratch project removes all current work and begins a new scratch project, which is not saved. A MS Maestro project stores all your data and has a .prj extension. A project may contain numerous entries corresponding to imported structures, as well as the output of modeling-related tasks. Once a project is saved, the project is automatically saved each time a change is made.
Structures can be built in MS Maestro or can be imported using File > Import Structures (or drag-and-dropped), and are added to the Entry Lista simplified view of the Project Table that allows you to perform basic operations such as selection and inclusion and Project Tabledisplays the contents of a project and is also an interface for performing operations on selected entries, viewing properties, and organizing structures and data. The Entry Lista simplified view of the Project Table that allows you to perform basic operations such as selection and inclusion is located to the left of the Workspacethe 3D display area in the center of the main window, where molecular structures are displayed. The Project Tabledisplays the contents of a project and is also an interface for performing operations on selected entries, viewing properties, and organizing structures and data can be accessed by Ctrl+T (Cmd+T) or Window > Project Table if you would like to see an expanded view of your project data.
-
Double-click the Materials Science icon
- (No icon? See Starting Maestro)
- Go to File > Change Working Directory
- Find your directory, and click Choose
- Pre-generated files are included for running jobs or examining output. Download the zip file here: schrodinger.com/sites/default/files/s3/release/current/Tutorials/zip/nitrosamine.zip
- After downloading the zip file, unzip the contents in your Working Directorythe location where files are saved for ease of access throughout the tutorial
- Go to File > Save Project As
-
Change the File name to nitrosamine_tutorial, click Save
-
The project is now named
nitrosamine_tutorial.prj
-
The project is now named
For this example, the small molecule structures relevant to the reactions of interest are provided.
- Go to File > Import Structures
-
Choose
input_structures.maegzfrom the provided tutorial files - Click Open
The input structures for the reactants and products are added to the entry lista simplified view of the Project Table that allows you to perform basic operations such as selection and inclusion. Please proceed to visualize the five structures in the workspacethe 3D display area in the center of the main window, where molecular structures are displayed. For practicing drawing these molecules, see the Introduction to Materials Science Maestro tutorial.
3. Reaction Energetics for NDMA
In this section, we will use the AutoTS panel to calculate the reaction profile for the formation of NDMA from dimethylamine in the presence of nitrous acid.
-
Go to Tasks > Materials > Quantum Mechanics > Molecular Quantum Mechanics > More Molecular QM Tasks > AutoTS
- Alternatively, you can search for AutoTS in the search bar of the Tasks menu
- The AutoTS panel opens
- Outside of the panel, select(1) the atoms are chosen in the Workspace. These atoms are referred to as "the selection" or "the atom selection". Workspace operations are performed on the selected atoms. (2) The entry is chosen in the Entry List (and Project Table) and the row for the entry is highlighted. Project operations are performed on all selected entries the Reactants (2) group in the workspacethe 3D display area in the center of the main window, where molecular structures are displayed
-
In the Reactants section of the panel, choose From Project Table (2 selected entries) to Import
- The reactants - dimethylamine and nitrous acid are loaded
- Outside of the panel, select(1) the atoms are chosen in the Workspace. These atoms are referred to as "the selection" or "the atom selection". Workspace operations are performed on the selected atoms. (2) The entry is chosen in the Entry List (and Project Table) and the row for the entry is highlighted. Project operations are performed on all selected entries the Products (2) group in the workspacethe 3D display area in the center of the main window, where molecular structures are displayed
-
In the Products section of the panel, choose From Project Table (2 selected entries) to Import
- The products - n-nitrosodimethylamine and water are loaded
- Change the Reaction Name to Reaction_NDMA and the Job name to jag_transition_search_NDMA
- Go to the Preview Reaction Complex tab
-
Click Generate Complexes
- This will generate the pre-reactive (entrance) and post-reactive (exit) complexes. These complexes are used to generate a reaction path and transition state guess.
- This job will take a few minutes.
The output will be two new entries to the entry lista simplified view of the Project Table that allows you to perform basic operations such as selection and inclusion. These are the reactant and product complex guesses. Feel free to visualize these structures in the workspacethe 3D display area in the center of the main window, where molecular structures are displayed.
-
Go to the Advanced Settings tab
- This tab has settings for the reaction complexes, the reaction workflow, and for the individual Jaguar calculations performed in the workflow.
- Check Compute Energies at Infinite Separation
- If you would like to run the job, click Run. Otherwise, pre-generated results are provided.
- Close the AutoTS panel
If you would prefer to proceed with pre-generated results, you can import via File > Import Structures. Navigate to where you downloaded the tutorial files and choose the Section_03 > jag_transition_search_NDMA > jag_transition_search_NDMA_AutoTS > jag_transition_search_NDMA_full_path.mae file.
We should verify the transition state by analyzing the frequency calculation
-
Open the Vibrations directly from the entry list by clicking on the button (
)
- Notice that there is one negative frequency. A transition state should have exactly one negative frequency, and this vibrational mode should be associated with the bond breaking and/or forming process. See Locating Transition States: Part 1 and Part 2 tutorials for a detailed demonstration on transition states calculation.
-
Visualize this vibration by clicking on the play button
- We can see that the vibration resembles the expected transition state, which is good evidence that this is the transition state of interest
- Close the Vibrations pop up
4. Reaction Network Profiler for NDEA based on NDMA reaction template
In this section, we will predict the reaction profile for formation of NDEA from diethylamine using the reaction profile calculated for dimethylamine as a template. Specifically, the Reaction Network Profiler will take the previously calculated mechanism as input, as well as atoms to maintain and substitute, and then compute the reaction profile for a new, analogous reaction. The process demonstrated herein uses several panels in MS Maestro: Create Reaction Network Profiler Input Structures, Swap Fragments, Reaction Network Profiler and Reaction Profile Viewer. For a detailed demonstration of the workflow, see the RxnProfiler for Polyethylene Insertion tutorial.
- Select(1) the atoms are chosen in the Workspace. These atoms are referred to as "the selection" or "the atom selection". Workspace operations are performed on the selected atoms. (2) The entry is chosen in the Entry List (and Project Table) and the row for the entry is highlighted. Project operations are performed on all selected entries the output entry group from the AutoTS calculation
- All three entries should be selected
-
Go to Tasks > Materials > Quantum Mechanics > Reaction Network > Create Reaction Network Profiler Input
- The Create Reaction Network Profiler Input Structures panel opens
- Alternatively, the panel can also be opened from the search bar in the Tasks menu
-
Click Import Selected Entries for Automatically populate groups from existing reaction network entries
- The panel is populated with reactant, transition state and product groups in the Groups of Conformers section
- Select(1) the atoms are chosen in the Workspace. These atoms are referred to as "the selection" or "the atom selection". Workspace operations are performed on the selected atoms. (2) The entry is chosen in the Entry List (and Project Table) and the row for the entry is highlighted. Project operations are performed on all selected entries and includethe entry is represented in the Workspace, the circle in the In column is blue the reactant entry in the entry lista simplified view of the Project Table that allows you to perform basic operations such as selection and inclusion
- For Indices of atoms to keep click Define
-
Enter at.n 2,7,11-14 for the ASL selection.
- If you have run the AutoTS calculation and not imported the provided files, then select the atoms in the workspacethe 3D display area in the center of the main window, where molecular structures are displayed as shown in the figure and use it for the ASL selection using the Selection option
- Click OK
- For Indices of atoms to superposable atoms check Pick Atoms
-
Click on C, N, and C atoms of the reactant in the workspacethe 3D display area in the center of the main window, where molecular structures are displayed in that order.
- Note that the selection order of the superimposable atoms is critical, so it is recommended that you keep the same order of superposable atoms between all reaction network groups.
- Atoms sequence 1,2,3 is updated in the panel
- Scroll down in the panel to group (2)
- Ensure that Sibling group name is transition_state_1
- Ensure reactant is added for Add parent group name
- For Indices of atoms to keep enter 2,7,11,12,13,14
- For Indices of superposable atoms enter 1,2,3
- Ensure that the Indices of atoms to restrain and Atom index pairs of distances to restrain are automatically populated from the AutoTS output
- Ensure Transition state is checked
- Scroll down in the panel to group (3)
- Change Add parent group name to transition_state_1
- Click Add
- Repeat steps 13-14 from this section
- Change the Reaction network name to rxnwf_input_AutoTS
- Check Ensure mass is conserved
- Click Run
- Close the panel
This job should finish almost instantly. A new rxnwf_input_AutoTS (3) group is selected(1) the atoms are chosen in the Workspace. These atoms are referred to as "the selection" or "the atom selection". Workspace operations are performed on the selected atoms. (2) The entry is chosen in the Entry List (and Project Table) and the row for the entry is highlighted. Project operations are performed on all selected entries in the entry lista simplified view of the Project Table that allows you to perform basic operations such as selection and inclusion, and the first group entry, reactant, is includedthe entry is represented in the Workspace, the circle in the In column is blue in the workspacethe 3D display area in the center of the main window, where molecular structures are displayed. The structures match our inputs, but now have the necessary information for swapping fragments and running the reaction network profiler in the next steps.
-
Keeping the previous entry selected(1) the atoms are chosen in the Workspace. These atoms are referred to as "the selection" or "the atom selection". Workspace operations are performed on the selected atoms. (2) The entry is chosen in the Entry List (and Project Table) and the row for the entry is highlighted. Project operations are performed on all selected entries, go to Tasks > Materials > Quantum Mechanics > Reaction Network > Swap Fragments
- The Swap Fragments panel opens
-
In the Reference Structures section of the panel, next to Import reference structures from selected entries, click Import
- All of the reference structure information is populated in the panel
- Select(1) the atoms are chosen in the Workspace. These atoms are referred to as "the selection" or "the atom selection". Workspace operations are performed on the selected atoms. (2) The entry is chosen in the Entry List (and Project Table) and the row for the entry is highlighted. Project operations are performed on all selected entries and includethe entry is represented in the Workspace, the circle in the In column is blue the diethylamine entry in the entry list
- In the Novel Structure section of the panel click Import from Workspace
-
For Specify a collection of atom indices to be replaced enter 3,11
- These correspond to the N and H atoms of the amine.
-
For Specify novel atom indices for superposition enter 2,3,4
- These indices are the atoms in the new reactant that align with our reference atom indices for superposition in the template structure.
- Click Run
- Close the Swap Fragments panel
Note: We can potentially create a large library of swapped reaction complexes using multiple inputs for Novel Structure. This will save time from creating individual complexes manually. In this example, we are only introducing the mechanics for one substitution.
- This job should finish almost instantly. A new rxnwf_input_AutoTS (3) group is selected(1) the atoms are chosen in the Workspace. These atoms are referred to as "the selection" or "the atom selection". Workspace operations are performed on the selected atoms. (2) The entry is chosen in the Entry List (and Project Table) and the row for the entry is highlighted. Project operations are performed on all selected entries in the entry lista simplified view of the Project Table that allows you to perform basic operations such as selection and inclusion, and the first group entry, diethylamine_reactant, is includedthe entry is represented in the Workspace, the circle in the In column is blue in the workspacethe 3D display area in the center of the main window, where molecular structures are displayed.
- Change the entry group name to rxnwf_input_diethyamine
-
Go to Tasks > Materials > Quantum Mechanics > Reaction Network > Reaction Network Profiler Calculations
- The Reaction Network Profiler panel opens
-
Click Import
- (3 structures imported) indicates that the input has been loaded into the panel
- Ensure that Conformational Search is checked
- Click Jaguar Options
- Change the Theory to B3LYP-D3
- Change the Basis set to 6-31G**
- Increase the Maximum interactions to 300
- Change the Maximum steps to 150
- Check Use special measures to prevent convergence failure
-
Click OK
- The Jaguar section of the panel updates with the new functional and basis set.
If you would prefer to proceed with pre-generated results, you can import via File > Import Structures. Navigate to where you downloaded the tutorial files and choose the Section_04 > reaction_profiler_NDEA > reaction_profiler_NDEA-out_rxnwf.mae file.
When the job finishes or after importing, a new entry group titled reaction_profiler_NDEA (14) is added to the entry list. Feel free to visualize any of the complexes in the workspace. You can view the vibration frequencies as we did in Section 3 and verify for all the transition state conformers.
The output files include a .pdf file, which contains the various useful energy diagrams. On your computer (outside of MS Maestro), open reaction_profiler_NDEA_e_diagrams.pdf in any PDF viewer and locate Total_Free_Energy_(kcal/mol)_298.15K_1.00E+00atm_stage_2. The energy profile represents the Boltzmann averaged Free Energy profile for the reaction.
Alternatively, you can also generate the reaction energy profile using the Reaction Profile Viewer. For a more detailed demonstration see Calculating Reaction Energetics for Molecular Systems or Locating Transition States: Part 1 tutorials.
You can also find more details about the reaction like the equilibrium constant for the transition state and turnover frequency (using the Energetic Span method) in the reaction_profiler_NDEA_custom_keq.csv and reaction_profiler_NDEA_tof.csv files respectively.
5. Decomposition Products using Nanoreactor
In addition to understanding their formation, it is also of interest to study potential degradation pathways of nitrosamines. In this section, we will use the Nanoreactor and Nanoreactor Results panels to efficiently predict products of N-nitrosomethylamine decomposition. For a thorough introduction to the Nanoreactor solution, see the Nanoreactor tutorial.
- Go to File > Import Structures
-
Choose
n-nitrosomethylamine.maefrom the provided tutorial files - Click Open
- Select(1) the atoms are chosen in the Workspace. These atoms are referred to as "the selection" or "the atom selection". Workspace operations are performed on the selected atoms. (2) The entry is chosen in the Entry List (and Project Table) and the row for the entry is highlighted. Project operations are performed on all selected entries and includethe entry is represented in the Workspace, the circle in the In column is blue the imported entry
-
Go to Tasks > Materials > Quantum Mechanics > Nanoreactor
- The Nanoreactor panel opens
-
Change the Relaxation time to 10 ps
- This system is small so increasing the relaxation time of the molecular dynamics simulations will not increase the total time the calculation takes by an exorbitant amount.
-
Check Refine final energy
- This setting introduces a DFT calculation on nanoreactor products, specifically electronic energy is calculated with DFT and thermal corrections are calculated with GFN2-xTB. Be aware that adding this parameter might significantly increase computation time, especially for large molecules.
- We will use the default settings for the rest of the parameters.
-
Maintain Replicates as 8
- The Replicates setting indicates the number of trajectories.
- Change the Job name to nanoreactor_nitrosamine
-
Adjust the job settings (
) as needed
- This job requires a CPU host. The job can be completed in about 2 hours.
- If you would like to run the job, click Run. Otherwise, pre-generated results are provided.
- Close the Nanoreactor panel
- Go to File > Import Structures
-
Navigate to the provided files and choose via
Section_05 > nanoreactor_nitrosamine > nanoreactor_nitrosamine-products.maegz - Click Open
A new entry group is added to the entry list. The group contains 66 entries.
Note that if you performed the calculation yourself, the exact number of output structures may vary due to random seeding in the metadynamics simulations.
Feel free to visualize any of the entries in the workspace.
More quantitative analysis can be performed in the results panel:
-
Use the WAM (workflow action menu) button (
) to access the Nanoreactor Results panel
- Alternatively, go to Tasks > Materials > Quantum Mechanics > Nanoreactor > Nanoreactor Results and use the Load selected entries button to load the entire entry group into the panel
- The Nanoreactor Results panel opens
- Go to DFT//xTB Energy tab
-
Increase Plot structures within to 100.0 Kcal/mol of the lowest energy structure
- The relative energy tab sorts the products based on DFT//GFN2-xTB thermodynamics. Specifically, electronic energy is calculated with DFT and thermal corrections are calculated with GFN2-xTB.
- Hover the mouse over data points to visualize a 2D sketch of the products.
- The 18th product is the diazonium species which is a known DNA alkylating agent as mentioned in the Introduction. Proceed to visualize the various structures.
- Close the Nanoreactor Results panel
6. Conclusion and References
In this tutorial, we learned how to employ different capabilities to analyze the reaction mechanism of nitrosamine formation and decomposition. First, we demonstrated the formation of NDMA using the AutoTS panel. Next, we predicted the energy profile for analogous NDEA formation using the Reaction Network Profiler panel. Lastly, the Nanoreactor panel was used to predict decomposition products of N-nitrosomethylamine.
For further learning:
For introductory content, focused on navigating the Schrödinger Materials Science interface, an Introduction to Materials Science Maestro tutorial is available. Please visit the materials science training website for access to 70+ tutorials. For scientific inquiries or technical troubleshooting, submit a ticket to our Technical Support Scientists at help@schrodinger.com.
For self-paced, asynchronous, online courses in Materials Science modeling, including access to Schrödinger software, please visit the Schrödinger Online Learning portal on our website.
For some related practice, proceed to explore other relevant tutorials:
- Introduction to Geometry Optimizations, Functionals and Basis Sets
- Introduction to Multistage Quantum Mechanical Workflows
- Calculating Reaction Energetics for Molecular Systems
- Rigid and Relaxed Coordinate Scans
- Locating Transition States: Part 1
- Locating Transition States: Part 2
- R-group enumeration with the Materials Science Suite
- RxnProfiler for Polyethylene Insertion
- Organometallic Complexes
- Nanoreactor
- Cheminformatics Machine Learning for Homogeneous Catalysis
For further reading:
- An update on the current status and prospects of nitrosation pathways and possible root causes of nitrosamine formation in various pharmaceuticals, DOI:10.1016/j.jsps.2022.12.010
- Critical review of major sources of human exposure to N-nitrosamines, DOI:10.1016/j.chemosphere.2018.07.098
- An Organic Chemist’s Guide to N‐Nitrosamines: Their Structure, Reactivity, and Role as Contaminants, DOI:10.1021/acs.joc.0c02774
7. Glossary of Terms
Entry List - a simplified view of the Project Table that allows you to perform basic operations such as selection and inclusion
Included - the entry is represented in the Workspace, the circle in the In column is blue
Project Table - displays the contents of a project and is also an interface for performing operations on selected entries, viewing properties, and organizing structures and data
Scratch Project - a temporary project in which work is not saved, closing a scratch project removes all current work and begins a new scratch project
Selected - (1) the atoms are chosen in the Workspace. These atoms are referred to as "the selection" or "the atom selection". Workspace operations are performed on the selected atoms. (2) The entry is chosen in the Entry List (and Project Table) and the row for the entry is highlighted. Project operations are performed on all selected entries
Working Directory - the location where files are saved
Workspace - the 3D display area in the center of the main window, where molecular structures are displayed