I am trying to plot the DOPE score against one of the template used in
modelling and final model.
The script is as follows:
...
The error is :
File "plot_profiles.py", line 14
for n, res in enumerate (seq.residues):
^
SyntaxError: invalid syntax
Like it says, you have a syntax error in your script. That's a Python
error - nothing to do with Modeller. It's impossible to say for sure
what the problem is, because by pasting the script into your email, you
have probably changed the nature of the error (better to attach the
script to your email instead). Maybe that line isn't indented properly.