-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
155 lines (143 loc) · 4.05 KB
/
pyproject.toml
File metadata and controls
155 lines (143 loc) · 4.05 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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
[project]
name = "otk-ecdna"
version = "1.0.2"
description = "ecDNA Analysis Toolkit - Deep learning-based extrachromosomal DNA prediction"
authors = [
{ name = "Shixiang Wang", email = "wangshx@csu.edu.cn" }
]
license = { text = "MIT" }
readme = "README.md"
requires-python = ">=3.9"
keywords = ["ecDNA", "extrachromosomal DNA", "deep learning", "bioinformatics", "cancer"]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Bio-Informatics",
"Topic :: Scientific/Engineering :: Medical Science Apps.",
]
dependencies = [
# Core dependencies
"pandas>=2.0",
"numpy>=1.24",
"scipy>=1.10",
"scikit-learn>=1.3",
"tqdm>=4.65",
"pyyaml>=6.0",
# CLI
"click>=8.1",
# Visualization
"matplotlib>=3.7",
"seaborn>=0.12",
"adjustText>=0.8", # For plot label adjustment
# Deep learning
"torch>=2.0",
# XGBoost
"xgboost>=2.0",
# API server (optional, but included for full functionality)
"fastapi>=0.104",
"uvicorn[standard]>=0.24",
"python-multipart>=0.0.6",
"pydantic>=2.5",
"jinja2>=3.1",
"markdown>=3.5",
# Download functionality
"requests>=2.28",
]
[project.optional-dependencies]
# Full installation with all optional dependencies
full = [
"tabpfn>=2.0", # TabPFN model
"celery>=5.3", # Async task processing
"redis>=5.0", # Celery backend
"sqlalchemy>=2.0", # Database
"psutil>=5.9", # Resource monitoring
]
# Development dependencies
dev = [
"pytest>=7.0",
"pytest-cov>=4.0",
"black>=23.0",
"isort>=5.12",
"flake8>=6.0",
"mypy>=1.0",
]
# Documentation dependencies
docs = [
"sphinx>=7.0",
"sphinx-rtd-theme>=2.0",
"myst-parser>=2.0",
]
[project.urls]
Homepage = "https://github.com/WangLabCSU/otk"
Documentation = "https://github.com/WangLabCSU/otk#readme"
Repository = "https://github.com/WangLabCSU/otk.git"
Issues = "https://github.com/WangLabCSU/otk/issues"
Paper = "https://www.nature.com/articles/s41467-024-XXXX-X"
[project.scripts]
otk = "otk.cli:cli"
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
packages = ["otk", "otk.data", "otk.models", "otk.predict", "otk.utils", "otk_api", "otk_api.api"]
package-dir = { "" = "src", "otk_api" = "otk_api" }
[tool.setuptools.package-data]
otk = [
"data/*.csv.gz",
"data/*.csv",
"data/*.json",
]
otk_api = [
"static/*.png",
"static/*.md",
"models/xgb_new/*.pkl",
"models/xgb_new/*.yml",
"models/xgb_new/*.csv",
"models/xgb_paper/*.pkl",
"models/xgb_paper/*.yml",
"models/xgb_paper/*.csv",
"models/xgb_tuned/*.pkl",
"models/xgb_tuned/*.yml",
"models/xgb_tuned/*.csv",
"models/baseline_mlp/*.pkl",
"models/baseline_mlp/*.yml",
"models/transformer/*.pkl",
"models/transformer/*.yml",
"models/deep_residual/*.pkl",
"models/deep_residual/*.yml",
"models/optimized_residual/*.pkl",
"models/optimized_residual/*.yml",
"models/dgit_super/*.pkl",
"models/dgit_super/*.yml",
"models/source_data/*.csv",
"models/tabpfn/config.yml",
"models/tabpfn/training_summary.yml",
"README.md",
]
[tool.setuptools.exclude-package-data]
otk_api = ["*.pdf", "models/*.png", "models/*.md"]
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["src"]
addopts = "-v --tb=short"
[tool.black]
line-length = 100
target-version = ["py39", "py310", "py311"]
[tool.isort]
profile = "black"
line_length = 100
[tool.mypy]
python_version = "3.9"
warn_return_any = true
warn_unused_ignores = true
ignore_missing_imports = true