Four Programs for Writing and Running Nonmem Scripts.
Pharmacology, Cinvestav. Mexico.
Objectives: Wings for Nonmem and Perl speaks Nonmem are useful libraries of scripts for running Nonmem in a way more efficient. But two programs are difficult to grasp for beginners. I propone four new programs for doing four simple tasks: 1) to construct combinations of basic $PK models. 2) To assign initial values to one of the chosen previous model and 3) Write several batch files to run in series the CTLs scripts and 4) Find the best analysis and summary the main parameters.
Methods: Quick Basic was used on a laptop running Microsoft Vista. A RUN.ctl program with an initial model was used to construct all combinations for eta error model. Then the cognate nmfe6 batch files were edited to allow a concatenated run for the 32 runxx.ctl files. Once chosen the best model, 19 initial values were assigned to each of the 5 parameters. At the end the Function Objetives for each run were imported by excel to plot them. S-Plus was used to explore the goodness of fit of selected runs. Package is available at web.mac.com/farmacogenomica.
Results: WRTEXP program was able to write the 32 combinations for *EXP(ETA(n)) for five fitting parameters in ADVAN4 TRANS1. It takes about 40 min for 80 runs. WRTEXP, PUTINIT2, MAKERUN and READFO use a few seconds to run.
Conclusions: I plan to translate the package to C and Java for interportability. New more general programs are needed to comply more general tasks, but current version is suitable as a teaching tool.