Commits

Qian Zhu  committed c207a2c

Added anti-correlation option in SeekServer

  • Participants
  • Parent commits 3a1ba63

Comments (0)

Files changed (1)

File tools/SeekServer/SeekServer.cpp

 		string strOutputDir;
 
 		//search parameters
-		string strSearchParameter; 
+		string strSearchParameter;
 		//format: _ delimited		
 		//[0]: search_method ("RBP", "OrderStatistics", or "EqualWeighting") 
 		//[1]: rbp_p
 		//[2]: minimum fraction of query required
 		//[3]: minimum fraction of genome required
 		//[4]: distance measure ("Correlation", "Zscore", or "ZscoreHubbinessCorrected")
+		//[5]: correlation sign ("positive", "negative")
 
 		if(CSeekNetwork::Receive(new_fd, strSearchDataset)==-1){
 			fprintf(stderr, "Error receiving from client!\n");
 		thread_arg[d].genome_fraction_required = 
 			atof(searchParameterTokens[3].c_str());
 		thread_arg[d].distanceMeasure = searchParameterTokens[4];
-
+		thread_arg[d].correlationSign = searchParameterTokens[5];
 		//=========================================================
 
 		thread_arg[d].threadid = d;