Heterogeneity (tomoDRGN)¶
nextPYP supports running tomoDRGN on existing tomography projects
Requirements¶
An existing 3D refinement or Particle refinement (legacy) block with a successful 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 upstream refinement block (3D refinement or Particle refinement), by going to the Extraction tab and selecting the option
Save particle stacksClick Run
Learn structural heterogeneity¶
Once the particle stacks have been generated, we can proceed to run tomoDRGN:
Click on
Particles(output of the refinement block) and select tomoDRGN (train-vae)Select the
Input file (*.star)by navigating to thestacksdirectory in the default location from the upstream block and selecting the file*_particles.starAdjust tomoDRGN parameters as needed according to the Command Usage instructions
Click Run. This will run tomoDRGN’s
train-vaeandconvergence-vaecommandsCheck 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 Run. This will run tomoDRGN’s
analyzecommandCheck 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 Run. This will run tomoDRGN’s
analyze-volumescommandCheck 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 Run. This will run tomoDRGN’s
filter-starcommand
Further refine selected particles¶
Click on
Particles(output of the tomoDRGN (filter-star) block) and select Particle refinementSet the neccesary parameters
Click Run
Check the results by navigating to the Particle refinement block
Blocks required to run tomoDRGN workflow¶