Running MODELLER

To run MODELLER with the script file model-default.py above, do the following:

  1. Open a command line prompt:

  2. Change to the directory containing the script and alignment files you created earlier, using the 'cd' command.

  3. Run MODELLER itself by typing the following at the command prompt:

    python3 model-default.py > model-default.log

(Note that if you don't have Python installed on your machine, you can run the last step by typing 'mod10.5 model-default.py' instead.)

A number of intermediary files are created as the program proceeds. After about 10 seconds on a modern PC, the final 1fdx model is written to file 1fdx.B99990001.pdb. Examine the model-default.log file for information about the run. In particular, one should always check the output of the Alignment.check() command, which you can find by searching for ‘check_a’. Also, check for warning and error messages by searching for ‘W>’ and ‘E>’, respectively. There should be no error messages; most often, there are some warning messages that can usually be ignored.

(MODELLER should work just like an ordinary Python module without any additional setup on Mac OS, Windows with any version of Python between 2.3 and 3.12, or using the RPM install on Linux with any version of Python between 2.3 and 3.12. On other systems, you may need to set the PYTHONPATH and LD_LIBRARY_PATH variables, or create symlinks to the relevant directories, so that your system can find the MODELLER Python modules and dynamic libraries, respectively.)