Today, I tried it by using rename_segments method.
But, I did not make model that I want.
The following is my script to model.
I add MyModel class and function rename_segments.
I want to build model that have chain id ='A' and starting residue number=5.
To use rename_segments in combination with automodel, use the
special_patches() method, as detailed at