Heterogeneity (tomoDRGN)¶
nextPYP
supports running tomoDRGN on existing tomography projects
Requirements¶
An existing Particle refinement block with a succesful consensus refinement
Access to a GPU
tomoDRGN workflow¶
nextPYP
follows the general protocol described in the tomoDRGN documentation
Preparation¶
Since tomoDRGN uses particle projections extracted from the tilt-series data, we first need to generate these particles stacks. This is done in the Particle refinement block, by going to the Extraction tab and selecting the option
Save particle stacks
Click Save, Run, and Start Run for 1 block
Learn structural heterogeneity¶
Once the particle stacks have been generated, we can proceed to run tomDRGN:
Click on
Particles
(output of the Particle refinement block) and select tomoDRGN (train-vae)Select the
Input file (*.star)
by navigating to thestacks
directory in the default location from the upstream block and selecting the file*_particles.star
Adjust tomoDRGN parameters as needed according to the Command Usage instructions
Click Save, Run, and Start Run for 1 block. This will run tomoDRGN’s
train-vae
andconvergence-vae
commandsCheck the results by navigating to the tomoDRGN (train-vae) block
Analyze structural heterogeneity (analyze)¶
The next step is to analyze the results using standard latent space analysis:
Click on
DRGN Model
(output of the tomoDRGN (train-vae) block) and select tomoDRGN (analyze)Adjust any tomoDRGN parameters as needed according to the Command Usage instructions
Click Save, Run, and Start Run for 1 block. This will run tomoDRGN’s
analyze
commandCheck the results by navigating to the tomoDRGN (analyze) block
Analyze structural heterogeneity (analyze-volumes)¶
Results can also be analyzed using standard volume space analysis:
Click on
DRGN Model
(output of the tomoDRGN (train-vae) block) and select tomoDRGN (analyze-volumes)Adjust any tomoDRGN parameters as needed according to the Command Usage instructions
Click Save, Run, and Start Run for 1 block. This will run tomoDRGN’s
analyze-volumes
commandCheck the results by navigating to the tomoDRGN (analyze-volumes) block
Select particle subsets (filter-star)¶
Warning
This feature is currently under development. In the meantime, to filter particles after the tomoDRGN analysis, please follow the steps in the Isolate particle subsets tutorial and re-import the results into nextPYP
.
Click on
DRGN Particles
(output of the tomoDRGN (analyze) or tomoDRGN (analyze-volumes) blocks) and select tomoDRGN (filter-star)Select the classes you want to keep as a comma separated list
Click Save, Run, and Start Run for 1 block. This will run tomoDRGN’s
filter-star
command
Further refine selected particles¶
Click on
Particles
(output of the tomoDRGN (filter-star) block) and select Particle refinementSet the neccesary parameters
Click Save, Run, and Start Run for 1 block
Check the results by navigating to the Particle refinement block

Blocks required to run tomoDRGN workflow¶