DOTools-py 0.0.3__tar.gz → 0.0.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (154) hide show
  1. {dotools_py-0.0.3 → dotools_py-0.0.4}/.github/ISSUE_TEMPLATE/feature_request.yml +1 -1
  2. {dotools_py-0.0.3 → dotools_py-0.0.4}/.github/workflows/build.yaml +9 -8
  3. {dotools_py-0.0.3 → dotools_py-0.0.4}/.github/workflows/release.yaml +8 -8
  4. {dotools_py-0.0.3 → dotools_py-0.0.4}/.github/workflows/test.yaml +19 -10
  5. {dotools_py-0.0.3 → dotools_py-0.0.4}/.readthedocs.yaml +1 -1
  6. {dotools_py-0.0.3 → dotools_py-0.0.4}/CHANGELOG.md +30 -0
  7. {dotools_py-0.0.3 → dotools_py-0.0.4}/PKG-INFO +10 -7
  8. {dotools_py-0.0.3 → dotools_py-0.0.4}/README.md +5 -3
  9. {dotools_py-0.0.3 → dotools_py-0.0.4}/docs/api/dt.md +2 -0
  10. {dotools_py-0.0.3 → dotools_py-0.0.4}/docs/api/get.md +1 -0
  11. {dotools_py-0.0.3 → dotools_py-0.0.4}/docs/api/io.md +1 -0
  12. {dotools_py-0.0.3 → dotools_py-0.0.4}/docs/api/pl.md +1 -1
  13. {dotools_py-0.0.3 → dotools_py-0.0.4}/docs/api/pp.md +3 -3
  14. {dotools_py-0.0.3 → dotools_py-0.0.4}/docs/api/tl.md +2 -0
  15. {dotools_py-0.0.3 → dotools_py-0.0.4}/docs/api/utility.md +2 -0
  16. dotools_py-0.0.4/docs/cite.md +21 -0
  17. dotools_py-0.0.4/docs/figures/split_bar_gsea_example.png +0 -0
  18. {dotools_py-0.0.3 → dotools_py-0.0.4}/docs/index.md +1 -1
  19. {dotools_py-0.0.3 → dotools_py-0.0.4}/docs/installation.md +2 -2
  20. dotools_py-0.0.4/docs/notebooks/Example_Visium.ipynb +760 -0
  21. dotools_py-0.0.4/docs/notebooks/example_10X.ipynb +2410 -0
  22. {dotools_py-0.0.3 → dotools_py-0.0.4}/docs/notebooks/index.md +1 -0
  23. {dotools_py-0.0.3 → dotools_py-0.0.4}/pyproject.toml +6 -6
  24. dotools_py-0.0.4/src/dotools_py/_custom_class.py +25 -0
  25. dotools_py-0.0.4/src/dotools_py/_experimental/_deprecated/_convertion.py +264 -0
  26. dotools_py-0.0.4/src/dotools_py/_experimental/_deprecated/_expression.py +761 -0
  27. dotools_py-0.0.4/src/dotools_py/_experimental/_deprecated/_importer.py +490 -0
  28. dotools_py-0.0.4/src/dotools_py/_experimental/_deprecated/_language.py +398 -0
  29. dotools_py-0.0.4/src/dotools_py/_experimental/_deprecated/_old_code.py +158 -0
  30. dotools_py-0.0.4/src/dotools_py/_experimental/_deprecated/_statistics.py +403 -0
  31. dotools_py-0.0.4/src/dotools_py/_utils.py +241 -0
  32. {dotools_py-0.0.3 → dotools_py-0.0.4}/src/dotools_py/bm/_helper.py +3 -1
  33. {dotools_py-0.0.3 → dotools_py-0.0.4}/src/dotools_py/bm/_integration_metrics.py +5 -2
  34. {dotools_py-0.0.3 → dotools_py-0.0.4}/src/dotools_py/dt/__init__.py +1 -1
  35. dotools_py-0.0.4/src/dotools_py/dt/_datasets.py +259 -0
  36. {dotools_py-0.0.3 → dotools_py-0.0.4}/src/dotools_py/dt/_markers.py +3 -5
  37. dotools_py-0.0.4/src/dotools_py/dt/example_visium_reduced.h5ad +0 -0
  38. {dotools_py-0.0.3 → dotools_py-0.0.4}/src/dotools_py/get/__init__.py +1 -0
  39. {dotools_py-0.0.3 → dotools_py-0.0.4}/src/dotools_py/get/_generic.py +145 -21
  40. {dotools_py-0.0.3 → dotools_py-0.0.4}/src/dotools_py/io/__init__.py +1 -1
  41. {dotools_py-0.0.3 → dotools_py-0.0.4}/src/dotools_py/io/_dataframes.py +47 -27
  42. dotools_py-0.0.4/src/dotools_py/io/_objects.py +271 -0
  43. {dotools_py-0.0.3 → dotools_py-0.0.4}/src/dotools_py/io/_rds.py +17 -9
  44. dotools_py-0.0.4/src/dotools_py/io/_utils.py +6 -0
  45. dotools_py-0.0.4/src/dotools_py/pl/_Classes.py +736 -0
  46. {dotools_py-0.0.3 → dotools_py-0.0.4}/src/dotools_py/pl/_Plotter.py +1 -1
  47. {dotools_py-0.0.3 → dotools_py-0.0.4}/src/dotools_py/pl/_StatsPlotter.py +1 -1
  48. {dotools_py-0.0.3 → dotools_py-0.0.4}/src/dotools_py/pl/__init__.py +1 -1
  49. {dotools_py-0.0.3 → dotools_py-0.0.4}/src/dotools_py/pl/_dotplot.py +5 -8
  50. {dotools_py-0.0.3 → dotools_py-0.0.4}/src/dotools_py/pl/_downstream.py +52 -12
  51. {dotools_py-0.0.3 → dotools_py-0.0.4}/src/dotools_py/pl/_embeddings.py +70 -39
  52. {dotools_py-0.0.3 → dotools_py-0.0.4}/src/dotools_py/pl/_experimental.py +17 -7
  53. dotools_py-0.0.4/src/dotools_py/pl/_expression.py +1068 -0
  54. {dotools_py-0.0.3 → dotools_py-0.0.4}/src/dotools_py/pl/_heatmap.py +7 -31
  55. dotools_py-0.0.4/src/dotools_py/pl/_plot_utils.py +281 -0
  56. dotools_py-0.0.4/src/dotools_py/pl/_visium.py +368 -0
  57. dotools_py-0.0.4/src/dotools_py/pp/__init__.py +2 -0
  58. {dotools_py-0.0.3 → dotools_py-0.0.4}/src/dotools_py/pp/_cellbender.py +1 -1
  59. dotools_py-0.0.4/src/dotools_py/pp/_importer.py +1024 -0
  60. dotools_py-0.0.4/src/dotools_py/pp/_utils.py +234 -0
  61. {dotools_py-0.0.3 → dotools_py-0.0.4}/src/dotools_py/settings/_configure.py +6 -2
  62. dotools_py-0.0.4/src/dotools_py/tl/_CCA/_Original.py +978 -0
  63. dotools_py-0.0.4/src/dotools_py/tl/_CCA/cca.py +417 -0
  64. {dotools_py-0.0.3 → dotools_py-0.0.4}/src/dotools_py/tl/_Statistical.py +14 -11
  65. {dotools_py-0.0.3 → dotools_py-0.0.4}/src/dotools_py/tl/__init__.py +11 -1
  66. {dotools_py-0.0.3 → dotools_py-0.0.4}/src/dotools_py/tl/_analysis.py +234 -9
  67. {dotools_py-0.0.3 → dotools_py-0.0.4}/src/dotools_py/tl/_get_stats.py +8 -8
  68. {dotools_py-0.0.3 → dotools_py-0.0.4}/src/dotools_py/util_scripts/_ReadWrite_RDS.R +4 -4
  69. {dotools_py-0.0.3 → dotools_py-0.0.4}/src/dotools_py/util_scripts/_run_MAST.R +2 -0
  70. {dotools_py-0.0.3 → dotools_py-0.0.4}/src/dotools_py/util_scripts/_run_SCTransform.R +24 -7
  71. {dotools_py-0.0.3 → dotools_py-0.0.4}/src/dotools_py/utility/__init__.py +2 -2
  72. {dotools_py-0.0.3 → dotools_py-0.0.4}/src/dotools_py/utility/_general.py +83 -8
  73. {dotools_py-0.0.3 → dotools_py-0.0.4}/src/dotools_py/utility/_plotting.py +38 -26
  74. {dotools_py-0.0.3 → dotools_py-0.0.4}/src/dotools_py/utility/_spatial.py +1 -1
  75. dotools_py-0.0.4/tests/data/test_datasets.py +60 -0
  76. dotools_py-0.0.4/tests/data/test_markers.py +23 -0
  77. {dotools_py-0.0.3 → dotools_py-0.0.4}/tests/get/test_generic.py +46 -23
  78. {dotools_py-0.0.3 → dotools_py-0.0.4}/tests/io/test_IO.py +11 -0
  79. {dotools_py-0.0.3 → dotools_py-0.0.4}/tests/plotting/test_plotting.py +14 -12
  80. {dotools_py-0.0.3 → dotools_py-0.0.4}/tests/pp/test_importer.py +0 -4
  81. {dotools_py-0.0.3 → dotools_py-0.0.4}/tests/tools/test_analysis.py +4 -5
  82. {dotools_py-0.0.3 → dotools_py-0.0.4}/tests/tools/test_statistic.py +8 -6
  83. {dotools_py-0.0.3 → dotools_py-0.0.4}/tests/utility/test_general.py +1 -1
  84. {dotools_py-0.0.3 → dotools_py-0.0.4}/tests/utility/test_plotting.py +1 -1
  85. dotools_py-0.0.3/docs/cite.md +0 -10
  86. dotools_py-0.0.3/docs/notebooks/example_10X.ipynb +0 -2300
  87. dotools_py-0.0.3/src/dotools_py/_experimental/_deprecated/_convertion.py +0 -264
  88. dotools_py-0.0.3/src/dotools_py/_experimental/_deprecated/_expression.py +0 -761
  89. dotools_py-0.0.3/src/dotools_py/_experimental/_deprecated/_language.py +0 -398
  90. dotools_py-0.0.3/src/dotools_py/_experimental/_deprecated/_statistics.py +0 -403
  91. dotools_py-0.0.3/src/dotools_py/dt/_datasets.py +0 -112
  92. dotools_py-0.0.3/src/dotools_py/io/_objects.py +0 -153
  93. dotools_py-0.0.3/src/dotools_py/pl/_Classes.py +0 -362
  94. dotools_py-0.0.3/src/dotools_py/pl/_expression.py +0 -596
  95. dotools_py-0.0.3/src/dotools_py/pl/_plot_utils.py +0 -102
  96. dotools_py-0.0.3/src/dotools_py/pl/_visium.py +0 -194
  97. dotools_py-0.0.3/src/dotools_py/pp/__init__.py +0 -2
  98. dotools_py-0.0.3/src/dotools_py/pp/_importer.py +0 -917
  99. dotools_py-0.0.3/src/dotools_py/utils.py +0 -448
  100. dotools_py-0.0.3/tests/data/test_data.py +0 -62
  101. {dotools_py-0.0.3 → dotools_py-0.0.4}/.codecov.yaml +0 -0
  102. {dotools_py-0.0.3 → dotools_py-0.0.4}/.cruft.json +0 -0
  103. {dotools_py-0.0.3 → dotools_py-0.0.4}/.editorconfig +0 -0
  104. {dotools_py-0.0.3 → dotools_py-0.0.4}/.github/ISSUE_TEMPLATE/bug_report.yml +0 -0
  105. {dotools_py-0.0.3 → dotools_py-0.0.4}/.github/ISSUE_TEMPLATE/config.yml +0 -0
  106. {dotools_py-0.0.3 → dotools_py-0.0.4}/.gitignore +0 -0
  107. {dotools_py-0.0.3 → dotools_py-0.0.4}/.pre-commit-config.yaml +0 -0
  108. {dotools_py-0.0.3 → dotools_py-0.0.4}/.vscode/extensions.json +0 -0
  109. {dotools_py-0.0.3 → dotools_py-0.0.4}/.vscode/launch.json +0 -0
  110. {dotools_py-0.0.3 → dotools_py-0.0.4}/.vscode/settings.json +0 -0
  111. {dotools_py-0.0.3 → dotools_py-0.0.4}/LICENSE +0 -0
  112. {dotools_py-0.0.3 → dotools_py-0.0.4}/biome.jsonc +0 -0
  113. {dotools_py-0.0.3 → dotools_py-0.0.4}/docs/_static/.gitkeep +0 -0
  114. {dotools_py-0.0.3 → dotools_py-0.0.4}/docs/_static/css/custom.css +0 -0
  115. {dotools_py-0.0.3 → dotools_py-0.0.4}/docs/_static/figures/DoTools_Overview.png +0 -0
  116. {dotools_py-0.0.3 → dotools_py-0.0.4}/docs/_static/figures/LogoDoTools.png +0 -0
  117. {dotools_py-0.0.3 → dotools_py-0.0.4}/docs/_templates/.gitkeep +0 -0
  118. {dotools_py-0.0.3 → dotools_py-0.0.4}/docs/_templates/autosummary/class.rst +0 -0
  119. {dotools_py-0.0.3 → dotools_py-0.0.4}/docs/api/bm.md +0 -0
  120. {dotools_py-0.0.3 → dotools_py-0.0.4}/docs/api/generated/MarkersCellsHeart.png +0 -0
  121. {dotools_py-0.0.3 → dotools_py-0.0.4}/docs/api/index.md +0 -0
  122. {dotools_py-0.0.3 → dotools_py-0.0.4}/docs/api/settings.md +0 -0
  123. {dotools_py-0.0.3 → dotools_py-0.0.4}/docs/changelog.md +0 -0
  124. {dotools_py-0.0.3 → dotools_py-0.0.4}/docs/conf.py +0 -0
  125. {dotools_py-0.0.3 → dotools_py-0.0.4}/docs/extensions/typed_returns.py +0 -0
  126. {dotools_py-0.0.3 → dotools_py-0.0.4}/docs/figures/LogoDoTools.png +0 -0
  127. {dotools_py-0.0.3 → dotools_py-0.0.4}/docs/notebooks/Integration.ipynb +0 -0
  128. {dotools_py-0.0.3 → dotools_py-0.0.4}/docs/notebooks/Running_CellBender.ipynb +0 -0
  129. {dotools_py-0.0.3 → dotools_py-0.0.4}/docs/notebooks/dea.ipynb +0 -0
  130. {dotools_py-0.0.3 → dotools_py-0.0.4}/docs/notebooks/example_visualisation.ipynb +0 -0
  131. {dotools_py-0.0.3 → dotools_py-0.0.4}/docs/references.bib +0 -0
  132. {dotools_py-0.0.3 → dotools_py-0.0.4}/docs/references.md +0 -0
  133. {dotools_py-0.0.3 → dotools_py-0.0.4}/src/dotools_py/__init__.py +0 -0
  134. {dotools_py-0.0.3 → dotools_py-0.0.4}/src/dotools_py/_experimental/__init__.py +0 -0
  135. {dotools_py-0.0.3 → dotools_py-0.0.4}/src/dotools_py/_experimental/_deprecated/__init__.py +0 -0
  136. {dotools_py-0.0.3 → dotools_py-0.0.4}/src/dotools_py/_experimental/gr/__init__.py +0 -0
  137. {dotools_py-0.0.3 → dotools_py-0.0.4}/src/dotools_py/_experimental/gr/_generic.py +0 -0
  138. {dotools_py-0.0.3 → dotools_py-0.0.4}/src/dotools_py/bm/__init__.py +0 -0
  139. {dotools_py-0.0.3 → dotools_py-0.0.4}/src/dotools_py/dt/example_reduced.h5ad +0 -0
  140. {dotools_py-0.0.3 → dotools_py-0.0.4}/src/dotools_py/logger.py +0 -0
  141. {dotools_py-0.0.3 → dotools_py-0.0.4}/src/dotools_py/settings/__init__.py +0 -0
  142. {dotools_py-0.0.3 → dotools_py-0.0.4}/src/dotools_py/settings/_global_parameters.py +0 -0
  143. {dotools_py-0.0.3 → dotools_py-0.0.4}/src/dotools_py/tl/_rankGenes.py +0 -0
  144. {dotools_py-0.0.3 → dotools_py-0.0.4}/src/dotools_py/util_scripts/_run_CCA.R +0 -0
  145. {dotools_py-0.0.3 → dotools_py-0.0.4}/src/dotools_py/util_scripts/_run_CellBender.sh +0 -0
  146. {dotools_py-0.0.3 → dotools_py-0.0.4}/src/dotools_py/util_scripts/_run_edgeR.R +0 -0
  147. {dotools_py-0.0.3 → dotools_py-0.0.4}/src/dotools_py/util_scripts/_run_scDblFinder.R +0 -0
  148. {dotools_py-0.0.3 → dotools_py-0.0.4}/src/dotools_py/utility/HomoSapiens_GeneMetadata.pickle.gz +0 -0
  149. {dotools_py-0.0.3 → dotools_py-0.0.4}/src/dotools_py/utility/MusMusculus_GeneMetadata.pickle.gz +0 -0
  150. {dotools_py-0.0.3 → dotools_py-0.0.4}/tests/bm/test_bm.py +0 -0
  151. {dotools_py-0.0.3 → dotools_py-0.0.4}/tests/conftest.py +0 -0
  152. {dotools_py-0.0.3 → dotools_py-0.0.4}/tests/pp/test_complementary.py +0 -0
  153. {dotools_py-0.0.3 → dotools_py-0.0.4}/tests/utility/test_anndata.py +0 -0
  154. {dotools_py-0.0.3 → dotools_py-0.0.4}/tests/utility/test_logger.py +0 -0
