-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
executable file
·147 lines (134 loc) · 3.51 KB
/
Copy pathpyproject.toml
File metadata and controls
executable file
·147 lines (134 loc) · 3.51 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
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "fiberhmm"
version = "2.16.3"
description = "Hidden Markov Model for calling chromatin footprints from fiber-seq and DAF-seq data"
readme = "README.md"
license = {text = "MIT"}
authors = [
{name = "FiberHMM Authors"}
]
keywords = [
"bioinformatics",
"chromatin",
"fiber-seq",
"DAF-seq",
"hidden-markov-model",
"nucleosome",
"footprinting",
"epigenetics",
"single-molecule"
]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: MacOS",
"Operating System :: POSIX :: Linux",
"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 :: Bio-Informatics",
]
requires-python = ">=3.9"
dependencies = [
"numpy>=1.20",
"scipy>=1.7",
"pandas>=1.3",
"pysam>=0.19",
"tqdm>=4.60",
]
[project.optional-dependencies]
numba = ["numba>=0.55"]
plots = ["matplotlib>=3.5"]
posteriors = ["h5py>=3.0"]
all = [
"numba>=0.55",
"matplotlib>=3.5",
"h5py>=3.0",
]
dev = [
"pytest>=7.0",
"pytest-cov>=4.0",
"black>=23.0",
"ruff>=0.1",
]
[project.urls]
Homepage = "https://github.com/fiberseq/FiberHMM"
Documentation = "https://github.com/fiberseq/FiberHMM#readme"
Repository = "https://github.com/fiberseq/FiberHMM"
Issues = "https://github.com/fiberseq/FiberHMM/issues"
[project.scripts]
fiberhmm-apply = "fiberhmm.cli._entry:apply_main"
fiberhmm-train = "fiberhmm.cli._entry:train_main"
fiberhmm-extract = "fiberhmm.cli._entry:extract_main"
fiberhmm-probs = "fiberhmm.cli._entry:probs_main"
fiberhmm-utils = "fiberhmm.cli._entry:utils_main"
fiberhmm-posteriors = "fiberhmm.cli._entry:posteriors_main"
fiberhmm-daf-encode = "fiberhmm.cli._entry:daf_encode_main"
fiberhmm-recall-tfs = "fiberhmm.cli._entry:recall_tfs_main"
fiberhmm-recall-nucs = "fiberhmm.cli._entry:recall_nucs_main"
fiberhmm-call = "fiberhmm.cli._entry:call_main"
fiberhmm-run = "fiberhmm.cli._entry:run_main"
fiberhmm-dedup = "fiberhmm.cli._entry:dedup_main"
# Top-level scripts kept for backward compatibility
[tool.setuptools]
py-modules = [
"apply_model",
"train_model",
"generate_probs",
"extract_tags",
"fiberhmm_utils",
"export_posteriors",
]
[tool.setuptools.packages.find]
include = ["fiberhmm*"]
[tool.setuptools.package-data]
"fiberhmm.models" = ["*.json", "legacy/*.json"]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py", "bench_*.py"]
python_functions = ["test_*"]
addopts = "-v --tb=short -m 'not benchmark'"
markers = [
"benchmark: performance benchmark (run with '-m benchmark tests/benchmarks')",
"slow: slow test (deselect with '-m \"not slow\"')",
]
[tool.coverage.run]
source = ["fiberhmm"]
omit = [
"tests/*",
"*/__pycache__/*",
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"if __name__ == .__main__.:",
"raise NotImplementedError",
]
[tool.black]
line-length = 100
target-version = ["py39", "py310", "py311", "py312"]
exclude = '''
/(
\.git
| \.venv
| __pycache__
)/
'''
[tool.ruff]
line-length = 100
target-version = "py39"
exclude = [
".git",
".venv",
"__pycache__",
]
[tool.ruff.lint]
select = ["E", "F", "W", "I"]
ignore = ["E501"]