Difference between revisions of "Workshop exercises"

From Dynamo
Jump to navigation Jump to search
(Created page with "== General tools == === Average === Create an average given a table and a data folder, programmatically. == Tomography == === Fast annotations on a tomogram=== Sometimes,...")
 
Line 3: Line 3:
 
Create an average given a table and a data folder, programmatically.
 
Create an average given a table and a data folder, programmatically.
  
== Tomography ==
+
== Particle extraction==
  
  
 
=== Fast annotations on a tomogram===
 
=== Fast annotations on a tomogram===
  
Sometimes, for small tasks, accessing the tomograms through the Catalogue  can be tedious. It is thus convenient to become familiar with alternatives.
+
''Sometimes, for small tasks, accessing the tomograms through the Catalogue  can be tedious. It is thus convenient to become familiar with alternatives.''
  
 
Inspect a tomogram,  mark several 3D positions and get them as a text file with three columns (x,y,z).
 
Inspect a tomogram,  mark several 3D positions and get them as a text file with three columns (x,y,z).
  
  
Cropping a data folder with a different particle size
+
=== Cropping a data folder with a different particle size===
  
Situation:
+
''You have a data folder containing particles and a crop.tbl (and the usual auxiliary files produced when extracting particles through the catalogue). The table indicates that several tomograms where used during the extraction.
You have a data folder containing particles and a crop.tbl (and the usual auxiliary files produced when extracting particles through the catalogue). The table indicates that several tomograms where used during the extraction.
+
You want to reproduce the data folder with bigger particles, but don't remember how you used the Catalogue to generate the data folder (maybe some weeks ago).''
You want to reproduce the data folder with bigger particles, but don't remember how you used the Catalogue to generate the data folder (maybe some weeks ago).
 
  
 
Task:
 
Task:
Line 27: Line 26:
 
=== Importing annotations for several catalogued tomograms===  
 
=== Importing annotations for several catalogued tomograms===  
  
Imagine the ame situation as in the previous exercise,  but for multiple tomograms:
+
Imagine the same situation as in the previous exercise,  but for multiple tomograms:
 
You have several tomograms and for each one you have a text file with particle coordinates.
 
You have several tomograms and for each one you have a text file with particle coordinates.
 
This time you want to keep a clean track of everything you do, so you plan to use the Catalogue. To this end, you have already put your volumes inside a catalogue.  
 
This time you want to keep a clean track of everything you do, so you plan to use the Catalogue. To this end, you have already put your volumes inside a catalogue.  
Line 36: Line 35:
  
 
=== Subboxing from tomograms ===
 
=== Subboxing from tomograms ===
 +
 +
''Subboxing tools are used to crop subtomograms from ''subtomograms''.  We call these "subtomograms inside subtomogras" ''subboxes''. They are used to extract subunits from a previously extracted bigger macromolecule.
 +
Sometimes, it may happen that these ''subboxes'' cannot be cropped from the subtomogram, if the subtomogram has been cropped too tight (a too small sidelength was used).''
 +
 +
imagine that you have a data folder, containing a <tt>crop.tbl</tt> file and the two auxiliary <tt>doc</tt> files keeping track of the original model and tomogram of each subtomogram.
 +
 +
Task:
 +
Use subboxing tools to produce a ''subboxing table'' that can crop the directly the subboxes from the original tomograms.

Revision as of 10:56, 16 August 2016

General tools

Average

Create an average given a table and a data folder, programmatically.

Particle extraction

Fast annotations on a tomogram

Sometimes, for small tasks, accessing the tomograms through the Catalogue can be tedious. It is thus convenient to become familiar with alternatives.

Inspect a tomogram, mark several 3D positions and get them as a text file with three columns (x,y,z).


Cropping a data folder with a different particle size

You have a data folder containing particles and a crop.tbl (and the usual auxiliary files produced when extracting particles through the catalogue). The table indicates that several tomograms where used during the extraction. You want to reproduce the data folder with bigger particles, but don't remember how you used the Catalogue to generate the data folder (maybe some weeks ago).

Task: Recrop the particles with a different particle sidelength using dtcrop and without using the catalogue.

Importing annotations for a single tomogram

Importing annotations for several catalogued tomograms

Imagine the same situation as in the previous exercise, but for multiple tomograms: You have several tomograms and for each one you have a text file with particle coordinates. This time you want to keep a clean track of everything you do, so you plan to use the Catalogue. To this end, you have already put your volumes inside a catalogue.

Task: How do you convert a text file into a Dynamo model? How do you assign programmatically to each volume in a catalogue a different model?

Subboxing from tomograms

Subboxing tools are used to crop subtomograms from subtomograms. We call these "subtomograms inside subtomogras" subboxes. They are used to extract subunits from a previously extracted bigger macromolecule. Sometimes, it may happen that these subboxes cannot be cropped from the subtomogram, if the subtomogram has been cropped too tight (a too small sidelength was used).

imagine that you have a data folder, containing a crop.tbl file and the two auxiliary doc files keeping track of the original model and tomogram of each subtomogram.

Task: Use subboxing tools to produce a subboxing table that can crop the directly the subboxes from the original tomograms.