Crystal Structure Prediction
Tutorial Created with Software Release: 2026-3
Topics: Pharmaceutical Formulations
Products Used: Crystal Structure Prediction , MS Maestro
|
13 MB |
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 how to run the crystal structure prediction workflows for Z’=1, Z’=2, and monohydrate using acetaminophen and nitrofurantoin.
Tutorial Content
1. Introduction to Crystal Structure Prediction
The way a material's atoms arrange themselves in a solid, known as its crystal structure, can have various forms called 'polymorphs'. This is a crucial factor in many industries, including pharmaceuticals, agriculture, nutrition, batteries, and aviation. In drug development, the emergence of a more stable polymorph later in the process can lead to significant complications. Traditionally, finding all these polymorphs through experiments is expensive, time-consuming, and may not discover all possibilities. The crystal structure prediction (CSP) method in the Schrödinger Suite employs a unique search algorithm and machine learning to predict and rank possible crystal structures by their energy. CSP not only identifies known polymorphs but also suggests new, potentially more stable ones that could impact the development of existing forms.
In this tutorial, we will perform various CSP workflows. First we will look at two CSP calculations for acetaminophen. We will first start with Z′=1 which takes a single molecule in an asymmetric unit (ASU). Then we will progress to CSP calculations for Z′=2 with two independent molecules in the ASU. The Z’=2 workflow is a significantly more complex workflow involving larger scale calculations.
Additionally, we will study the monohydrate for nitrofurantoin. CSP calculations for monohydrates take one organized molecule and one water molecule in an ASU. Once again, it is a significantly more complex workflow involving larger scale calculations than for Z′=1 and uses the output of the Z’=1 calculation as the input for the monohydrate calculation.
The acetaminophen and nitrofurantoin molecules will be sketched using the 2D Sketcher. First the Z’=1 and Z’=2 workflows will be performed on acetaminophen using the Crystal Structure Prediction and the Crystal Structure Prediction Viewer panels. Then the Z’=1 and monohydrate workflows will be performed on nitrofurantoin using the two panels as well.
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/csp.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 csp_tutorial, click Save
-
The project is now named
csp_tutorial.prj
-
The project is now named
We will proceed to draw the systems that we will use in the subsequent sections using the 2D Sketcher.
-
Go to Edit > 2D Sketcher
- The 2D Sketcher panel opens
- Learn more about the 2D Sketcher in the Introduction to Materials Science Maestro tutorial
-
Draw acetaminophen
- Acetaminophen is shown in the figure
- Click Save as New
- Name the entry acetaminophen
- Click OK
- Click the piece of paper to clear the sketcher
- Draw nitrofurantoin
- Click Save as New
- Name the entry nitrofurantoin
- Click OK
- Close the 2D Sketcher
3. Running the Crystal Structure Prediction Workflow
In this section, a Z’=1 CSP workflow will be performed on an acetaminophen molecule using the Crystal Structure Prediction panel.
-
With the acetaminophen 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 and includedthe entry is represented in the Workspace, the circle in the In column is blue, go to Tasks > Materials > Polymorph Prediction > Crystal Structure Prediction
- The Crystal Structure Prediction panel opens
-
Change the Task to Generate conformers
- Running a conformers job first is best practices to ensure the conformers are what you’d expect before moving to the much longer packing and ranking calculation
- Change the Output to Z’=1 crystals
-
Click Load to load the molecule
- Acetaminophen will now be loaded into the panel
- Uncheck Generate missing parameters
- In this example, the Generate missing parameters option is removed because no torsions are missing. However, if the molecule has missing torsions, users are recommended to use the Force Field Builder panel to generate customized parameters, save the customized parameters, and then select the folder with the customized parameters via "Use customized version". Users have the option to select "Generate missing parameters," which will run a Force Field Builder job during the CSP confgen workflow. However, we do not recommend this approach. It is always best practice to run Force Field Builder separately and verify the quality of the parameters before starting a CSP job.
- Change the Job name to csp_conformers
-
Adjust the job settings (
) as needed
- This job requires a CPU host and should complete in a couple of minutes on 8 CPUs
- Job Server is required for submission of Crystal Structure Prediction calculations
-
Click Run or import the
output_confgen.maegzfile from the provided tutorial files- The count of generated conformers may not match the number found in the supplied file
- Close the Crystal Structure Prediction panel
- When the job is finished, a new entry titled output_confgen is automatically included in the entry list
-
With the output_confgen group 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, use the Workflow Action Menu (WAM) button (
) or go to Tasks > Materials > Polymorph Prediction > Crystal Structure Prediction- The Crystal Structure Prediction panel opens
- Change the Task to Perform packing search & ranking
-
Click Load to load the conformers
- 6 conformers of acetaminophen will now be loaded into the panel
- Change the Job name to csp_acetaminophen
-
Adjust the job settings (
) as needed
- This job requires a CPU and GPU host. The job can be completed in five days using 32 CPUs and 1 GPU. However, this calculation runs thousands of subjobs. Specifying 10,000 CPUs is ideal but will use many resources at once. A balance needs to be achieved between wall time and the use of resources.
- Job Server is required for submission of Crystal Structure Prediction calculations.
- If you would like to run the job, click Run, otherwise, we will proceed with pre-generated results in the next section
- Close the Crystal Structure Prediction panel
The calculation will pack the conformers into unit cells by using various space groups and then relaxing the structures and filtering out the highest-energy structures. The relaxation part does a series of relaxations, each of which is followed by a filter. The first uses molecular mechanics (MM) (cheapest), then machine learning force field (MLFF) (medium), then density functional theory (DFT) (most expensive).Checking the "include DFT ranking" box will return the DFT ranking results. Fewer crystals require a DFT run compared to those needing MM.
4. Analyzing the Crystal Structure Prediction Workflow for Z’=1
In this section, CSP workflow results for acetaminophen will be viewed using the Crystal Structure Prediction Viewer panel.
-
Open the CSP Viewer from Tasks > Materials > Polymorph Prediction > Crystal Structure Prediction Analysis
- The Crystal Structure Prediction Viewer panel opens
-
Click Load Structures and navigate to where you downloaded the tutorial files and choose
Section_04 > output_dft_relaxation.maegzfile- The results will populate into the viewer panel
- Click the data points to view information about the structure
Each dot corresponds to one crystal structure and appears as a new entry in the entry list and the packing arrangement is shown in the workspace
- Go to the Data Table tab
- Click Relative Energy to sort the table by relative energy
Scroll across the data table to view information about each crystal structure. There are two known experimental crystal structures and both are found here, highlighted in blue: one has a density of 1.382 and spacegroup Pbca (corresponding to the first row), while the other has a density of 1.349 and spacegroup P121/n1 (corresponding to the second row).
The conformers extracted from the Z'=1 results are required as input for the subsequent Z'=2 calculation workflow.
- Click Export
- Select Extract Conformers
- Close the Crystal Structure Prediction Viewer panel
The extracted conformers are added to the entry list.
5. Running and analyzing the Crystal Structure Prediction Workflow for Z’=2
In this section, a Z’=2 CSP workflow for running and analyzing the results for acetaminophen will be performed using the Crystal Structure Prediction panel and Crystal Structure Prediction Viewer panel.
-
With the Z’=1 acetaminophen extracted conformers 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 > Polymorph Prediction > Crystal Structure Prediction
- The Crystal Structure Prediction panel opens
- Change the Task to Perform packing search & ranking
- Change the Output to Z’=2 crystals
-
Click Load to load the conformers
- 3 conformers of acetaminophen will now be loaded into the panel
-
Click Space Groups
- The Advanced Settings panel will open and select space groups can be selected
-
Select Pca21 and Pna21
- The sampling was limited to space groups with observed experimental structures to improve computational efficiency.
- In prospective studies, all possible space groups should be thoroughly sampled
- Click Save
- Change the Job name to csp_acetaminophen_Z2
-
Adjust the job settings (
) as needed
- This job requires a CPU and GPU host. This calculation runs thousands of subjobs. Specifying 10,000 CPUs is ideal but will use many resources at once. A balance needs to be achieved between wall time and the use of resources.
- Job Server is required for submission of Crystal Structure Prediction calculations.
- If you would like to run the job, click Run, otherwise, we will proceed with pre-generated results
- Close the Crystal Structure Prediction panel
-
Open the CSP Viewer from Tasks > Materials > Polymorph Prediction > Crystal Structure Prediction Analysis
- The Crystal Structure Prediction Viewer panel opens
-
Click Load Structures and navigate to where you downloaded the tutorial files and choose
Section_05 > output_dft_relaxation.maegzfile- The results will populate into the viewer panel
- Click the data points to view information about the structure and view the system in the workspace
Each dot corresponds to one crystal structure and appears as a new entry in the entry list and the packing arrangement is shown in the workspace.
- Go to the Data Table tab
- Click Relative Energy to sort the table by relative energy
Scroll across the data table to view information about each crystal structure. There are two known experimental crystal structures and both are found here and highlighted in blue.
6. Running and analyzing the Crystal Structure Prediction Workflow for Monohydrate
In this section, a Z’=1 and monohydrate workflow for nitrofurantoin will be performed using the Crystal Structure Prediction panel and Crystal Structure Prediction Viewer panel.
-
With the nitrofurantoin 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 and includedthe entry is represented in the Workspace, the circle in the In column is blue, go to Tasks > Materials > Polymorph Prediction > Crystal Structure Prediction
- The Crystal Structure Prediction panel opens
- Change the Task to Generate conformers
- Change the Output Z’=1 crystals
-
Click Load to load the molecule
- Nitrofurantoin will now be loaded into the panel
- Change the Job name to csp_conformers_nitrofurantoin
-
Adjust the job settings (
) as needed
- This job requires a CPU host and should complete in about an hour on 8 CPUs
- Job Server is required for submission of Crystal Structure Prediction calculations
-
Click Run or import the
Section_06 > output_confgen.maegzfile from the provided tutorial files- The count of generated conformers may not match the number found in the supplied file
- When the job is finished or imported, a new entry titled output_confgen is automatically included in the entry list
-
With the output_confgen group 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, use the Workflow Action Menu (WAM) button (
) or go to Tasks > Materials > Polymorph Prediction > Crystal Structure Prediction- The Crystal Structure Prediction panel opens
- Change the Task to Perform packing search & ranking
-
Click Load to load the conformers
- 27 conformers of nitrofurantoin will now be loaded into the panel
- Change the Job name to csp_nitrofurantoin_Z1
-
Adjust the job settings (
) as needed
- This job requires a CPU and GPU host. This calculation runs thousands of subjobs. Specifying 10,000 CPUs is ideal but will use many resources at once. A balance needs to be achieved between wall time and the use of resources.
- Click Run or we will import pregenerated files in the next step
-
Open the CSP Viewer from Tasks > Materials > Polymorph Prediction > Crystal Structure Prediction Analysis
- The Crystal Structure Prediction Viewer panel opens
-
Click Load Structures and navigate to where you downloaded the tutorial files and choose
Section_06 > anhydrate > output_dft_relaxation.maegzfile- The results will populate into the viewer panel
- Click the data points to view information about the structure and view the system in the workspace
Each dot corresponds to one crystal structure and appears as a new entry in the entry list and the packing arrangement is shown in the workspace.
- Go to the Data Table tab
- Click Relative Energy to sort the table by relative energy
Scroll across the data table to view information about each crystal structure. There are two known experimental crystal structures and both are found here and highlighted in blue. Form alpha is represented by the first highlighted row, and form beta is represented by the second.
- Click Export
- Select Extract Conformers
- Name the file conformers_anhydrate
-
Click Save
- An entry group with two entries has been added to the entry list
- Close the Crystal Structure Prediction Viewer
-
With the conformers_anhydrate 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 > Polymorph Prediction > Crystal Structure Prediction
- The Crystal Structure Prediction panel opens
- Change the Task to Perform packing search & ranking for monohydrate
-
Change the Output to Monohydrates/Solvates/Co-crystals
- Solvent and coformer options are available once the output is changed. We will use the default water setting.
-
Click Load to load the conformers
- 2 conformers of nitrofurantoin will now be loaded into the panel
- Change the Job name to csp_nitrofurantoin_monohydrate
-
Adjust the job settings (
) as needed
- This job requires a CPU and GPU host. This calculation runs thousands of subjobs. Specifying 10,000 CPUs is ideal but will use many resources at once. A balance needs to be achieved between wall time and the use of resources.
- Job Server is required for submission of Crystal Structure Prediction calculations.
- If you would like to run the job, click Run, otherwise, we will proceed with pre-generated results
- Close the Crystal Structure Prediction panel
-
Open the CSP Viewer from Tasks > Materials > Polymorph Prediction > Crystal Structure Prediction Analysis
- The Crystal Structure Prediction Viewer panel opens
-
Click Load Structures and navigate to where you downloaded the tutorial files and choose
Section_06 > monohydrate > output_dft_relaxation.maegzfile- The results will populate into the viewer panel
- Click the data points to view information about the structure and view the system in the workspace
Each dot corresponds to one crystal structure and appears as a new entry in the entry list and the packing arrangement is shown in the workspace.
- Go to the Data Table tab
-
Click on the rows to view the system in the workspace
- You will see water molecules have been added to the system
- Scroll across the data table to view information about each crystal structure
Scroll across the data table to view information about each crystal structure. There are two known experimental crystal structures and both are found here and highlighted in blue. Monohydrate II is represented by the first highlighted row, and monohydrate I is represented by the second.
- Close the panel once finished
The computed monohydrate results align well with the experimental structures. Specifically, two of the computed systems correlate directly to the two experimental monohydrate matches.
7. Conclusion and References
In this tutorial, we learned how to run the crystal structure prediction workflows for Z’=1, Z’=2, and monohydrate using acetaminophen and nitrofurantoin.
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 100+ 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:
For further reading:
- See the help documentation
- A robust crystal structure prediction method to support small molecule drug development with large scale validation and blind study, DOI: 10.1038/s41467-025-57479-1.
- Polymorphism in Molecular Crystals (2nd edn).
8. 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
Recent actions - This is a list of your recent actions, which you can use to reopen a panel, displayed below the Browse row. (Right-click to delete.)
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


























