Back to Mover page.



Mover/Application created by Dr. Jared Adolf-Bryfogle ( and Dr. Jason Labonte (, in collaboration with Dr. Sebastian Rämisch (

PIs: Dr. William Schief ( and Dr. Jeffrey Gray (

This is still an in-development, unnpublished application. If you use this in your publication, please email the authors!

The GlycanSampler is the main sampling component of the GlycanTreeModeler


Autogenerated Tag Syntax Documentation:

Authors: Jared Adolf-Bryfogle ( and Jason Labonte ( Main mover for GlycanTreeModeler, which optimizes glycans in a pose. You probably want to use that instead.Each round optimizes either one residue for BB sampling, linkage, or a [part of a ] branch for minimization and packing.Minimization and packing work by default by selecting a random glycan residue from any set movemap or all of them and then selecting the rest of the downstream branch. Those residues are then minimized or packed. Packing includes a neighbor packing shell. Currently uses a random sampler with a set of weights to each mover for sampling.

<GlycanSampler name="(&string;)" kt="(&real;)"
        rounds="(100 &non_negative_integer;)" final_min="(true &bool;)"
        pymol_movie="(false &bool;)" refine="(false &bool;)"
        pack_distance="(6.0 &real;)" cartmin="(false &bool;)"
        tree_based_min_pack="(true &bool;)" use_conformer_probs="(false &bool;)"
        use_gaussian_sampling="(true &bool;)" min_rings="(false &bool;)"
        shear="(true &bool;)" randomize_torsions="(true &bool;)"
        match_sampling_of_modeler="(false &bool;)"
        inner_bb_cycles="(0 &non_negative_integer;)"
        root_populations_only="(false &bool;)"
        packer_palette="(&named_packer_palette;)" scorefxn="(&string;)"
        residue_selector="(&string;)" />
  • kt: Temperature for metropolis criterion
  • rounds: Number of relax rounds to perform. Will be multiplied by the number of glycan residues.
  • final_min: Perform a final minimization
  • pymol_movie: Output a PyMOL movie of the run
  • refine: Do not start with a random glycan conformation.
  • pack_distance: Neighbor distance for packing
  • cartmin: Use Cartesian Minimization instead of Dihedral Minimization during packing steps.
  • tree_based_min_pack: Use Tree-based minimization and packing instead of minimizing and packing ALL residues each time we min. Significantly impacts runtime. If you are seeing crappy structures for a few sugars, turn this off. This is default-on to decrease runtime for a large number of glycans.
  • use_conformer_probs: Use the populations of the conformers as probabilities during our linkage conformer sampling. This makes it harder to overcome energy barriers with more-rare conformers!
  • use_gaussian_sampling: Set whether to build conformer torsions using a gaussian of the angle or through uniform sampling up to 1 SD (default)
  • min_rings: Minimize Carbohydrate Rings during minimization.
  • shear: Use the Shear Mover that is now compatible with glycans at an a probability of 10 percent
  • randomize_torsions: If NOT doing refinement, control whether we randomize torsions at the start, which helps to achieve low energy structures.
  • match_sampling_of_modeler: Option that matches the amount of sampling in a default GlycanTreeModeler run. Used for benchmarking.
  • inner_bb_cycles: Inner cycles for each time we call BB sampling either through small/medium/large moves or through the SugarBB Sampler. This is multiplied by the number of glycans. Scales poorly with GlycanModeler. If 0 (default), we run the protocol normally
  • root_populations_only: Use population-based sampling for only the linkage between the amino acid and glycan residue
  • task_operations: A comma-separated list of TaskOperations to use.
  • packer_palette: A previously-defined PackerPalette to use, which specifies the set of residue types with which to design (to be pruned with TaskOperations).
  • scorefxn: Name of score function to use
  • residue_selector: Residue Selector containing only glycan residues. This is not needed, as this class will automatically select ALL glycan residues in the pose to model. See the GlycanResidueSelector and the GlycanLayerSelector for control glycan selection. Note that the ASN is not technically a glycan. Since dihedral angles are defined for a sugar from the upper to lower residue, the dihedral angles between the first glycan and the ASN are defined by the first glycan. . The name of a previously declared residue selector or a logical expression of AND, NOT (!), OR, parentheses, and the names of previously declared residue selectors. Any capitalization of AND, NOT, and OR is accepted. An exclamation mark can be used instead of NOT. Boolean operators have their traditional priorities: NOT then AND then OR. For example, if selectors s1, s2, and s3 have been declared, you could write: 's1 or s2 and not s3' which would select a particular residue if that residue were selected by s1 or if it were selected by s2 but not by s3.

See Also