Commit 4c796a06 by Mustafa Tekpinar

Now, checking if normalized data files are created or not for figs.

parent 4cee9b3b
......@@ -310,17 +310,32 @@ def doit(inAli,mutFile,retMet,bFile,fFile,n,N, isjet2on):
if(simple):
print("generating the plots...")
gemmeData = parseGEMMEoutput(prot+"_normPred_evolEpi.txt", verbose=False)
plotGEMMEmatrix(gemmeData, prot+"_normPred_evolEpi.png", 1, None,\
colorMap='Blues_r', offSet=0, pixelType='square')
#Check if the normalized data files were created.
if(os.path.exists(prot+"_normPred_evolEpi.txt")):
gemmeData = parseGEMMEoutput(prot+"_normPred_evolEpi.txt", verbose=False)
plotGEMMEmatrix(gemmeData, prot+"_normPred_evolEpi.png", 1, None,\
colorMap='Blues_r', offSet=0, pixelType='square')
else:
print("ERROR: "+prot+"_normPred_evolEpi.txt file does not exist!")
print(" Can not generate "+prot+"_normPred_evolEpi.png file!")
gemmeData = parseGEMMEoutput(prot+"_normPred_evolInd.txt", verbose=False)
plotGEMMEmatrix(gemmeData, prot+"_normPred_evolInd.png", 1, None,\
colorMap='Greens_r', offSet=0, pixelType='square')
gemmeData = parseGEMMEoutput(prot+"_normPred_evolCombi.txt", verbose=False)
plotGEMMEmatrix(gemmeData, prot+"_normPred_evolCombi.png", 1, None,\
colorMap='Oranges_r', offSet=0, pixelType='square')
#Check if the normalized data files were created.
if(os.path.exists(prot+"_normPred_evolInd.txt")):
gemmeData = parseGEMMEoutput(prot+"_normPred_evolInd.txt", verbose=False)
plotGEMMEmatrix(gemmeData, prot+"_normPred_evolInd.png", 1, None,\
colorMap='Greens_r', offSet=0, pixelType='square')
else:
print("ERROR: "+prot+"_normPred_evolInd.txt file does not exist!")
print(" Can not generate "+prot+"_normPred_evolInd.png file!")
#Check if the normalized data files were created.
if(os.path.exists(prot+"_normPred_evolCombi.txt")):
gemmeData = parseGEMMEoutput(prot+"_normPred_evolCombi.txt", verbose=False)
plotGEMMEmatrix(gemmeData, prot+"_normPred_evolCombi.png", 1, None,\
colorMap='Oranges_r', offSet=0, pixelType='square')
else:
print("ERROR: "+prot+"_normPred_evolCombi.txt file does not exist!")
print(" Can not generate "+prot+"_normPred_evolCombi.png file!")
print("done")
cleanTheMess(prot,bFile,fFile)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment