FoldX tools in YASARA: Difference between revisions

From FoldX plugin for YASARA
Jump to navigation Jump to search
Line 155: Line 155:


== Save last calculation ==
== Save last calculation ==
This option lets you specify a target folder and/or filename prefix for the beginning of all files of the last calculation to be saved. A calculation is either a Repair, BuildModel (Mutate residue, Mutate multiple residues, Build homology model), Interaction energy, Stability.
This option lets you specify a target folder and/or filename prefix for the beginning of all files of the last calculation to be saved. A calculation is either a Repair, Alanine scan, BuildModel (Mutate residue, Mutate multiple residues, Build homology model), Interaction energy, Stability.


You can either select a directory or a directory ans filename prefix:
You can either select a single folder or a folder and filename prefix:


* '''Folder''': E.g. selecting ''c:\testrun\'' will save all last calculation files to that folder.
* '''Folder''': E.g. selecting ''c:\testrun\'' will save all last calculation files to that folder.

Revision as of 14:47, 12 April 2010

Preface

In this section we explain the various FoldX functionalities inside YASARA. It is recommended that you have practised with YASARA and FoldX before. But don't worry, all commands are straightforward and easy to use. That's the point of the plugin. However, we will refer to YASARA specific nomenclature such as Objects and Molecules. Their definition can be found in the YASARA documentation on your computer in yasara/doc/index.html.

Sometimes we will not explain all details on the FoldX commands provided in this plugin but refer to the detailed FoldX manual which can be downloaded at http://foldx.crg.es.

The output of FoldX calculations is always printed to the YASARA console when the plugin ends. The console should open by default, but when it fails, you can enter the console by pressing the spacebar once or twice.

All FoldX tools in YASARA can be accessed by clicking:

Analyze > FoldX > ...

Fix residues

FoldX commands such as RepairPDB (the FoldX energy minimization) and BuildModel (make mutations or complete models) will move residues by default. RepairPDB minimizes a structure by rearranging the sidechains to find a new energy minimum. BuildModel will rearrange neighbouring residues of a mutation spot to optimize the mutated protein.

There are cases where the user does not want certain residues to move, either during RepairPDB or BuildModel.

The 'Fix residues' command lets you select residues that will not move during a RepairPDB or BuildModel.

The fixed residues will be colored in yellow. Do not confuse Fixed residues from the FoldX plugin with fixed residues from the simulation menu from YASARA (only in YASARA Dynamics and YASARA Structure). These are totally independent.

Free residues

In case you want to unfix one or multiple residues that have previously been fixed with the Fix residues command, you can use the Free residues command.

The 'Free residues' command unfixes previously fixed residues. These freed residues will be allowed to move during a RepairPDB or BuildModel.

Repair object

This command executes the FoldX RepairPDB command. RepairPDB minimize the energy of a protein structure by rearranging the amino acid sidechains in order to get a better free energy of the protein. RepairPDB only rearranges sidechains, not the backbone. Residues that should not be rearranged should be fixed by using the 'Fix residues' command.

'Repair object' does an energy minization of the selected Object by running the FoldX RepairPDB command and is required to get accurate 

results when subsequently calculating the stability, interaction energy or when making mutations with FoldX.

The way RepairPDB operates is the following:

  1. First it looks for all Asn, Gln and His residues and flips them by 180 degrees. This is done to prevent incorrect rotamer assignment in the structure due to the fact that the electron density of Asn and Gln carboxamide groups is almost symmetrical and the correct placement can only be discerned by calculating the interactions with the surrounding atoms. The same applies to His.
  2. We do a small optimization of the side chains to eliminate small VanderWaals’ clashes. This way we will prevent moving side chains in the final step.
  3. We identify the residues that have very bad energies and we mutate them and their neighbours to themselves exploring different rotamer combinations to find new energy minima.

We refer to the FoldX manual for an even more detailed explanation on repairing PDB structures.

Stability of object

The FoldX Stability command calculates the free energy of unfolding (delta G). This is the difference in free energy between the folded state and the unfolded state.

