Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
107 lines (95 loc) · 3.26 KB
/
Copy pathpyproject.toml
File metadata and controls
107 lines (95 loc) · 3.26 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
# PEP 621 project metadata (used by uv, pip, and other standard tools)
[project]
name = "qpx"
dynamic = ["version"]
description = "Quantitative proteomics data toolkit — convert, transform, query, and validate QPX Parquet datasets"
readme = "README.md"
license = { text = "Apache-2.0" }
requires-python = ">=3.10,<3.14"
authors = [{ name = "BigBio Team", email = "ypriverol@gmail.com" }]
keywords = ["python", "multiomics", "proteomics", "quantms", "reanalysis", "parquet", "proteomics-data", "standardized-format", "bioinformatics-data"]
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering :: Bio-Informatics",
]
dependencies = [
"click>=8.1",
"pandas>=2.1",
"pyarrow>=14.0",
"pyopenms>=3.3.0,<4.0.0",
"numpy>=1.24",
"duckdb>=1.5.0",
"pyyaml>=6.0",
"defusedxml>=0.7.1",
# Canonical channel-label vocabulary (TMT/iTRAQ/SILAC/mTRAQ + synonyms) —
# single source of truth shared with the OpenMS/DIA-NN SDRF converters.
"sdrf-pipelines>=0.1.6",
# Floor at 0.3.1: mudata 0.3.0 breaks against anndata>=0.10.9 (private API).
"mudata>=0.3.1",
"anndata>=0.9.0",
"scipy>=1.10",
]
[project.optional-dependencies]
mzidentml = ["lxml>=4.9.0"]
pdc = ["pridepy>=0.0.15"]
# Gene mapping reads FASTA headers directly, so it needs no extra dependency.
plotting = ["plotly>=5.0.0", "scikit-learn>=1.5.0"]
quantify = ["mokume[directlfq]>=0.1.0"]
all = ["lxml>=4.9.0", "plotly>=5.0.0", "scikit-learn>=1.5.0", "mokume[directlfq]>=0.1.0"]
dev = [
"pytest",
"pytest-timeout",
"pytest-xdist",
"hypothesis",
"lxml>=4.9.0",
"scikit-learn",
"plotly>=5.0.0",
"pre-commit",
"ruff",
"mkdocs>=1.5.0",
"mkdocs-material>=9.0.0",
"markdown-exec[ansi]>=1.11.0",
]
[project.scripts]
qpxc = "qpx.cli.main:main"
[project.urls]
Homepage = "https://quantms.org"
Documentation = "https://qpx.quantms.org"
Repository = "https://github.com/bigbio/qpx"
"Bug Tracker" = "https://github.com/bigbio/qpx/issues"
Changelog = "https://github.com/bigbio/qpx/releases"
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[tool.hatch.version]
source = "vcs"
[tool.hatch.version.raw-options]
local_scheme = "no-local-version"
[tool.hatch.build.targets.sdist]
exclude = ["tests/examples"]
[tool.hatch.build.targets.wheel]
packages = ["qpx"]
force-include = { "LICENSE" = "LICENSE" }
[tool.ruff]
line-length = 130
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "I", "W"]
ignore = ["E501"]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
"tests/**" = ["S101", "E402"]
"qpx/converters/base.py" = ["ARG002"]
[tool.bandit]
# Converter SQL interpolates *column names* (SQL identifiers, which cannot be
# bound as parameters) from controlled resolve_columns() maps and literal column
# constants, with identifier quoting -- never user input. B608 is a false
# positive for this dynamic-identifier SQL construction.
skips = ["B608"]
[tool.pytest.ini_options]
markers = [
"integration: marks tests as integration tests (deselect with '-m \"not integration\"')",
"large_data: marks tests as requiring large data files (deselect with '-m \"not large_data\"')",
]