Dear Albert,
All of your suggestions are excellent!
Quote:I would like to be able to specify the parameters of some analysis using the GUI or the ncurses-GUI for my data+tree files, and then, before the analysis start, save it to a batch file.
You can do this to an extent. The steps are as follows (assumes a GUI version)
(1). Set up your analysis normally; i.e. Build Likelihood Function but do not Optimize. Click on the little gearwheel button in the
console windowMultimedia File Viewing and Clickable Links are available for Registered Members only!! You need to
to call 'ExportLikelihoodFunction'. When prompted, choose to include the optimize command. This sequence will save a self contained analysis (data, models, tree etc) into a HyPhy batch file. You can then load this analysis into a GUI or command line version of HyPhy and run the optimization.
Quote:The idea would be then to start the analysis with the specified parameters:
(a) in background (for long analysis)
(b) on a different computer (or cluster)
If you saved your file to file named 'myFile.bf' you can then call
$HYPHY BASEPATH=path to hyphy myFile.bf -p
Note the -p flag to allow you to invoke result processing modules after the analysis is done (this assumes an interactive run).
Quote:(c) to run the same batch file for a set of different files, only changing the input files but maintaining the same analysis and parameters.
This is an excellent idea, but currently there is no way to do this generally (for different data/tree/model options) - although this feature IS on my list of things to do...
You might have to write your own batch file or modify an existing one to write a 'Template' analysis (much like the standard analyses in HyPhy are done). If there is anything in particular you want to do, I'll be happy to help you get started.
HTH,
Sergei