Ticket #15360: cyclic_ribbon.cxc

File cyclic_ribbon.cxc, 1.1 KB (added by goddard@…, 19 months ago)

Added by email2trac

Line 
1# Commands to make a ribbon of a cyclic peptide that appears closed for publication images.
2
3# Chain A is cyclic and chain B is not cyclic in this structure
4open diffused_binder_5_cyclic_325.pdb
5
6# Make a second copy to extend chain A. The combine command with one model makes a copy.
7combine #1
8
9# Delete chain B of the copy since only chain A is cyclic
10del #2/B
11
12# Renumber the residues of the copy so they can be appended to the original model.
13# The cyclic peptide chain A is residues 1-16, so make these extra ones 17-32.
14renumber #2 start 17
15
16# Now combine the original atomic structure and these extra residues
17# The retainIds option means to keep both chain A as a single chain A instead of renaming one.
18# The close option means close the original two models leaving only the combined one as #1.
19combine #1,2 retainIds true close true
20
21# Now hide 8 residues on each end of the cyclic peptide.
22# We added these just to get the ribbon to smoothly join itself.
23hide #1/A:1-8,25-32 ribbon
24
25# The chain A ribbon inherited the colors from the original two models, so recolor it.
26color #1/A pink