| 1 |
--- |
| 2 |
layout: post |
| 3 |
title: "Coot Cryo-EM Tutorial 2: Fitting and Mutating" |
| 4 |
date: Tue 20 Oct 16:53:52 BST 2020 |
| 5 |
--- |
| 6 |
|
| 7 |
<div style="text-align: right"> By Ana Casañal & Paul Emsley</div> |
| 8 |
This tutorial is designed for 0.9.1 or later. |
| 9 |
|
| 10 |
Aim: we will fit a domain of the Cleavage and Polyadenylation Factor |
| 11 |
|
| 12 |
1: Setting Up |
| 13 |
------------- |
| 14 |
|
| 15 |
### 1.1 Fetch the Files |
| 16 |
|
| 17 |
Using a web browser, download the bundle for EMD-3908 |
| 18 |
|
| 19 |
- [http://www.ebi.ac.uk/pdbe/entry/emdb/EMD-3908](http://www.ebi.ac.uk/pdbe/entry/emdb/EMD-3908) |
| 20 |
|
| 21 |
Move that tar file here and extract it. |
| 22 |
|
| 23 |
Let's download the sequence of a fragment of the structure: |
| 24 |
|
| 25 |
- [https://www2.mrc-lmb.cam.ac.uk/personal/pemsley/coot/files/CPF-X-domain.seq](https://www2.mrc-lmb.cam.ac.uk/personal/pemsley/coot/files/CPF-X-domain.seq) |
| 26 |
|
| 27 |
Move that sequence file to the current directory (for easy access). |
| 28 |
|
| 29 |
Start _Coot_: |
| 30 |
|
| 31 |
`$ coot --map EMD-3908/map/emd_3908.map` |
| 32 |
|
| 33 |
### 1.2 Map Manipulation |
| 34 |
|
| 35 |
Let's see more of the map |
| 36 |
|
| 37 |
- **Edit** → **Map Parameters** → **Map Radius EM** → `70` |
| 38 |
- **OK** |
| 39 |
|
| 40 |
Let's use a smoother map |
| 41 |
|
| 42 |
- **Calculate** → **Modules** → **Cryo-EM** |
| 43 |
- **Cryo-EM** → **Sharpen/Blur...** |
| 44 |
- activate the "Resample" checkbutton |
| 45 |
- **Make Map** |
| 46 |
- **Close** |
| 47 |
|
| 48 |
You should now have an extra map ("emd_3908.map Blur 20.00"). |
| 49 |
Compare this maps with the original. You should find that the |
| 50 |
new (smooth) map is easier to understand. |
| 51 |
|
| 52 |
- use the **Display Manager** to delete the first (mrc) map. |
| 53 |
|
| 54 |
Change the contour Step for the new Maps: |
| 55 |
|
| 56 |
**Display Manager** → **Properties** → **Change by rmsd** `0.33` → **OK** |
| 57 |
|
| 58 |
As a rule of thumb, a good default/starting contour level is 5.5 rmsd. |
| 59 |
|
| 60 |
### 1.3 Get the Homolog: |
| 61 |
|
| 62 |
- **File** → **Open Coordinates...** `coot_tutorial_2/6f9n.pdb` |
| 63 |
- if _Coot_ gives you a "Nomenclature Errors" dialog, just click "Cancel" |
| 64 |
- Use the **Display Manager** to change the representation |
| 65 |
- Instead of "Bonds (Colour by Atom)" use "C-alphas/Backbone" |
| 66 |
|
| 67 |
Move back to the middle of the molecule map |
| 68 |
|
| 69 |
- **Cryo-EM** → **Go To Map Molecule Middle** |
| 70 |
|
| 71 |
- Now move the homolog to here (the centre of the map): |
| 72 |
- **Calculate** → **Move Molecule Here** |
| 73 |
- Choose the "6f9n" molecule |
| 74 |
- **Move It** |
| 75 |
|
| 76 |
You can now change the colo(u)rs if you wish: |
| 77 |
- **Display Manager** → **Properties** → **Colour** |
| 78 |
- **Edit** → **Bond Colours** [slide the slider] |
| 79 |
|
| 80 |
I like to work with a blue map and the model as orange or green (this is good colour scheme |
| 81 |
for working but not good for screenshots used in presentations). |
| 82 |
|
| 83 |
2: Jiggle |
| 84 |
--------- |
| 85 |
|
| 86 |
- **Morph** → **Jiggle Fit This Molecule with Fourier Filter** |
| 87 |
|
| 88 |
It should roughly fit now. If it doesn't, try jiggling again once or twice more. |
| 89 |
|
| 90 |
|
| 91 |
3: Extract Our Fragment |
| 92 |
----------------------- |
| 93 |
|
| 94 |
Extract the worst-fitting (WD40) domain: |
| 95 |
|
| 96 |
- You can see that there are 2 chains. |
| 97 |
- We want to extract a wD40 domain from the larger A chain |
| 98 |
- Using **Jones' Rainbow**, find the domain start and end residues numbers (you are trying |
| 99 |
to find a doughnut-shaped molecule that fits this doughnut-shaped density) |
| 100 |
- Let's imagine that you think that the residues at the ends of the domain are 517 and 1011: |
| 101 |
- **Edit** → **Copy Fragment** → [Use 6f9n molecule:] `//A/517-1011` → **OK** |
| 102 |
|
| 103 |
Let's work on this fragment: |
| 104 |
|
| 105 |
- **Display Manager** → **Last Only** |
| 106 |
- **Reset View** |
| 107 |
|
| 108 |
Let's delete the sidechains from the atom selection molecule (number 4 usually): |
| 109 |
|
| 110 |
- **Calculate** → **Modelling** → **Delete Side-chains for Active Chain** |
| 111 |
|
| 112 |
For the most recent model (bottom of the list), in the **Display Manager** use |
| 113 |
|
| 114 |
- **C-alphas/Backbone** |
| 115 |
- **OK** [Dismiss the Display Manager] |
| 116 |
|
| 117 |
|
| 118 |
4: Setup Refinement |
| 119 |
------------------- |
| 120 |
|
| 121 |
We need to adjust the weighting of the map to the model: |
| 122 |
|
| 123 |
- **R/RC** → **Refinement Weight** → `60.00` → **OK** |
| 124 |
(don't click "Estimate" we need tighter weights at the moment) |
| 125 |
|
| 126 |
Let's add some local distance restraints: |
| 127 |
|
| 128 |
- **Calculate** → **Modules** → **Restraints** |
| 129 |
|
| 130 |
Usually 5.0A works well for models with no sidechains: |
| 131 |
- **Restaints** → **Generate All Molecule Self Restraints 5.0** |
| 132 |
- _{Coot displays new self-restraints as thin grey lines}_ |
| 133 |
Briefly look at these restraints, then undisplay them: |
| 134 |
- **Restaints** → **Undisplay Extra Distance Restraints** |
| 135 |
|
| 136 |
Let's tighten up the Geman-McClure restraints a bit: |
| 137 |
|
| 138 |
- **Refine** → **Set Geman-McClure alpha 0.01** |
| 139 |
|
| 140 |
|
| 141 |
5: Refinement |
| 142 |
------------- |
| 143 |
|
| 144 |
This is where the power of _Coot_ 0.9 becomes apparent. |
| 145 |
|
| 146 |
_{I'd like to |
| 147 |
note here that on a modern computer with multiple cores and threads, |
| 148 |
this is a pleasant experience. If that is not like your computer then |
| 149 |
the following section can be confusing and frustrating}_ |
| 150 |
|
| 151 |
- **Refine** → **Chain Refine** |
| 152 |
- {wait and watch, you can turn the view if you wish (be careful not |
| 153 |
to click an atom)... this takes about 20 seconds on my computer |
| 154 |
(a PC from 2019)} |
| 155 |
- When the refinement dialog says "Success": |
| 156 |
- **Accept** |
| 157 |
Now let's refine again with less tight Geman-McClure restraints: |
| 158 |
- **Refine** → **Set Geman-McClure alpha 0.1** |
| 159 |
- **Refine** → **Chain Refine** |
| 160 |
- _{wait and watch ~10 seconds}_ |
| 161 |
|
| 162 |
|
| 163 |
_{A note on "yanking": by which I mean "smooth displacement" - not jerky shifts}_ |
| 164 |
|
| 165 |
When the refinement dialog says "Success," this time we don't yet |
| 166 |
press Accept... Examine the model, being careful not to inadvertently |
| 167 |
pull on an atom. Maybe you will see that there is a region that |
| 168 |
doesn't fit, if so, yank on the worst fitting CA and pull it to where |
| 169 |
you think it should go. |
| 170 |
|
| 171 |
- Double-clicking on an atom will release the pull restraint |
| 172 |
|
| 173 |
When you are happy, dismiss the Refinement dialog: |
| 174 |
|
| 175 |
- **Accept** |
| 176 |
|
| 177 |
### 5.1 Redo |
| 178 |
|
| 179 |
It can be non-trivial to decide what needs to move and how to move |
| 180 |
it. It is worth undoing your modifications and refining again for |
| 181 |
practice. |
| 182 |
|
| 183 |
This time perhaps with the distance restraints shown: |
| 184 |
|
| 185 |
- Undo (left-facing arrow icon) |
| 186 |
- **Calculate** → **Scripting** → **Python** |
| 187 |
- `set_draw_moving_atoms_restraints(1)` |
| 188 |
- **Refine** → **Chain Refine** |
| 189 |
- _yank as needed_ |
| 190 |
- **OK** |
| 191 |
|
| 192 |
... or with different cut-off for the Geman-McClure restraints, or a |
| 193 |
different alpha for the Geman-McClure restraints, or a different |
| 194 |
weight for the map. Or a different blur for the map. You can delete |
| 195 |
the current extra restraints with **Restraints** → **Delete All |
| 196 |
Extra Restraints**. |
| 197 |
|
| 198 |
- Try proportial editing: with the Real Space Refinement active, use Ctrl Middle-mouse scroll |
| 199 |
to change the radius of the atoms affected by the atom pull displacement. |
| 200 |
|
| 201 |
- Test, play, refine, yank until satisfied. |
| 202 |
|
| 203 |
Reset Geman-McClure alpha to 1: |
| 204 |
|
| 205 |
- **Refine** → **Set Geman-McClure alpha 1** |
| 206 |
|
| 207 |
|
| 208 |
|
| 209 |
6: Review and Trim |
| 210 |
------------------ |
| 211 |
|
| 212 |
Upon review, you will notice that there are parts of the model that |
| 213 |
don't fit the map. Try yanking them around with Tandem Refine. Other |
| 214 |
parts of the model don't have density - so delete the residue range - |
| 215 |
this may help the alignment we are about to do. |
| 216 |
|
| 217 |
Maybe the density fit validation dialog will be useful? You might need |
| 218 |
to reset the weight: `1.5` seems like a good number |
| 219 |
|
| 220 |
- **Validate** → **Density Fit Analysis** [Choose the "atom selection from pdb6f9n" |
| 221 |
molecule] |
| 222 |
|
| 223 |
|
| 224 |
7: Mutate |
| 225 |
--------- |
| 226 |
|
| 227 |
This is _Coot's_ version of "Homology Modelling" - except that the model geometry |
| 228 |
optimization occurs in the context of the experiemental data: |
| 229 |
|
| 230 |
- We have finished with the "Self Restraints" - let's delete them: |
| 231 |
- **Restraints** → **Delete Extra Restraints** |
| 232 |
- Coot displays a molecule chooser dialog: |
| 233 |
- Select the "atom selection from pdb6f9n.ent" molecule |
| 234 |
- **OK** |
| 235 |
|
| 236 |
- **Calculate → Use ClustalW for Alignment, Then Mutate** |
| 237 |
|
| 238 |
The chain for mutation is the "atom selection from pdb6f9n.ent" and the |
| 239 |
target sequence is in the file `CPF-X-domain.seq` |
| 240 |
- _{wait}_ |
| 241 |
- **Refine** → **Chain Refine** |
| 242 |
- _{wait}_ |
| 243 |
- **OK** |
| 244 |
|
| 245 |
|
| 246 |
8: Check & Edit |
| 247 |
--------------- |
| 248 |
|
| 249 |
Go through the structure residue by residue looking for things to fix (this can take |
| 250 |
some time, so you might just do a few, for a flavour, before moving onto Section 8.2) |
| 251 |
|
| 252 |
### 8.1 Do some Fix-ups |
| 253 |
|
| 254 |
- Out of register errors |
| 255 |
- Missing side-chains |
| 256 |
- Missing loops |
| 257 |
- Loops with too many residues in the model |
| 258 |
- Bad rotamers |
| 259 |
- Bad peptides |
| 260 |
- Clashes |
| 261 |
- Use: **Validate** → **Alignment vs. PIR...** to help you adjust the residue numbers |
| 262 |
|
| 263 |
There will be places where you need to close (or open) a loop by renumbering residues. |
| 264 |
|
| 265 |
- Use **Validate → Validation Outliers** |
| 266 |
|
| 267 |
or |
| 268 |
- **Validate → Overlaps, Peptides, CBeta, Rama and Rota Outliers** |
| 269 |
|
| 270 |
Side chains atoms can be added the residue at the centre of the screen using "K" |
| 271 |
and deleted using "Shift K". |
| 272 |
|
| 273 |
### 8.2 Unclash |
| 274 |
|
| 275 |
Part of the work on the refinement has been to change the way non-bonded contacts |
| 276 |
are minimized. To reduce/remove atom overlaps (or "Clashes" as Molprobity would |
| 277 |
call them) |
| 278 |
|
| 279 |
- First determine the model number of the domain we are fixing - for me it's `2` |
| 280 |
- and now add hydrogen atoms to that model: |
| 281 |
- **Calculate** → **Scripting** → **Python** |
| 282 |
- `coot_reduce(2)` |
| 283 |
- **Refine** → **Chain Refine** |
| 284 |
- _{wait - this takes a lot longer than before - there are lots of interactions now}_ |
| 285 |
- **Accept** |
| 286 |
|
| 287 |
_{For your notes, don't act on this now, to delete the hydrogen atoms, use the Python |
| 288 |
scripting function `delete_hydrogens(4)` (or whatever your model number is)}_ |
| 289 |
|
| 290 |
### 8.3 Ramachandran Outliers |
| 291 |
|
| 292 |
It can be convenient to use Ramachandran Restraints to improve the model validation. This |
| 293 |
is how I do it: |
| 294 |
|
| 295 |
- Click the **R/RC** button |
| 296 |
- Tick **Use Torsion Restraints** |
| 297 |
- Tick **Ramachandran Restraints** |
| 298 |
- **OK** |
| 299 |
- **Validate** → **Ramachandran Plot** [and chose the "atom selection" molecule] |
| 300 |
- **Outliers Only** |
| 301 |
|
| 302 |
Now click on a red spot - they may be many of them (maybe 50 or so): |
| 303 |
|
| 304 |
- Look at the model. Sometimes the outlier is problematic because there is a model-building |
| 305 |
error - you should not attempt to fix such problems using Ramachandran restraints. |
| 306 |
- But sometimes, things are good, it's just that the main-chain torsion angles need |
| 307 |
tweaking: |
| 308 |
- **Tandem Refine** |
| 309 |
- Now flipping and back-flipping on This Peptide or the Next Peptide often fixes the |
| 310 |
problem. |
| 311 |
- If needed you can change the Ramachandran restraints weight using the menu items |
| 312 |
in the Refine menu. (But note however, that _Coot_ refinement often gets upset when the |
| 313 |
Ramachandran weights are high.) |
| 314 |
|
| 315 |
9: Done |
| 316 |
------- |
| 317 |
|
| 318 |
You can check how well you did by comparing against the reference model - the accession code |
| 319 |
for that is 6oej `coot_tutorial_2/6eoj.pdb` |