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
20 print(
"This example is too slow to test in debug mode - run without")
21 print(
"internal tests enabled, or without the --run-quick-test flag")
27 st1 = s.create_state()
31 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)
66 crosslink_restraints = all_rs,
67 molecular_dynamics_sample_objects=md_ps,
68 molecular_dynamics_steps=5,
69 number_of_best_scoring_models=0,
71 global_output_directory=
'atomistic_output/')