@@ -1,6 +1,6 @@
1
1
  name: Feature request
2
2
  description: Propose a new feature for DOTools_py
3
- type: enhancement
3
+ type: Enhancement
4
4
  body:
5
5
  - type: textarea
6
6
  id: description
@@ -10,23 +10,24 @@ concurrency:
10
10
  group: ${{ github.workflow }}-${{ github.ref }}
11
11
  cancel-in-progress: true
12
12
 
13
- defaults:
14
- run:
15
- # to fail on error in multiline statements (-e), in pipes (-o pipefail), and on unset variables (-u).
16
- shell: bash -euo pipefail {0}
13
+ #defaults:
14
+ # run:
15
+ # # to fail on error in multiline statements (-e), in pipes (-o pipefail), and on unset variables (-u).
16
+ # shell: bash -euo pipefail {0}
17
17
 
18
18
  jobs:
19
19
  package:
20
20
  runs-on: ubuntu-latest
21
21
  steps:
22
- - uses: actions/checkout@v4
22
+ - uses: actions/checkout@v5
23
23
  with:
24
24
  filter: blob:none
25
25
  fetch-depth: 0
26
26
  - name: Install uv
27
- uses: astral-sh/setup-uv@v5
28
- with:
29
- cache-dependency-glob: pyproject.toml
27
+ #uses: astral-sh/setup-uv@v5
28
+ #with:
29
+ # cache-dependency-glob: pyproject.toml
30
+ uses: astral-sh/setup-uv@v7
30
31
  - name: Build package
