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
6187ee8a
Commit
6187ee8a
authored
Nov 21, 2023
by
Mustafa Tekpinar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Corrected ranksorting for M1M, A2A etc. inside prescott.py!
parent
83fcd07e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
prescott.py
prescott/prescott.py
+9
-4
No files found.
prescott/prescott.py
View file @
6187ee8a
...
@@ -659,10 +659,15 @@ def main():
...
@@ -659,10 +659,15 @@ def main():
aaOrderList
=
list
(
'ACDEFGHIKLMNPQRSTVWY'
)
aaOrderList
=
list
(
'ACDEFGHIKLMNPQRSTVWY'
)
if
(
args
.
escottformat
==
'gemme'
):
if
(
args
.
escottformat
==
'gemme'
):
#
Parse the file containing raw ESCOTT scores.
#
Parse the file containing raw ESCOTT scores.
scanningMatrix
=
parseGEMMEoutput
(
args
.
escottfile
,
verbose
=
False
)
# The file is in GEMME format for backward compatibility!
# scanningMatrix = parseGEMMEoutput(args.escottfile, verbose=False)
gemmeDF
=
pd
.
read_table
(
args
.
escottfile
,
sep
=
"
\
s+"
)
#matrix = gemmeDF.to_numpy()
maxValue
=
np
.
nanmax
(
gemmeDF
.
to_numpy
())
# print(maxValue)
scanningMatrix
=
gemmeDF
.
to_numpy
(
na_value
=
maxValue
)
writeSinglelineFormat
(
scanningMatrix
,
protein
+
'_singleline.txt'
,
residueList
=
localResidueList
,
\
writeSinglelineFormat
(
scanningMatrix
,
protein
+
'_singleline.txt'
,
residueList
=
localResidueList
,
\
beg
=
0
,
end
=
None
,
aaOrder
=
aaOrderList
,
\
beg
=
0
,
end
=
None
,
aaOrder
=
aaOrderList
,
\
...
@@ -893,7 +898,7 @@ def main():
...
@@ -893,7 +898,7 @@ def main():
# myBigMergedDF = myBigMergedDF['mutant'].apply(lambda x: x.upper())
# myBigMergedDF = myBigMergedDF['mutant'].apply(lambda x: x.upper())
myBigMergedDF
.
to_csv
(
outfile
+
'-details.csv'
,
index
=
None
)
myBigMergedDF
.
to_csv
(
outfile
+
'-details.csv'
,
index
=
None
)
print
(
localResidueList
)
#
print(localResidueList)
with
open
(
outfile
+
'.csv'
,
'w'
)
as
my_file
:
with
open
(
outfile
+
'.csv'
,
'w'
)
as
my_file
:
my_file
.
write
(
","
)
my_file
.
write
(
","
)
...
...
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