Welcome, Guest. Please Login
YaBB - Yet another Bulletin Board
 
  HomeHelpSearchLogin  
 
inputRedirect error (Read 2066 times)
sunilkalmadi
YaBB Newbies
*
Offline


Feed your monkey!

Posts: 15
inputRedirect error
Mar 6th, 2008 at 3:53am
 
Dear all,
I am trying to Automate choices for HyPhy neighbor joining analysis but i get the following error msg:

Ran out of input in buffer during redirected standard input read

and the the output file doesnt get saved.

My batch file reads:
inputRedirect = {};
inputRedirect["01"]="Distance formulae";
inputRedirect["02"]="Nucleotide/Protein";
inputRedirect["03"]="";
inputRedirect["04"]="Force Zero";
inputRedirect["05"]="p_Distance_aa";
inputRedirect["06"]="y";
ExecuteAFile (HYPHY_BASE_DIRECTORY + "TemplateBatchFiles"+
DIRECTORY_SEPARATOR+"NeighborJoining.bf", inputRedirect);

how can this be solved? please help

cheers
sunil
Back to top
 
 
IP Logged
 
Sergei
YaBB Administrator
*****
Offline


Datamonkeys are forever...

Posts: 1658
UCSD
Gender: male
Re: inputRedirect error
Reply #1 - Mar 10th, 2008 at 9:17am
 
Dear Sunil,

You need to tell HyPhy where to write the resulting tree. Add

Code:
inputRedirect["07"]="";
 



to have HyPhy prompt for the location or

Code:
inputRedirect["07"]="actual file path";
 



to automatically write to the location you specify a priori.
Insert this line before you call ExecuteAFile.

Cheers,
Sergei
Back to top
 

Associate Professor
Division of Infectious Diseases
Division of Biomedical Informatics
School of Medicine
University of California San Diego
WWW WWW  
IP Logged
 
sunilkalmadi
YaBB Newbies
*
Offline


Feed your monkey!

Posts: 15
Re: inputRedirect error
Reply #2 - Mar 10th, 2008 at 11:07am
 
Dear Sergie,
Thanks for your help.. it works fine!!

regards,
Sunil
Back to top
 
 
IP Logged