31
32
  run: uv build
32
33
  - name: Check package
@@ -4,10 +4,10 @@ on:
4
4
  release:
5
5
  types: [published]
6
6
 
7
- defaults:
8
- run:
9
- # to fail on error in multiline statements (-e), in pipes (-o pipefail), and on unset variables (-u).
10
- shell: bash -euo pipefail {0}
7
+ #defaults:
8
+ # run:
9
+ # # to fail on error in multiline statements (-e), in pipes (-o pipefail), and on unset variables (-u).
10
+ # shell: bash -euo pipefail {0}
11
11
 
12
12
  # Use "trusted publishing", see https://docs.pypi.org/trusted-publishers/
13
13
  jobs:
@@ -20,14 +20,14 @@ jobs:
20
20
  permissions:
21
21
  id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
22
22
  steps:
23
- - uses: actions/checkout@v4
23
+ - uses: actions/checkout@v5
24
24
  with:
25
25
  filter: blob:none
26
26
  fetch-depth: 0
27
27
  - name: Install uv
28
- uses: astral-sh/setup-uv@v5
29
- with:
30
- cache-dependency-glob: pyproject.toml
28
+ uses: astral-sh/setup-uv@v7
29
+ #with:
30
+ # cache-dependency-glob: pyproject.toml
31
31
  - name: Build package