'Stability object' calculates the free energy difference of a selected Object.

To get the most accurate results, we recommend to use the Repair object command first.

Alanine scan of object

'Alanine scan of object' mutates every residue in an object to alanine and calculates the energy difference upon mutation to alanine.

The results of the alanine scan are displayed in the console. To get the most accurate results, we recommend to use the Repair object command first.

Interaction energy of two molecules

This option executes the FoldX AnalyseComplex command. It determines the interaction energy between 2 Molecules. The way it operates is by unfolding the selected targets and determining the stability of the remaining molecules and then subtracting the sum of the individual energies from the global energy. In case there is a metal bound between the two molecules it will assign it to the one which makes the stronger interactions with the metal. So, clearly:

'Interaction energy of two molecules' calculates the interaction energy between two selected Molecules.

To get the most accurate results, we recommend to use the Repair object command first.

Mutate residue

'Mutate residue' mutates one amino acid residue to one or more new amino acid residues using FoldX BuildModel.

This command executes the FoldX BuildModel command. Subsequently the user is presented with following menus:

Residue selection menu
  • Here you can select one residue to mutate to other residue types
Select FoldX routines
  • RepairPDB: repairs the structure as in Repair object before making the mutation. The mutations will be made using this repaired structure.
  • Calculate stability change: calculates and display the stability change upon mutation. So the difference in stability between mutant and wild type structure. This predicts whether a mutation will stabilize or destabilize a structure. Stabilizing mutations will have a positive value (ddG).
  • Calculate interaction energy change: this option should only be used when the Object contains multiple Molecules. It calculates and displays the interaction energy change between any possible pair of Molecules in the Object after mutation.
Select new amino acid residue(s)
  • here you can select the residues that should replace the original residue. Each selected residue will result in a new model made with FoldX.
Set FoldX options (1)
  • Move neighbours: this lonely option is on by default and allows residues around the mutation spot to be moved to accomodate the new residue. In case you don't want these neighbours to move, uncheck the option.
Set FoldX options (2)
  • Number of runs: This option tells the algorithm how many times it should do the specified mutations. Normally it should be set to 1. However, sometimes it can be set to higher numbers (typically 5) to see if the algorithm has achieved convergence, or in other words if the solution offered is the optimal or a trapped solution. Each run will result in an additional model for a certain mutation.
  • Temperature: Temperature (K).
  • pH: At the moment only used for pH effects on metal binding. Will not affect the protonation of charged groups in this version.
  • Ionic strength: Ionic strength of the solution (M) x 100. The multiplication by 100 was needed for YASARA implementation since no decimal numbers are allowed in menus. So the default of 5 is actually 0.05M.
  • Van der Waals design: When set to 2, it considers rotamer penalizations due to internal clashes, maximum penalization for interresidue VanderWaals’ clashes, a ceiling for the VanderWaals’ clashes between two atoms of 5 Kcal/mol and strict H-bond geometry. When set to zero there is a weak rotamer penalization, there is a ceiling for the VanderWaals’ clashes of 1 Kcal/mol and we use a relaxed H-bond geometry. This option should be set to 0, when doing an Ala scanning mutagenesis of a protein. Whenever doing design, or repairing a PDB, it should be set to 2 (default in the RepairPDB in this plugin).

After the mutation design the Repaired structure (if selected) and all the runs of the mutations will be loaded into YASARA as new Objects. All of these will be structurally aligned (superposition) using the Mustang algorithm for direct comparison.

The requested output (stability change, interaction energy change) will be plotted in the YASARA console.

All models and repaired structures can be saved as PDB files by clicking (for each object separately):

File > Save as > PDB File

Or you can save the entire YASARA scene keeping all Objects, colors and orientation including superposition by clicking:

File > Save as > YASARA Scene

Mutate multiple residues

This option does in many ways the same as the Mutate residue option. The difference is that with this option you can make multiple mutations in one structure, such as double, triple, ... mutations on more than one residue position.

'Mutate multiple residues' allows to select multiple residues and indicate the replacing amino acids for multiple mutations in one structure.

