-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
107 lines (100 loc) · 2.37 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
[build-system]
build-backend = "setuptools.build_meta"
requires = ["setuptools >= 64"]
[project]
authors = [
{name = "Simone Chiarella", email = "[email protected]"},
]
dependencies = [
"biopython==1.78",
"matplotlib==3.8.4",
"numpy==1.26.4",
"pandas==2.1.4",
"rcsbsearchapi==1.6.0",
"requests==2.32.3",
"rich==13.9.4",
"scipy==1.13.0",
"seaborn==0.12.2",
"torch==2.4.0",
"transformers==4.48.3",
]
description = "A pipeline for the analysis of peptide sequences through ProtBert self-attention"
dynamic = ["version"]
license = {file = "LICENSE"}
name = "ProtACon"
readme = "README.md"
requires-python = "== 3.10.15"
[project.optional-dependencies]
test = [
"hypothesis==6.115.6",
"mypy==1.11.2",
"pandas-stubs==2.2.2.240909",
"pytest==7.4.4",
"pytest-bdd==7.0.0",
"pytest-mock==3.10.0",
"pytest-pycodestyle==2.3.1",
"responses==0.25.0",
"types-requests==2.32.0.20241016",
]
[project.scripts]
ProtACon = "ProtACon.__main__:main"
[tool.pytest.ini_options]
addopts = [
"--pycodestyle",
"--gherkin-terminal-reporter",
]
bdd_features_base_dir = "tests/features"
filterwarnings = [
"ignore::DeprecationWarning",
]
markers = [
"aa_dicts",
"all_amino_acids",
"amino_acid_df",
"argument_parser",
"attention",
"average_matrices_together",
"basics",
"binarize_contact_map",
"CA_Atom",
"compute_att_align_on_heads",
"compute_att_align_on_layers",
"compute_attention_similarity",
"contact",
"clean_attention",
"config_parser",
"distance_between_atoms",
"download_pdb",
"extract_CA_atoms",
"generate_distance_map",
"get_amino_acid_pos",
"get_attention_to_amino_acid",
"get_model_structure",
"get_sequence_to_tokenize",
"include_att_to_missing_aa",
"load_Bert",
"Logger",
"normalize_array",
"preprocess",
"raw_attention",
"sum_attention_on_columns",
"sum_attention_on_heads",
"threshold_attention",
"tokens",
]
testpaths = ["tests"]
[tool.setuptools]
packages = ["ProtACon", "ProtACon.modules"]
[tool.mypy]
explicit_package_bases = true # suppress error due to same name modules
# mypy per-module options:
[[tool.mypy.overrides]]
module = [
"Bio.PDB.*",
"mpl_toolkits.axes_grid1",
"rcsbsearchapi.*",
"scipy.stats",
"seaborn",
"transformers",
]
ignore_missing_imports = true