[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [modeller_usage] Is it possible to change the output file directory?



On 12/29/2011 03:41 AM, 조윤성 wrote:
But I want to change the directory path of output files(model pdb files)
and input files(pir files) form the source files.

For example, if sources are located in "/home/xxx/" and input files are
located in "/home/xxx/input/",

i want to save result pdb files in to the /home/xxx/output/.

However, in "model-single.py", modeller.automodel() doesn't have
parameter related output path, and result pdb files are generated
automatically in to the directory that source located.

Modeller always generates output files in the current directory. So if you want to generate outputs in /home/xxx/output/, change into that directory first before running your script. e.g. if your script is /home/xxx/input/foo.py, run it with something like

cd /home/xxx/output
python ../input/foo.py

	Ben Webb, Modeller Caretaker
--
             http://www.salilab.org/modeller/
Modeller mail list: http://salilab.org/mailman/listinfo/modeller_usage