The main differences in the menus that are presented are:

Residue selection menu
  • Here you can select multiple residues to mutate with FoldX
New amino acids
  • In this text box you have to type the new amino acids in sequential order. E.g. if you selected in the first menu residues T13, A30, R54 and W67, you indicated that you want to make four simultaneous mutations in the structure. In the text box you then type four replacing amino acids e.g. SLEY. This means that following mutations will be made: T13S, A30L, R54E and W67Y.

The rest of the menus work in the same way as in Mutate residue.

After the mutation design the Repaired structure (if selected) and all the runs of the mutations will be loaded into YASARA as new Objects. All of these will be structurally aligned (superposition) using the Mustang algorithm for direct comparison.

The requested output (stability change, interaction energy change) will be plotted in the YASARA console.

All models and repaired structures can be saved as PDB files by clicking (for each object separately):

File > Save as > PDB File

Or you can save the entire YASARA scene keeping all Objects, colors and orientation including superposition by clicking:

File > Save as > YASARA Scene

Build homology model

When a homology modeling task is desired or the number of mutations to make is too large for the option Mutate multiple residues, the 'Build homology model' option is your choice for the job.

'Build homology model' will run FoldX BuildModel to model a given target sequence on a selected template structure object.

When this option is selected the following menus are presented:

Object selection menu
  • A single object that serves as the template structure can be selected here
Select target sequence file
  • The target sequence file is a plain text file containing only one line that represents the sequence of the target protein to be modeled. This sequence has to be of the same length as the sequence of the template object and can only contain valid 1-letter amino acid characters. Modeling insertions and deletions is not yet possible in the current version of FoldX.
Set FoldX options (1)
  • Move neighbours: this option is on by default and allows residues around every mutation spot to be moved to accomodate the new residue. In case you don't want these neighbours to move, uncheck the option.
  • Repair template object: Repairs the template structure object before building the model. See Repair object for more information.
Set FoldX options (2)
  • Number of runs: This option tells the algorithm how many times it should build the model. Normally it should be set to 1. However, sometimes it can be set to higher numbers (typically 5) to see if the algorithm has achieved convergence, or in other words if the solution offered is the optimal or a trapped solution.
  • Temperature: Temperature (K).
  • pH: At the moment only used for pH effects on metal binding. Will not affect the protonation of charged groups in this version.
  • Ionic strength: Ionic strength of the solution (M) x 100. The multiplication by 100 was needed for YASARA implementation since no decimal numbers are allowed in menus. So the default of 5 is actually 0.05M.
  • Van der Waals design: When set to 2, it considers rotamer penalizations due to internal clashes, maximum penalization for interresidue VanderWaals’ clashes, a ceiling for the VanderWaals’ clashes between two atoms of 5 Kcal/mol and strict H-bond geometry. When set to zero there is a weak rotamer penalization, there is a ceiling for the VanderWaals’ clashes of 1 Kcal/mol and we use a relaxed H-bond geometry. This option should be set to 0, when doing an Ala scanning mutagenesis of a protein. Whenever doing design, or repairing a PDB, it should be set to 2 (default in the RepairPDB in this plugin).

The resulting homology models (more than one if more than one run) will be loaded as YASARA Objects.

Save last calculation

This option lets you specify a target folder and/or filename prefix for the beginning of all files of the last calculation to be saved. A calculation is either a Repair, Alanine scan, BuildModel (Mutate residue, Mutate multiple residues, Build homology model), Interaction energy, Stability.

You can either select a single folder or a folder and filename prefix:

  • Folder: E.g. selecting c:\testrun\ will save all last calculation files to that folder.
  • Folder with filename prefix: E.g. selecting c:\testrun\MyRun will save all last calculation files to the testrun folder and put MyRun_ before every filename. In this way, it is possible to save more than one calculation in the same folder by using different prefixes.
'Save last calculation' saves the FoldX output files of the last calculation to a user-specified folder with optionsl filename prefix.

Set FoldX file locations

See the section Installation and first use for explanation of this option.