Computational Chemistry A teaser introduction José R. Valverde CNB/CSIC © José R. Valverde, 2013 CC-BY-NC-SA.

Slides:



Advertisements
Similar presentations
Time averages and ensemble averages
Advertisements

A Digital Laboratory “In the real world, this could eventually mean that most chemical experiments are conducted inside the silicon of chips instead of.
MODULE 4 File and Folder Management. Creating file and folder A computer file is a resource for storing information, which is available to a computer.
Solvation Models. Many reactions take place in solution Short-range effects Typically concentrated in the first solvation sphere Examples: H-bonds,
Introduction to Molecular Orbitals
Computational Chemistry
Case Studies Class 5. Computational Chemistry Structure of molecules and their reactivities Two major areas –molecular mechanics –electronic structure.
Molecular Modeling of Crystal Structures molecules surfaces crystals.
Lecture 3 – 4. October 2010 Molecular force field 1.
Molecular Simulation. Molecular Simluation Introduction: Introduction: Prerequisition: Prerequisition: A powerful computer, fast graphics card, A powerful.
Potential Energy Surfaces
CHEMISTRY 2000 Topic #1: Bonding – What Holds Atoms Together? Spring 2008 Dr. Susan Lait.
Bioinf. Data Analysis & Tools Molecular Simulations & Sampling Techniques117 Jan 2006 Bioinformatics Data Analysis & Tools Molecular simulations & sampling.
Computational Chemistry. Overview What is Computational Chemistry? How does it work? Why is it useful? What are its limits? Types of Computational Chemistry.
An Introduction to Molecular Orbital Theory. Levels of Calculation Classical (Molecular) Mechanics quick, simple; accuracy depends on parameterization;
Molecular Modeling Part I Molecular Mechanics and Conformational Analysis ORG I Lab William Kelly.
Calculation of Molecular Structures and Properties Molecular structures and molecular properties by quantum chemical methods Dr. Vasile Chiş Biomedical.
Computational Chemistry
Introduction. What is Computational Chemistry?  Use of computer to help solving chemical problems Chemical Problems Computer Programs Physical.
Molecular Modeling Fundamentals: Modus in Silico C372 Introduction to Cheminformatics II Kelsey Forsythe.
Computational Chemistry, WebMO, and Energy Calculations
Objectives Understand what MATLAB is and why it is widely used in engineering and science Start the MATLAB program and solve simple problems in the command.
02/03/10 CSCE 769 Dihedral Angles Homayoun Valafar Department of Computer Science and Engineering, USC.
Chem 1140; Molecular Modeling Molecular Mechanics Semiempirical QM Modeling CaCHE.
1 MacSpartan A Tutorial on intended as a general reference to use of the MacSpartan. This tutorial provides a brief overview describes in detail the various.
1.Solvation Models and 2. Combined QM / MM Methods See review article on Solvation by Cramer and Truhlar: Chem. Rev. 99, (1999)
Electrostatic Effects in Organic Chemistry A guest lecture given in CHM 425 by Jack B. Levy March, 2003 University of North Carolina at Wilmington (subsequently.
An Introduction to Designing and Executing Workflows with Taverna Aleksandra Pawlik materials by: Katy Wolstencroft University of Manchester.
Molecular Mechanics Part 2
Understanding Molecular Simulations Introduction
Common Potential Energy Functions of Separation Distance The Potential Energy function describes the energy of a particular state. When given as a function.
Molecular Mechanics Studies involving covalent interactions (enzyme reaction): quantum mechanics; extremely slow Studies involving noncovalent interactions.
MODELING MATTER AT NANOSCALES 3. Empirical classical PES and typical procedures of optimization Classical potentials.
Molecular Modelling - Lecture 2 Techniques for Conformational Sampling Uses CHARMM force field Written in C++
Review Session BS123A/MB223 UC-Irvine Ray Luo, MBB, BS.
Molecular Mechanics (Molecular Force Fields). Each atom moves by Newton’s 2 nd Law: F = ma E = … x Y Principles of M olecular Dynamics (MD): F =
Advanced methods of molecular dynamics 1.Monte Carlo methods 2.Free energy calculations 3.Ab initio molecular dynamics 4.Quantum molecular dynamics 5.Trajectory.
Active-HDL Server Farm Course 11. All materials updated on: September 30, 2004 Outline 1.Introduction 2.Advantages 3.Requirements 4.Installation 5.Architecture.
Autodock tutorial VINA with UCSF Chimera José R. Valverde CNB/CSIC © José R. Valverde, 2014 CC-BY-NC-SA.
So that k k E 5 = - E 2 = = x J = x J Therefore = E 5 - E 2 = x J Now so 631.
Make-Up Testing/Undo Student Test Submissions
VAB™ for INFINITY Tutorial
Release Numbers MATLAB is updated regularly
FLOSS José R. Valverde CNB/CSIC
Molecular Modeling with
Single Sample Registration
ZEPHYR + GROMACS José R. Valverde CNB/CSIC
Computational Chemistry
Mail Merge And Macros in MS WORD
Basic Training May 2016.
Chemical Reactions José R. Valverde CNB/CSIC
Creating a Windows 10 Virtual machine
Maintaining Adiabaticity in Car-Parrinello Molecular Dynamics
Adding Assignments and Learning Units to Your TSS Course
Introduction to Computers
Microsoft Windows 2000 Professional
Introduction to Molecular Simulation
Algorithms and Software for Large-Scale Simulation of Reactive Systems
Computational Analysis
Alexey Sulimov, Ekaterina Katkova, Vladimir Sulimov,
Intro to Molecular Dynamics (MD) Simulation using CHARMM
Molecular simulation methods
Department of Chemistry North Eastern Hill University
Algorithms and Software for Large-Scale Simulation of Reactive Systems
Introduction to Excel 2007 Part 3: Bar Graphs and Histograms
QUICK GUIDE TO CIRCULATION IN ALMA
Mr.Halavath Ramesh 16-MCH-001 Dept. of Chemistry Loyola College University of Madras-Chennai.
Mr.Halavath Ramesh 16-MCH-001 Dept. of Chemistry Loyola College University of Madras-Chennai.
Mr.Halavath Ramesh 16-MCH-001 Dept. of Chemistry Loyola College University of Madras-Chennai.
Mr.Halavath Ramesh 16-MCH-001 Dept. of Chemistry Loyola College University of Madras-Chennai.
Presentation transcript:

Computational Chemistry A teaser introduction José R. Valverde CNB/CSIC © José R. Valverde, 2013 CC-BY-NC-SA

Introduction Computational chemistry is a branch of chemistry that uses principles of computer science to assist in solving chemical problems. Taken from Wikipedia (don't forget your contribution).

VirtualBox We will use a virtual machine to demonstrate the principles involved. To run this virtual machine you need to install VirtualBox (http// in your computer. A virtual machine is just like a separate computer but with no real hardware: it borrows the hardware from your computer --while you are still doing other things.

Open VirtualBox and Start the machine

When the machine ends booting you will be faced by a login screen. Use password “freebit” to log in. CAUTION: THIS IS HIGHLY UNSAFE AND YOU SHOULD NEVER EVER USE SUCH AN OBVIOUS PASSWORD IN REAL LIFE. The first thing you should do in such a situation would be to change the password immediately to something safer.

Start Gabedit We will use Gabedit in this session. Gabedit is freely available for Mac, Linux and Windows.

Gabedit main window Gabedit relies on other programs to do the calculations. Many of these other pograms are also free as well (MPQC, NWCHEM, etc...)

Getting started To begin, we need a molecule to work with. Click on the small icon with a small molecule (labelled “Draw a Geometry” to get started.

Load a PDB molecule Instead of drawing a molecule, we will just load a small one, aspirin, to save up time. Press the right mouse button in the drawing window to bring up the menu and select “Read a PDB file”.

Open a molecule Normally you'd get it from a database (like PDB) but we will use a file already saved. Note that navigating the directories/folders is easy. And note as well that recently used folders are remembered.

Set atom types While not strictly needed for many tasks, this is very important. Not all atoms are born equal. Context may be very important even for the same kind of atom. We should always assign atom types first.

Molecular Mechanics MM treats atoms as charged soft balls and bonds as springs. While not chemically accurate it is fast!. Let us start by optimizing the structure (look for its lowest energy conformation). You can do this from the menu.

MM Gradient options This is nothing but a mathematical optimization problem. The most commonly used optimization methods are available and you can fine tune their parameters.

Optimized structure All we need to do is be patient. After a short while, we should have an “optimal” structure.

Minimization This is a purely mathematical problem. optimize potential energy (interatomic interactions) But molecular functions have specific features: they are multidimensional they yield complex hyperplanes It is possible that the optimization method ends finding a local minimum in the potential energy surface Ironsmithers found a clever way to make good swords very long ago

Conformational Search We can compute interaction forces and from them: -velocities -changes with time and energy (temperature) Heating we can exit local wells and search for better conformations.

Conformational search We will heat the molecule and record the 10 best conformations found. We will also further optimize each of them. Remember to select where to save the results so you can find them later.

Simulated annealing We are interested in heating the molecule to a large temperature to help it escape local minima. You can save the intermediate conformations (trajectory) and calculated properties as well as set a number of parameters.

Gradient options Remember, we are looking for the best conformation We also need to state which mathematical approach shall be used to detect minima.

The force field This is just an esoteric name for the set of parameters we use to define interatomic interactions. Amber is likely the most popular one. It defines atom radius, bond flexibility, charges, etc...

A general potential force field Potential energy is a function of atomic positions V = E bonded + E non-bonded E bonded = E bond-stretch + E bond-bend + E bond-rotation

Non-bonded interactions Sum of all inter-atomic interactions Van der Waals Electrostatic Hydrogen bonding (optional) Must be computed for each atom against all others (N 2 ) Van der Waals Computed as a Lennard-Jones potential Electrostatic Computed as classical interaction

Heating the molecule As you can see, the conformational space explored includes all sorts of conformations. The best 10 will be saved.

Final optimization After the heating is finished, each of the saved conformations is successively optimized in turn.

Final geometries Final results are saved for you to review.

Modern Chemistry With increased computer power, interest has raised on using more accurate methods. Quantum mechanics considers all electrons and so can provide a better description, but can easily become prohibitively expensive. A middle ground -semiempirical methods- substitutes as many QM parameters as possible by experimental data, speeding up calculations significantly.

MOPAC Optimization Click the right mouse button to bring up the menu and select Semi- empirical optimization using Mopac. Note that you can use other programs too.

MOPAC Options You can now select the quantum parameters to use. Note that you can add additional keywords to fine tune the calculation (e.g. adding solvent) and do not forget to select the working folder and output file.

Monitor optimization results It is always wise to check how did the calculation go You can see each tested conformation clicking on the dots in the energy graph.

SE conformational search Just like with MM we might have found a local minimum. We can also heat and seek.

SE General options Select the number of local minima (best conformers) to keep, where to save the results and whether each conformer should be further optimized and to which extent.

SE Dynamics options We'll select a short simulation for the tutorial. Quantum mechanics is much more expensive.

Model We no longer need a force field, but must state the quantum model to use. You can fine tune it if you want (e.g. to add solvent)

Explore the results Once done, we can explore the conformers selected and their relative energies clicking on the energy graph.

Molecular Dynamics Once we know we have a good starting structure we can now consider studying its dynamical properties. Typically, we will start by heating to room temperature, then allow the molecule some time to stabilize at the target temperature before starting the collection of data (production). Often we will also want to cool down the structure at the end (do a final optimization) to see if it returns to the original structure (ever fried an egg?)

Molecular Dynamics

MD parameters As you can see, the times for heating, equilibration... have changed. So has the temperature which is more sensible (300K approximates room temp.).

Why MD Running MD simulations yields lots of valuable information: Average values average conformation, viscosity, movility, charge orientation, stability... Dynamic values flexibility, movement, changes with different conditions (T, E, V...), intermolecular interactions, etc,.. Point values (maxima, minima, extremes...)

MD limitations Can aspirin stand 1000K? Likely not. MD does not allow for bond-breaking/formation MD cannot be used to model chemical interactions MD cannot explain reactivity or electronic properties But CAN provide very useful insights Atoms DO NOT exist in molecules. the electron cloud spreads around in all the space concentrating in areas close to nuclei.

MOPAC Click on the MOPAC icon to start a new semi empirical quantum mechanics calculation

Single-Point calculation A single-point calculation only computes the electronic distribution in the defined state. ergoscf.org

MOPAC input file You can modify the MOPAC input file to adapt it to your needs.

Save file Save the file you created so that you can find it later.

Save file dialog Try to remember the name you give the file. A good name would indicate the compound, the calculation done and its order in your work flow.

Run Click on the small clockwork icon to run a program.

Running MOPAC Verify that the program to be run is the one you want.

Output tab Select the output tab by MOPAC input file to see the results of the calculation. Note that it may take long to finish and net be terminated yet.

Update/end Click on “Update/end” to re-read the output file.

NWchem Click now the NWchem icon to start a new calculation using a more accurate method (a fully ab initio model).

Do a single-point calculation Use Pople basis set 3-21G. This is not too accurate but runs fast enough for a first approximation. Normally we would use more accurate (and slower) basis sets afterwards.

Run program from menu It's the same

Run parameters Note that you can run programs on remote (and likely more powerful) computers.

Go to the output tab

Press Update/End This will take longer, you will need to keep updating until the program finishes.

Wait Ab initio calculations can take a very long time. You know when they end by looking at the end of the output.

You may want to try... MPQC GAMESS-US Firefly/PC-GAMESS ABINIT PSI4 FreeON ErgoSCF SIESTA ORCA, Octopus, Quantum Espresso, ACES3...

Go back to MOPAC run

Visualize orbitals/density Click on Dens/Orb. A new window opens. There use the right mouse button to open a mopac AUX file from the menu.

Select molecular orbital You'll get a listing of molecular orbitals. Select the one you want to visualize (Occ. means occupancy).

Select calculation precision

Define isovalue for surface We cut the MO surface at a given density value which corresponds to a probability of finding the electron.

Aspirin orbital

Select a different MO

Choose LUMO LUMO is the first MO with an Occ. value of zero

Aspirin LUMO

Open NWchem output

Select orbital Note that with NWchem output the HOMO is not automatically selected.

Select HOMO HOMO is the last orbital with an Occ. value of one.

Aspirin HOMO

Electronic density

Aspirin electronic density

Chemical propensity

Some times you see nothing

Change surface isovalue

Automatically find isovalue

Aspirin Fukui calculation

Visualize MD trajectory

Open a saved trajectory

Play MD trajectory

Thanks To all of you For coming... and not falling asleep To the organizers For this wonderful opportunity To CNB/CSIC, EU-COST, CYTED For funding

Questions?