Skip to content

Commit dda9af8

Browse files
author
Tobias Olenyi
committed
Merge branch 'release-1.0' into 'main'
Bump release to 1.0 See merge request olenyi/vespa-cli!11
2 parents 9fbd96e + bc35b49 commit dda9af8

4 files changed

Lines changed: 29 additions & 21 deletions

File tree

pyproject.toml

Lines changed: 22 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,27 @@
11
[tool.poetry]
2-
name = "vespa"
3-
version = "0.9.0-beta"
4-
description = ""
2+
name = "vespa-effect"
3+
version = "1.0.0"
4+
description = "Predictor for single-amino acid variant effects in protein sequences (https://doi.org/10.1007/s00439-021-02411-y)"
55
authors = ["Tobias O <tobias.olenyi@tum.de>", "Duc Anh Le <ducanh.le@tum.de>"]
6+
license = 'AGPL-3.0-or-later'
7+
readme = "README.md"
8+
homepage = ""
9+
repository = "https://github.com/Rostlab/VESPA"
10+
keywords = [
11+
"Embeddings",
12+
"Protein-Sequences",
13+
"Machine-Learning",
14+
"Mutation-Effect"
15+
]
16+
17+
include = [
18+
"LICENSE",
19+
"CODE_OF_CONDUCT.md",
20+
"models/*"
21+
]
22+
packages = [
23+
{include = "vespa"}
24+
]
625

726
[tool.poetry.dependencies]
827
python = ">=3.9,<3.11"
@@ -29,14 +48,3 @@ vespa = 'vespa.scripts.meta:main'
2948
vespa_conspred = 'vespa.scripts.conspred:main'
3049
vespa_run = 'vespa.scripts.vespa_run:main'
3150
vespa_emb = 'vespa.scripts.embedding:main'
32-
33-
[tool.poetry2conda]
34-
name = "vespa-env"
35-
36-
[tool.poetry2conda.dependencies]
37-
poetry2conda = { channel = "conda-forge" }
38-
sentencepiece = { channel = "conda-forge" }
39-
transformers = { channel = "conda-forge" }
40-
torch = { channel = "conda-forge" }
41-
sklearn = { channel = "conda-forge" }
42-

vespa/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
__author__ = "Tobias O, Michael H., Celine M., Duc Anh L."
22
__copyright__ = "Copyright 2022, Rostlab"
33
__license__ = "AGPL-3.0-or-later"
4-
__version__ = "0.9.0b"
4+
__version__ = "1.0.0"
55
__maintainer__ = ["Duc Anh L.", "Tobias O."]
66
__email__ = ""
77
__status__ = "Production"

vespa/scripts/embedding.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import argparse
22
from vespa.predict.embedding import *
3-
from vespa.predict.config import VERBOSE
3+
from vespa.predict.config import VERBOSE, CACHE_DIR
44

55

66
def setup_argparse():
@@ -29,7 +29,7 @@ def setup_argparse():
2929
)
3030

3131
parser.add_argument(
32-
"--language_model_cache",
32+
"--prott5_weights_cache",
3333
required=False,
3434
type=Path,
3535
default=Path(CACHE_DIR),
@@ -55,7 +55,7 @@ def main():
5555
arguments = {
5656
'seq_path': args.input,
5757
'out_path': args.output,
58-
'cache_dir': args.language_model_cache
58+
'cache_dir': args.prott5_weights_cache
5959
}
6060
run_embedding(**arguments)
6161

vespa/scripts/logodds.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"""
1717
import argparse
1818

19-
from vespa.predict.config import VERBOSE
19+
from vespa.predict.config import VERBOSE, CACHE_DIR
2020
from vespa.predict.logodds import *
2121
from vespa.predict import utils
2222

@@ -101,7 +101,7 @@ def create_arg_parser():
101101
)
102102

103103
parser.add_argument(
104-
"--language_model_cache",
104+
"--prott5_weights_cache",
105105
required=False,
106106
type=Path,
107107
default=Path(CACHE_DIR),
@@ -169,7 +169,7 @@ def main():
169169
'reconstruction_output': args.reconstruction_output,
170170
'single_csv': args.single_csv,
171171
'csv_dir': args.csv_dir,
172-
'cache_dir': args.language_model_cache
172+
'cache_dir': args.prott5_weights_cache
173173
}
174174
run_logodds(**arguments)
175175

0 commit comments

Comments
 (0)