forked from LooseLab/readfish
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
93 lines (82 loc) · 2.6 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "readfish"
authors = [
{ name = "Alexander Payne" },
{ name = "Rory Munro", email = "rory.munro@nottingham.ac.uk" },
{ name = "Matt Loose", email = "matt.loose@nottingham.ac.uk"}
]
license = "MIT"
readme = "README.md"
requires-python = ">=3.8"
description = "ONT adaptive sampling"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Scientific/Engineering :: Bio-Informatics",
]
keywords = []
dependencies = [
"minknow_api",
"numpy",
"cattrs",
"rtoml",
"more_itertools",
'exceptiongroup ; python_version<"3.11"',
"readfish_summarise >= 0.2.5",
"readfish[all]",
]
dynamic = ["version"]
[project.scripts]
readfish = "readfish._cli_base:main"
[project.optional-dependencies]
# Development dependencies
docs = ["sphinx-copybutton", "furo", "myst-parser", "faqtory"]
tests = ["pytest", "coverage[toml]"]
tests-mappy = ["readfish[tests,mappy,guppy]"]
dev = ["readfish[all,docs,tests]", "pre-commit"]
# Running dependencies, this is a little bit clunky but works for now
mappy = ["mappy"]
mappy-rs = ["mappy-rs >= 0.0.6"]
guppy = ["ont_pyguppy_client_lib"]
dorado = ["ont-pybasecall-client-lib"]
all = ["readfish[mappy,mappy-rs,guppy,dorado]"]
[project.urls]
Documentation = "https://looselab.github.io/readfish"
"Bug Tracker" = "https://github.com/LooseLab/readfish/issues"
"Source Code" = "https://github.com/LooseLab/readfish"
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.version]
path = "src/readfish/__about__.py"
[tool.black]
line-length = 88
[tool.ruff]
ignore = ["E501"]
[tool.pytest.ini_options]
testpaths = [
"tests/*test.py",
"src/readfish",
]
markers = [
"alignment: marks tests which rely on loading or using Mappy or Mappy-rs aligners, used to test with both. (deselect with '-m \"not slow\", select with '-k alignment')",
]
addopts = ["-ra", "--doctest-modules", "--ignore=src/readfish/read_until/base.py"]
[tool.coverage.report]
omit = [
"src/readfish/plugins/dorado.py",
"src/readfish/_read_until_client.py",
"src/readfish/plugins/guppy.py",
]