Hi,
I can't use stream redirection or pipes, because the system is on runlevel 3.
The output of ./HYPHYMP looks just like this:
Code:[root@hpc hyphy]# ./HYPHYMP
/usr/local/lib/hyphy/Batch file to run::
Therefore a Batch file with an inputRedirect-Array is the only solution, I guess.
I played around with this run.bf:
Code:fprintf(stdout, "Hello!\n");
inputRedirect = {};
inputRedirect["01"] = "10"; // (10) Positive Selection
inputRedirect["02"] = "1"; // (1) Use the random effects branch-site model (2010) to find lineages subject to episodic selection.
inputRedirect["03"] = "1"; // (1):[Universal] Universal code. (Genebank transl_table=1).
inputRedirect["04"] = "1"; // (1):[Yes] Both alpha and beta vary along branch-site combinations
inputRedirect["05"] = HYPHY_BASE_DIRECTORY + "testinput1";
inputRedirect["06"] = HYPHY_BASE_DIRECTORY + "testinput2";
inputRedirect["07"] = HYPHY_BASE_DIRECTORY + "testoutput";
It just returns this, but no job is running in the background.
Code:[root@hpc hyphy]# ./HYPHYMP run.bf
Hello!
So I am looking for a command to tell HyPhy to read my menu selection from a batch file.
Or am I understanding this wrong?
How do my users can make use of the various options of HyPhy via HyPhy-Batch-File/Language?
I read the documentation, but that chapter is barely explained.
Thanks so far!
CodieR