Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
SENSE-PPI
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
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
Konstantin Volzhenin
SENSE-PPI
Commits
c963949c
Commit
c963949c
authored
Sep 29, 2023
by
Konstantin Volzhenin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
0.5.7 predictions in output are sorted by score
parent
a183543b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletions
+3
-1
__init__.py
senseppi/__init__.py
+1
-1
predict.py
senseppi/commands/predict.py
+2
-0
No files found.
senseppi/__init__.py
View file @
c963949c
__version__
=
"0.5.
6
"
__version__
=
"0.5.
7
"
__author__
=
"Konstantin Volzhenin"
from
.
import
model
,
commands
,
esm2_model
,
dataset
,
utils
,
network_utils
...
...
senseppi/commands/predict.py
View file @
c963949c
...
...
@@ -149,9 +149,11 @@ def main(params):
'protein name 1, protein name 2 and label(optional)'
)
data
[
'preds'
]
=
preds
data
=
data
.
sort_values
(
by
=
[
'preds'
],
ascending
=
False
)
data
.
to_csv
(
params
.
output
+
'.tsv'
,
sep
=
'
\t
'
,
index
=
False
,
header
=
True
)
data_positive
=
data
[
data
[
'preds'
]
>=
params
.
pred_threshold
]
data_positive
=
data_positive
.
sort_values
(
by
=
[
'preds'
],
ascending
=
False
)
data_positive
.
to_csv
(
params
.
output
+
'_positive_interactions.tsv'
,
sep
=
'
\t
'
,
index
=
False
,
header
=
True
)
if
os
.
path
.
isfile
(
tmp_pairs
):
...
...
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