32
32
  run: uv build
33
33
  - name: Publish package distributions to PyPI
@@ -12,10 +12,10 @@ concurrency:
12
12
  group: ${{ github.workflow }}-${{ github.ref }}
13
13
  cancel-in-progress: true
14
14
 
15
- defaults:
16
- run:
17
- # to fail on error in multiline statements (-e), in pipes (-o pipefail), and on unset variables (-u).
18
- shell: bash -euo pipefail {0}
15
+ #defaults:
16
+ # run:
17
+ # # to fail on error in multiline statements (-e), in pipes (-o pipefail), and on unset variables (-u).
18
+ # shell: bash -euo pipefail {0}
19
19
 
20
20
  jobs:
21
21
  # Get the test environment from hatch as defined in pyproject.toml.
@@ -28,12 +28,12 @@ jobs:
28
28
  outputs:
29
29
  envs: ${{ steps.get-envs.outputs.envs }}
30
30
  steps:
31
- - uses: actions/checkout@v4
31
+ - uses: actions/checkout@v5
32
32
  with:
33
33
  filter: blob:none
34
34
  fetch-depth: 0
35
35
  - name: Install uv
36
- uses: astral-sh/setup-uv@v5
36
+ uses: astral-sh/setup-uv@v7
37
37
  - name: Get test environments
