| ## RNAstructure GUI Help Stochastic Sampling | ### Contents ### Index
The stochastic sampling module generates a sample of secondary structures, with the probability of choosing a secondary structure equal to its probability of occurrence in the complete folding ensemble. How to Predict a Stochastic Sample Do a partition function calculation with the sequence of interest. (See "Partition Function.") Any folding constraints must be applied at the partition function calculation step. Also, any changes in the folding temperature must be applied at the partition function step. Start the module by choosing "Stochastic Sampling." This module is available for both RNA and DNA. Click the button labeled "Partition Function Save File" to choose a save file for use in sampling. The default value of the output file, which is filled in after save file selection, can be changed by clicking the "CT File" button. The default ensemble size and random seed can also be changed. Changing the random seed changes the sample of structures generated. Click "Start" to run the calculation. A progress bar will open to show the progress of the sampling. When the calculation is complete, the option is given to draw the set of structures sampled. Click "OK" to draw the structures or "Cancel" to exit the module.