-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
96 lines (80 loc) · 2.21 KB
/
Copy pathpyproject.toml
File metadata and controls
96 lines (80 loc) · 2.21 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
[project]
name = "bonsai-prp"
dynamic = ["version"]
authors = [
{name = "Markus Johansson", email = "markus.h.johansson@skane.se"},
{name = "Ryan Kennedy", email = "Ryan.Kennedy@skane.se"},
]
description = "Pipline result processing program for the JASEN pipeline and Bonsai tool."
readme = "README.md"
requires-python = ">=3.11"
classifiers = [
"Development Status :: 3 - Alpha",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"pydantic[email]>=2.4,<3",
"pyyaml>=6,<7",
"bonsai-libs @ git+https://github.com/mhkc/bonsai-libs.git@master",
"click>=8.1",
"numpy>=1.26,<2.0",
"pandas>=2.1,<2.3",
"biopython>=1.83,<1.86",
"cyvcf2>=0.31,<0.32",
"pysam>=0.22,<0.23",
]
[project.urls]
Repository = "https://github.com/Clinical-Genomics-Lund/"
Issues = "https://github.com/Clinical-Genomics-Lund/bonsai-prp/issues"
Changelog = "https://github.com/Clinical-Genomics-Lund/CHANGELOG.md"
[project.scripts]
prp = "prp.cli:cli"
[project.optional-dependencies]
# analysis = cli + all heavy tools
analysis = [
"click>=8.1",
"numpy>=1.26,<2.0",
"pandas>=2.1,<2.3",
"biopython>=1.83,<1.86",
"cyvcf2>=0.31,<0.32",
"pysam>=0.22,<0.23",
]
# dev-only tools (not installed with 'all')
dev = [
"pylint>=3.0",
"black>=23.11",
"isort>=5.12",
]
# test-only tools (not installed with 'all')
test = [
"pytest-cov>=4.1",
"mypy==1.13.0",
"pydantic[mypy]>=2.4",
]
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[tool.setuptools.dynamic]
version = {attr = "prp.VERSION"}
[tool.setuptools.packages.find]
include = ["prp*"]
[tool.isort]
profile = "black"
[tool.pylint]
max-line-length = 88
[tool.pytest.ini_options]
addopts = "--cov --cov-report html --cov-report term-missing --cov-fail-under 95"
[tool.coverage.run]
source = ["prp"]
[tool.pylint.TYPECHECK]
generated-members = "pysam.asTuple,pysam.TabixFile,pysam.AlignmentFile"
[tool.mypy]
python_version = "3.11"
plugins = "pydantic.mypy"
warn_unused_ignores = true
disallow_untyped_defs = true
no_implicit_optional = true