2 """This script demonstrates a few different ways you can perform selection
4 In PMI we first set up molecules at various resolutions.
5 Then you call System.build() and this creates all requested representations.
30 mol = st.create_molecule(
"Rpb4", seqs[
"1WCM:D"], chain_id=
"D")
41 myres2 = mol.residue_range(
'1',
'10')
49 atomic = mol.get_atomic_residues()
50 non_atomic = mol.get_non_atomic_residues()
54 myres3 = mol[0:50] - atomic
55 myres4 = mol[0:50] & atomic
58 mol.add_representation(
62 mol.add_representation(myres4,
86 dof.create_rigid_body(mol, nonrigid_parts=non_atomic,
94 residue_indexes=range(1, 10))
95 particles = sel.get_selected_particles()
99 all_mol_copies = st.molecules[
"Rpb4"]
100 mol = all_mol_copies[0]