38
38
  id: get-envs
39
39
  run: |
@@ -51,6 +51,8 @@ jobs:
51
51
  # Run tests through hatch. Spawns a separate runner for each environment defined in the hatch matrix obtained above.
52
52
  test:
53
53
  needs: get-environments
54
+ permissions:
55
+ id-token: write
54
56
 
55
57
  strategy:
56
58
  fail-fast: false
@@ -60,17 +62,18 @@ jobs:
60
62
 
61
63
  name: ${{ matrix.env.label }}
62
64
  runs-on: ${{ matrix.os }}
65
+ # continue-on-error: ${{ contains(matrix.env.name, 'pre') }}
63
66
 
64
67
  steps:
65
- - uses: actions/checkout@v4
68
+ - uses: actions/checkout@v5
66
69
  with:
67
70
  filter: blob:none
68
71
  fetch-depth: 0
69
72
  - name: Install uv
70
- uses: astral-sh/setup-uv@v5
73
+ uses: astral-sh/setup-uv@v7
71
74
  with:
72
75
  python-version: ${{ matrix.env.python }}
73
- cache-dependency-glob: pyproject.toml
76
+ # cache-dependency-glob: pyproject.toml
74
77
  - name: create hatch environment
75
78
  run: uvx hatch env create ${{ matrix.env.name }}
76
79
  - name: run tests using hatch
@@ -79,10 +82,16 @@ jobs:
79
82
  PLATFORM: ${{ matrix.os }}
80
83
  DISPLAY: :42
81
84
  run: uvx hatch run ${{ matrix.env.name }}:run-cov
85
+ #run: uvx hatch run ${{ matrix.env.name }}:run-cov -v --color=yes -n auto
82
86
  - name: generate coverage report
83
87
  run: uvx hatch run ${{ matrix.env.name }}:coverage xml
88
+ #run: |
89
+ # # See https://coverage.readthedocs.io/en/latest/config.html#run-patch
90
+ # test -f .coverage || uvx hatch run ${{ matrix.env.name }}:cov-combine
91
+ # uvx hatch run ${{ matrix.env.name }}:cov-report # report visibly
92
+ # uvx hatch run ${{ matrix.env.name }}:coverage xml # create report for upload
84
93
  - name: Upload coverage reports to Codecov
85
- uses: codecov/codecov-action@v4
94
+ uses: codecov/codecov-action@v5
86
95
  with:
87
96
  token: ${{ secrets.CODECOV_TOKEN }}
88
97
 
@@ -3,7 +3,7 @@ version: 2
3
3
  submodules:
