2 """This script shows how to use the BuildSystem macro to construct large
3 systems with minimal code
21 print(
"This example is too slow to test in debug mode - run without")
22 print(
"internal tests enabled, or without the --run-quick-test flag")
34 |molecule_name|color|fasta_fn|fasta_id|pdb_fn|chain|residue_range|pdb_offset|bead_size|em_residues_per_gaussian|rigid_body|super_rigid_body|chain_of_super_rigid_bodies|
35 |Rpb1 |blue |1WCM.fasta|1WCM:A|1WCM_fitted.pdb|A|1,100 |0 |5|0 |1|1,2| |
36 |Rpb1 |cyan |1WCM.fasta|1WCM:A|BEADS |A|101,150|0 |5|0 |2|1,2| |
37 |Rpb2 |red |1WCM.fasta|1WCM:B|1WCM_fitted.pdb|B|1,END |0 |5|0 |3|1 | |
38 |Rpb3 |green |1WCM.fasta|1WCM:C|1WCM_fitted.pdb|C|1,END |0 |5|0 |4|1 | |
39 |Rpb4 |orange |1WCM.fasta|1WCM:D|1WCM_fitted.pdb|D|1,END |0 |5|0 |5|1,3| |
40 |Rpb4.1|yellow |1WCM.fasta|1WCM:D|1WCM_fitted.pdb|D|1,END |0 |5|0 |6|1,3| |
41 |Rpb4.2|salmon |1WCM.fasta|1WCM:D|1WCM_fitted.pdb|D|1,END |0 |5|0 |7|1,3| |
42 |Rpb5 |gold |1WCM.fasta|1WCM:E|BEADS | |1,50 | |5|0 |8|1 | |
43 |Rpb5 |pink |1WCM.fasta|1WCM:E|IDEAL_HELIX | |51,100 | |5|0 |8|1 | |
48 tf = tempfile.NamedTemporaryFile(delete=
False, mode=
'w')
62 hier, dof = bs.execute_macro()
70 moldict = bs.get_molecules()[0]
72 for molname
in moldict:
73 for mol
in moldict[molname]:
76 output_objects.append(cr)
82 included_objects=mols)
84 output_objects.append(evr)
94 dof.optimize_flexible_beads(100)
97 mdl, root_hier=hier, monte_carlo_sample_objects=dof.get_movers(),
98 global_output_directory=
'auto_output/', output_objects=output_objects,
99 monte_carlo_steps=10, number_of_best_scoring_models=0, number_of_frames=5)