> I would like to make a movie from a trajectory of 50 frames > with varying sec structure. Following Warren's advice in a > previous thread (see below) I load every pdb file into a > different object *and* state using > file_list1 = glob("*_first.pdb") > for file in file_list1: > cmd.load(file,file,file[:1]) > > { files are named 1_first.pdb, 2_first.pdb ...} > However, the object loaded to the first frame also appears in > the following ones.
Honest -- that's a feature, not a bug : ) set static_singletons, 0 to get the behavior you want... > dssp calculation with rtools just gives > the sec structure of the object in the first frame. As a > workaround I tried to start loading into the 2nd frame and > not to load anything into the first one. But then the command > "dssp (2_first.pdb)" gives an error "no atoms selected" > instead of any calculation. This is an rtool's specific issue. If you're running version 0.92, you might try dss state=2 The results won't be identical to DSSP, but they are usually no worse... Cheers, Warren