Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
PRESCOTT
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mustafa Tekpinar
PRESCOTT
Commits
4c796a06
Commit
4c796a06
authored
May 09, 2022
by
Mustafa Tekpinar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Now, checking if normalized data files are created or not for figs.
parent
4cee9b3b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
gemme.py
gemme.py
+15
-0
No files found.
gemme.py
View file @
4c796a06
...
...
@@ -310,17 +310,32 @@ def doit(inAli,mutFile,retMet,bFile,fFile,n,N, isjet2on):
if
(
simple
):
print
(
"generating the plots..."
)
#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!"
)
#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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment