Walkthrough on membrane models

From Dynamo
Jump to navigation Jump to search

This walkthrough is a step-by-step guide that teaches how to extract subtomograms from structures with large surfaces (e.g., membranes) using the Dynamo surface models.


We are going to demonstrate the basic ideas and tools on a synthetic dataset. This data is already available in the catalogue manager. It can be accessed by first opening the catalogue manager using the command:


After the catalogue manager opens, we create the synthetic tomogram that includes a large surface (membrane) in the following way:

Membrane step 1.png

A new tomogram entry appears in the catalogue manager. Any further annotations (models) to the tomogram will be linked to this entry. Select the entry and open it:

Membrane step 2.png

A tomogram viewer opens. You might need to adjust the contrast (blue arrow). To move through the tomogram slices, you can either use the mouse wheel, click and drag the tomogram slice up and down (orange arrows), or move the position control left and right (orange box).

Membrane step 3.png

Manual annotation

The annotation of the membrane surface is done within a so called model. We open a new model of type surface as follows:

Membrane step 4.png

We now add manually add model points along the surface of the membrane. To do that, first move the slice up to a high z height. Then place the mouse cursor on the membrane and press the key [c] on your keyboard. This adds a new model point. Continue adding model points as shown below. Use the right-click to delete points if needed. Note: A known bug may cause the clicked points to be generated slightly displaced from the mouse cursor. Maximize the window of the tomogram viewer to get rid of this effect.

Membrane step 5.png

Move the slice down a bit and continue adding points on this new height as shown below:

Membrane step 6.png

Repeat this procedure for the full structure until you get something similar to the results shown below:

Membrane step 7.png

We now need to define where is the "inside" of the structure. Move the slice somewhere in the middle, place your mouse cursor in the center of the structure and press the key combination of [shift]+[c]. A point with different color should appear, as shown below:

Membrane step 8.png

Generate subtomogram coordinates

Using the clicked model we can now define the coordinates where the subvolumes will be extracted. To do that, we first processes the clicked model points using the model workflow to generate a user specific cropping geometry. Open the workflow:

Membrane step 9.png

You get a new window with the model workflow. It has 7 large buttons (and corresponding input parameters below) that are executed sequentially starting from top. Click on the first button create equally distributed control points:

Membrane step 10.png

This creates equally distanced points along the points that you clicked. They will be used in the next steps to create a triangulation of the surface. Visualize your clicked points and the control points by first left-clicking on view and selecting plot points entered by user:

Membrane step 11.png

A plot with your clicked points opens. Keep it open and add the control points to the plot as shown below:

Membrane step 12.png

We now create two types of triangulations (or mesh). One is for depiction only and the other will be used to define the coordinates at which the subtomograms will be extracted. Both meshes are created by first generating a coarse mesh and then refining it. To create the coarse mesh for depiction first click on the create a mesh for depiction button and visualize the results:

Membrane step 13.png

To refine the depiction mesh change the parameter subdivision steps from 2 to 1, press refine the depiction mesh once and visualize the result with the view button from the previous step. You should see an increase in the number for # Depiction triangles below the previous button. Clicking the refinment button again, will further refine the mesh. If you want to go back to the original mesh, simply click the button of the previous step create a mesh for depiction.

Membrane step 14.png
Membrane step 16.png
Membrane step 17.png
Membrane step 18.png
Membrane step 19.png
Membrane step 20.png
Membrane step 21.png
Membrane step 22.png
Membrane step 23.png