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
fbfc4fc1
Commit
fbfc4fc1
authored
Sep 01, 2023
by
Konstantin Volzhenin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
0.3.1 small bugfix for predict_string
parent
93ff261b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
__init__.py
senseppi/__init__.py
+1
-1
predict_string.py
senseppi/commands/predict_string.py
+2
-1
No files found.
senseppi/__init__.py
View file @
fbfc4fc1
__version__
=
"0.3.
0
"
__version__
=
"0.3.
1
"
__author__
=
"Konstantin Volzhenin"
from
.
import
model
,
commands
,
esm2_model
,
dataset
,
utils
,
network_utils
...
...
senseppi/commands/predict_string.py
View file @
fbfc4fc1
...
...
@@ -29,6 +29,7 @@ def main(params):
generate_pairs_string
(
fasta_file
,
output_file
=
pairs_file
,
delete_proteins
=
params
.
delete_proteins
)
params
.
fasta_file
=
fasta_file
params
.
pairs_file
=
pairs_file
compute_embeddings
(
params
)
preds
=
predict
(
params
)
...
...
@@ -193,7 +194,7 @@ def add_args(parser):
string_pred_args
.
add_argument
(
"-n"
,
"--nodes"
,
type
=
int
,
default
=
10
,
help
=
"Number of nodes to fetch from STRING database. Default: 10"
)
string_pred_args
.
add_argument
(
"-r"
,
"--score"
,
type
=
int
,
default
=
0
,
help
=
"Score threshold for STRING connections. Range: (0, 1000). Default:
50
0"
)
help
=
"Score threshold for STRING connections. Range: (0, 1000). Default: 0"
)
string_pred_args
.
add_argument
(
"-p"
,
"--pred_threshold"
,
type
=
int
,
default
=
500
,
help
=
"Prediction threshold. Range: (0, 1000). Default: 500"
)
string_pred_args
.
add_argument
(
"--graphs"
,
action
=
'store_true'
,
...
...
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