2 """This script shows how to simulate an atomic system with MD,
3 with a secondary structure elastic network to speed things up.
6 from __future__
import print_function
19 print(
"This example is too slow to test in debug mode - run without")
20 print(
"internal tests enabled, or without the --run-quick-test flag")
26 st1 = s.create_state()
30 gcp2 = st1.create_molecule(
"GCP2", sequence=seqs[
"GCP2_YEAST"], chain_id=
'A')
38 gcp2.add_representation(a1, resolutions=[0])
39 print(
'building molecule')
43 print(
'adding restraints')
49 name_map={
'A':
'GCP2'})
51 for sse
in sses[
'helix']+sses[
'beta']:
63 md_ps = dof.setup_md(gcp2)
68 crosslink_restraints=all_rs,
69 molecular_dynamics_sample_objects=md_ps,
70 molecular_dynamics_steps=5,
72 number_of_best_scoring_models=0,
75 global_output_directory=
'atomistic_output/')