Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
113 lines (102 loc) · 2.89 KB
/
Copy pathpyproject.toml
File metadata and controls
113 lines (102 loc) · 2.89 KB
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
108
109
110
111
112
113
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "predict-structure"
version = "0.17.0"
description = "Unified protein structure prediction CLI for BV-BRC (Boltz-2, OpenFold 3, Chai-1, AlphaFold 2, ESMFold)"
readme = "README.md"
license = {text = "MIT"}
requires-python = ">=3.10"
authors = [
{name = "Andreas Wilke"}
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Bio-Informatics",
]
keywords = ["protein", "structure prediction", "BV-BRC", "Boltz", "Chai", "AlphaFold", "ESMFold"]
dependencies = [
"click>=8.0",
"click-option-group>=0.5.6",
"biopython>=1.80",
"numpy>=1.23",
"pandas>=1.5",
"pyarrow>=12.0",
"pyyaml>=6.0",
]
[project.optional-dependencies]
esmfold = [
"torch>=2.0",
"transformers>=4.30",
"accelerate>=0.20",
]
cwl = [
"cwltool>=3.1",
]
provenance = [
"rocrate>=0.9",
]
dev = [
"pytest>=7.0",
"pytest-cov>=4.0",
"pytest-timeout>=2.2",
"pytest-xdist>=3.5",
"pytest-json-report>=1.5",
"filelock>=3.12",
"jsonschema>=4.17",
"black>=23.0",
"ruff>=0.1",
"mypy>=1.0",
]
all = [
"predict-structure[cwl,esmfold,dev,provenance]",
]
[project.scripts]
predict-structure = "predict_structure.cli:main"
[project.urls]
Repository = "https://github.com/CEPI-dxkb/PredictStructureApp"
[tool.setuptools.packages.find]
where = ["."]
include = ["predict_structure*"]
[tool.setuptools.package-data]
predict_structure = ["tools.yml"]
[tool.black]
line-length = 99
target-version = ["py310", "py311", "py312"]
[tool.ruff]
line-length = 99
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "I", "W"]
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
ignore_missing_imports = true
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = "test_*.py"
addopts = "-v --tb=short"
markers = [
"cwl: CWL validation tests (no Docker or GPU needed)",
"docker: requires Docker daemon",
"gpu: requires GPU hardware",
"slow: tests taking > 5 minutes (AlphaFold, full Boltz)",
"container: requires Apptainer container",
"workspace: requires BV-BRC workspace token",
"phase1: Phase 1 native tool tests",
"phase2: Phase 2 CLI integration tests",
"phase3: Phase 3 service script + workspace tests",
"tier1: smoke -- small protein, every tool, every layer",
"tier2: functional -- medium protein (~200-300 aa), full pipeline",
"tier3: multi-entity -- protein + ligand/DNA/RNA at small size",
"tier4: multimer -- multi-chain protein",
"tier5: large -- ~500 aa scaling regression",
]