4
4
  include: all
5
5
  build:
6
- os: ubuntu-20.04
6
+ os: ubuntu-24.04
7
7
  tools:
8
8
  python: "3.11"
9
9
  sphinx:
@@ -8,6 +8,36 @@ and this project adheres to [Semantic Versioning][].
8
8
  [keep a changelog]: https://keepachangelog.com/en/1.0.0/
9
9
  [semantic versioning]: https://semver.org/spec/v2.0.0.html
10
10
 
11
+ ## Version 0.0.4 {small}`2026-06-10`
12
+
13
+ ### News
14
+ - The DoTools manuscript is published in [Bioinformatics Advances](https://doi.org/10.1093/bioadv/vbag098).
15
+
16
+ ### Features
17
+ - Add `gridsize` parameter to ``dotools_py.pl.density`` to control the number of points calculated in each dimension.
18
+ - Add spatial related functions such as ``do.io.read_visium``, ``do.dt.example_visium``,
19
+ - Rename ``do.pp.sctransform_normalize`` to ``do.pp.pearson_residuals_normalize`` allowing python and r backends.
20
+ - Improve ``do.pl.slides`` allowing to plot one or multiple slides.
21
+ - Allow basic quality control of visium 10x data in ``dotools_py.pp.importer_py`` and ``dotools_py.pp.quality_control``.
22
+ - Add extra functions to ``do.utility`` and ``do.get``
23
+ - Add ``do.tl.run_seurat_integration`` allowing both python (experimental) and r backend
24
+ - The behavior of `logcounts` changed for `do.pl.barplot()` use `estimator` instead to adapt the calculation.
25
+ - Add `logmean` to `do.get.mean_expr()` to control if the mean or log-transformed mean is returned
26
+ - Add ``do.tl.umap_clustering`` to compute neighbors, umap and clusters
27
+
28
+ ### Bug Fixes
29
+ - Fix Bug in ``dotools_py.pl.density`` related to axes ticks, colorbar and multiple feature plotting.
30
+ - Fix Bugs in the ``dotools_py.pp`` module
31
+ - Fix typo in the name of the function ``dotools_py.pl.split_embedding``
32
+ - Fix Bug in default matplotlib settings
33
+ - Fix deprecation bug in SCTransform
34
+ - Internal restructure.
35
+
36
+ ### Documentation
37
+ - Update scRNA-seq tutorial
38
+ - Add Visium tutorial
39
+ - Update citation and README
40
+
11
41
 
12
42
  ## Version 0.0.3 {small}`2026-01-30`
13
43
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: DOTools_py
3
- Version: 0.0.3
3
+ Version: 0.0.4
4
4
  Summary: Convenient functions to streamline sc/snRNAseq data analysis workflow
5
5
  Project-URL: Documentation, https://DOTools_py.readthedocs.io/
6
6
  Project-URL: Homepage, https://github.com/davidrm-bio/DOTools_py
@@ -37,8 +37,8 @@ Classifier: Programming Language :: Python :: 3.13
37
37
  Requires-Python: >=3.10
38
38
  Requires-Dist: adjusttext
39
39
  Requires-Dist: anndata>=0.9.2
40
+ Requires-Dist: appdirs
40
41
  Requires-Dist: bbknn
41
- Requires-Dist: beartype
42
42
  Requires-Dist: celltypist
43
43
  Requires-Dist: doubletdetection>=4.3
44
44
  Requires-Dist: fast-array-utils[accel,sparse]>=1.2.1; python_version >= '3.11'
@@ -53,6 +53,7 @@ Requires-Dist: pandas>=2.2.3
53
53
  Requires-Dist: polars>=1.30
54
54
  Requires-Dist: pydeseq2
55
55
  Requires-Dist: requests
56
+ Requires-Dist: rich<14
56
57
  Requires-Dist: scanorama
57
58
  Requires-Dist: scanpro
58
59
  Requires-Dist: scanpy
@@ -67,7 +68,6 @@ Requires-Dist: pre-commit; extra == 'dev'
67
68
  Requires-Dist: twine>=4.0.2; extra == 'dev'
68
69
  Provides-Extra: doc
69
70
  Requires-Dist: bbknn; extra == 'doc'
70
- Requires-Dist: beartype; extra == 'doc'
71
71
  Requires-Dist: celltypist; extra == 'doc'
72
72
  Requires-Dist: docutils!=0.18.*,!=0.19.*,>=0.8; extra == 'doc'
73
73
  Requires-Dist: doubletdetection; extra == 'doc'
@@ -99,8 +99,8 @@ Requires-Dist: tqdm; extra == 'doc'
99
99
  Provides-Extra: test
100
100
  Requires-Dist: adjusttext; extra == 'test'
101
101
  Requires-Dist: anndata; extra == 'test'
102
+ Requires-Dist: appdirs; extra == 'test'
102
103
  Requires-Dist: bbknn; extra == 'test'
103
- Requires-Dist: beartype; extra == 'test'
104
104
  Requires-Dist: celltypist; extra == 'test'
105
105
  Requires-Dist: coverage; extra == 'test'
106
106
  Requires-Dist: doubletdetection; extra == 'test'
@@ -114,6 +114,7 @@ Requires-Dist: pandas; extra == 'test'
114
114
  Requires-Dist: polars; extra == 'test'
115
115
  Requires-Dist: pyarrow; extra == 'test'
116
116
  Requires-Dist: pytest; extra == 'test'
117
+ Requires-Dist: rich<14; extra == 'test'
117
118
  Requires-Dist: scanpy; extra == 'test'
118
119
  Requires-Dist: scipy; extra == 'test'
119
120
  Requires-Dist: scvi-tools; extra == 'test'
@@ -158,19 +159,19 @@ a dedicated [conda](https://www.anaconda.com/docs/getting-started/miniconda/main
158
159
  ```bash
159
160
  conda create -n scrna_py11 python=3.11 -y
160
161
  conda activate scrna_py11
162
+ pip install uv
161
163
  ```
162
164
 
163
165
  There are several alternative options to install DOTools_py:
164
166
 
165
167
  1. Install the latest release of `DOTools_py` from [PyPI](https://pypi.org/project/DOTools-py/):
166
168
  ```bash
167
- pip install uv
168
169
  uv pip install dotools-py
169
170
  ```
170
171
 
171
172
  2. Install the latest development version:
172
173
  ```bash
173
- pip install git+https://github.com/davidrm-bio/DOTools_py.git@main
174
+ uv pip install git+https://github.com/davidrm-bio/DOTools_py.git@main
174
175
  ```
175
176
 
176
177
  Finally, to use this environment in jupyter notebook, add jupyter kernel for this environment:
@@ -237,7 +238,9 @@ Alternatively you can write to my email: [rodriguezmorales@med.uni-frankfurt.de]
237
238
 
238
239
  ## Citation
239
240
 
240
- > t.b.a
241
+ > Ruz Jurado, Mariano, David Rodriguez Morales, Lukas Zanders, Elijah Genetzakis, Stefanie Dimmeler, and David John. 2026.
242
+ > “DoTools: A Cross Platform Framework to Streamline Common Single Cell Workflows.” Bioinformatics Advances: vbag098.
243
+ > https://doi.org/10.1093/bioadv/vbag098
241
244
 
242
245
  [uv]: https://github.com/astral-sh/uv
243
246
  [scverse discourse]: https://discourse.scverse.org/
@@ -34,19 +34,19 @@ a dedicated [conda](https://www.anaconda.com/docs/getting-started/miniconda/main
34
34
  ```bash
35
35
  conda create -n scrna_py11 python=3.11 -y
36
36
  conda activate scrna_py11
37
+ pip install uv
37
38
  ```
38
39
 
39
40
  There are several alternative options to install DOTools_py:
40
41
 
41
42
  1. Install the latest release of `DOTools_py` from [PyPI](https://pypi.org/project/DOTools-py/):
42
43
  ```bash
43
- pip install uv
44
44
  uv pip install dotools-py
45
45
  ```
46
46
 
47
47
  2. Install the latest development version:
48
48
  ```bash
49
- pip install git+https://github.com/davidrm-bio/DOTools_py.git@main
49
+ uv pip install git+https://github.com/davidrm-bio/DOTools_py.git@main
50
50
  ```
51
51
 
52
52
  Finally, to use this environment in jupyter notebook, add jupyter kernel for this environment:
@@ -113,7 +113,9 @@ Alternatively you can write to my email: [rodriguezmorales@med.uni-frankfurt.de]
113
113
 
114
114
  ## Citation
115
115
 
116
- > t.b.a
116
+ > Ruz Jurado, Mariano, David Rodriguez Morales, Lukas Zanders, Elijah Genetzakis, Stefanie Dimmeler, and David John. 2026.
117
+ > “DoTools: A Cross Platform Framework to Streamline Common Single Cell Workflows.” Bioinformatics Advances: vbag098.
118
+ > https://doi.org/10.1093/bioadv/vbag098
117
119
 
118
120
  [uv]: https://github.com/astral-sh/uv
119
121
  [scverse discourse]: https://discourse.scverse.org/
@@ -12,6 +12,8 @@ heart and the dataset from PBMC from 10x used in the tutorial.
12
12
 
13
13
  dt.example_10x
14
14
  dt.example_10x_processed
15
+ dt.example_visium
16
+ dt.example_visium_processed
15
17
  ```
16
18
 
17
19
  ## Utility for heart datasets
@@ -23,6 +23,7 @@ AnnData object.
23
23
  :toctree: generated
24
24
 
25
25
  get.subset
26
+ get.subset_df
26
27
  get.pseudobulk
27
28
  get.layer_swap
28
29
  ```
@@ -10,6 +10,7 @@ The `io` module contains functions to read and save data.
10
10
  :toctree: generated
11
11
 
12
12
  io.read_h5ad
13
+ io.read_visium
13
14
  io.read_zarr
14
15
  io.read_rds
15
16
  io.save_rds
@@ -24,7 +24,7 @@ functions for enhance visualization of sc/snRNA-seq data.
24
24
  :toctree: generated
25
25
 
26
26
  pl.embedding
27
- pl.split_embeddding
27
+ pl.split_embedding
28
28
  pl.umap
29
29
  pl.density
30
30
  ```
@@ -1,11 +1,11 @@
1
1
  # Preprocessing: `pp`
2
2
 
3
3
  The preprocessing module {mod}`dotools_py.pp` compiles all the basic quality control steps for
4
- analysing sc/snRNA-seq with different implementations building on packages from the
4
+ analyzing sc/snRNA-seq and Visium with different implementations building on packages from the
5
5
  [scverse ecosystem](https://scverse.org/)
6
6
 
7
7
 
8
- ## sc/snRNA Processing
8
+ ## Processing
9
9
  ```{eval-rst}
10
10
  .. module:: dotools_py.pp
11
11
  .. currentmodule:: dotools_py
@@ -17,7 +17,7 @@ analysing sc/snRNA-seq with different implementations building on packages from
17
17
  pp.importer_py
18
18
  pp.quality_control
19
19
  pp.log_normalize
20
- pp.sctransform_normalize
20
+ pp.pearson_residuals_normalize
21
21
  pp.find_doublets
22
22
 
23
23
  ```
@@ -16,9 +16,11 @@ analysis and statistical methods.
16
16
  tl.run_scvi
17
17
  tl.run_scanvi
18
18
  tl.run_harmony
19
+ tl.run_seurat_integration
19
20
  tl.auto_annot
20
21
  tl.reclustering
21
22
  tl.full_recluster
23
+ tl.umap_clustering
22
24
  tl.go_analysis
23
25
  ```
24
26
 
@@ -15,6 +15,7 @@ the analysis.
15
15
  utility.create_report
16
16
  utility.transfer_labels
17
17
  utility.add_gene_metadata
18
+ utility.live_display
18
19
  ```
19
20
 
20
21
 
@@ -27,6 +28,7 @@ the analysis.
27
28
  utility.extended_tab20
28
29
  utility.get_hex_colormaps
29
30
  utility.spine_format
31
+ utility.tab30
30
32
  ```
31
33
 
32
34
  ## Spatial
@@ -0,0 +1,21 @@
1
+ # Citing DoTools
2
+
3
+ If you find DoTools useful, please consider citing our work as follows:
4
+
5
+ ```bibtex
6
+ @article{10.1093/bioadv/vbag098,
7
+ author = {Ruz Jurado, Mariano and Rodriguez Morales, David and Zanders, Lukas and Genetzakis, Elijah and Dimmeler, Stefanie and John, David},
8
+ title = {DoTools: a cross platform framework to streamline common single cell workflows},
9
+ journal = {Bioinformatics Advances},
10
+ pages = {vbag098},
11
+ year = {2026},
12
+ month = {04},
13
+ issn = {2635-0041},
14
+ doi = {10.1093/bioadv/vbag098},
15
+ url = {https://doi.org/10.1093/bioadv/vbag098},
16
+ eprint = {https://academic.oup.com/bioinformaticsadvances/advance-article-pdf/doi/10.1093/bioadv/vbag098/68182836/vbag098.pdf},
17
+ }
18
+ ```
19
+
20
+ If you are using any previously published tool, please also cite the original publication.
21
+ All tool specific references can be found here: {doc}`references`.
@@ -74,4 +74,4 @@ do.utility.create_report("History.log")
74
74
  ```
75
75
 
76
76
  ## Citation
77
- > t.b.a
77
+ > Ruz Jurado, Mariano, David Rodriguez Morales, Lukas Zanders, Elijah Genetzakis, Stefanie Dimmeler, and David John. 2026. “DoTools: A Cross Platform Framework to Streamline Common Single Cell Workflows.” Bioinformatics Advances: vbag098. https://doi.org/10.1093/bioadv/vbag098
@@ -6,19 +6,19 @@ a dedicated [conda](https://www.anaconda.com/docs/getting-started/miniconda/main
6
6
  ```bash
7
7
  conda create -n scrna_py11 python=3.11 -y
8
8
  conda activate scrna_py11
9
+ pip install uv
9
10
  ```
10
11
 
11
12
  There are several alternative options to install DOTools_py:
12
13
 
13
14
  1. Install the latest release of `DOTools_py` from [PyPI](https://pypi.org/project/DOTools-py/):
14
15
  ```bash
15
- pip install uv
16
16
  uv pip install dotools-py
17
17
  ```
18
18
 
19
19
  2. Install the latest development version:
20
20
  ```bash
21
- pip install git+https://github.com/davidrm-bio/DOTools_py.git@main
21
+ uv pip install git+https://github.com/davidrm-bio/DOTools_py.git@main
22
22
  ```
23
23
 
24
24
  Finally, to use this environment in jupyter notebook, add jupyter kernel for this environment: