threadfin 4.5.2__tar.gz → 4.5.3__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 (64) hide show
  1. {threadfin-4.5.2 → threadfin-4.5.3}/PKG-INFO +5 -4
  2. {threadfin-4.5.2 → threadfin-4.5.3}/README.md +3 -2
  3. {threadfin-4.5.2 → threadfin-4.5.3}/pyproject.toml +6 -3
  4. {threadfin-4.5.2 → threadfin-4.5.3}/threadfin/__init__.py +1 -1
  5. {threadfin-4.5.2 → threadfin-4.5.3}/threadfin.egg-info/PKG-INFO +5 -4
  6. {threadfin-4.5.2 → threadfin-4.5.3}/threadfin.egg-info/requires.txt +1 -1
  7. {threadfin-4.5.2 → threadfin-4.5.3}/LICENSE +0 -0
  8. {threadfin-4.5.2 → threadfin-4.5.3}/setup.cfg +0 -0
  9. {threadfin-4.5.2 → threadfin-4.5.3}/tests/test_api_reference.py +0 -0
  10. {threadfin-4.5.2 → threadfin-4.5.3}/tests/test_bcrgraph_clones.py +0 -0
  11. {threadfin-4.5.2 → threadfin-4.5.3}/tests/test_bone_marrow_design.py +0 -0
  12. {threadfin-4.5.2 → threadfin-4.5.3}/tests/test_case_study_signatures.py +0 -0
  13. {threadfin-4.5.2 → threadfin-4.5.3}/tests/test_clone_state_sharing.py +0 -0
  14. {threadfin-4.5.2 → threadfin-4.5.3}/tests/test_clones_v3.py +0 -0
  15. {threadfin-4.5.2 → threadfin-4.5.3}/tests/test_dandelion_adapter.py +0 -0
  16. {threadfin-4.5.2 → threadfin-4.5.3}/tests/test_density.py +0 -0
  17. {threadfin-4.5.2 → threadfin-4.5.3}/tests/test_ebv_contig_matching.py +0 -0
  18. {threadfin-4.5.2 → threadfin-4.5.3}/tests/test_export.py +0 -0
  19. {threadfin-4.5.2 → threadfin-4.5.3}/tests/test_integrate.py +0 -0
  20. {threadfin-4.5.2 → threadfin-4.5.3}/tests/test_io.py +0 -0
  21. {threadfin-4.5.2 → threadfin-4.5.3}/tests/test_maptune.py +0 -0
  22. {threadfin-4.5.2 → threadfin-4.5.3}/tests/test_migration.py +0 -0
  23. {threadfin-4.5.2 → threadfin-4.5.3}/tests/test_parallel_and_robustness.py +0 -0
  24. {threadfin-4.5.2 → threadfin-4.5.3}/tests/test_phylo.py +0 -0
  25. {threadfin-4.5.2 → threadfin-4.5.3}/tests/test_profile_reproducibility.py +0 -0
  26. {threadfin-4.5.2 → threadfin-4.5.3}/tests/test_programs.py +0 -0
  27. {threadfin-4.5.2 → threadfin-4.5.3}/tests/test_reclustering_presets.py +0 -0
  28. {threadfin-4.5.2 → threadfin-4.5.3}/tests/test_release_metadata.py +0 -0
  29. {threadfin-4.5.2 → threadfin-4.5.3}/tests/test_sequence_v2.py +0 -0
  30. {threadfin-4.5.2 → threadfin-4.5.3}/tests/test_specificity.py +0 -0
  31. {threadfin-4.5.2 → threadfin-4.5.3}/tests/test_threadfin.py +0 -0
  32. {threadfin-4.5.2 → threadfin-4.5.3}/tests/test_user_inputs.py +0 -0
  33. {threadfin-4.5.2 → threadfin-4.5.3}/tests/test_v4_core.py +0 -0
  34. {threadfin-4.5.2 → threadfin-4.5.3}/threadfin/_utils.py +0 -0
  35. {threadfin-4.5.2 → threadfin-4.5.3}/threadfin/api.py +0 -0
  36. {threadfin-4.5.2 → threadfin-4.5.3}/threadfin/bcrgraph.py +0 -0
  37. {threadfin-4.5.2 → threadfin-4.5.3}/threadfin/clones.py +0 -0
  38. {threadfin-4.5.2 → threadfin-4.5.3}/threadfin/core.py +0 -0
  39. {threadfin-4.5.2 → threadfin-4.5.3}/threadfin/dandelion.py +0 -0
  40. {threadfin-4.5.2 → threadfin-4.5.3}/threadfin/density.py +0 -0
  41. {threadfin-4.5.2 → threadfin-4.5.3}/threadfin/dynamics.py +0 -0
  42. {threadfin-4.5.2 → threadfin-4.5.3}/threadfin/export.py +0 -0
  43. {threadfin-4.5.2 → threadfin-4.5.3}/threadfin/expression.py +0 -0
  44. {threadfin-4.5.2 → threadfin-4.5.3}/threadfin/heritability.py +0 -0
  45. {threadfin-4.5.2 → threadfin-4.5.3}/threadfin/integrate.py +0 -0
  46. {threadfin-4.5.2 → threadfin-4.5.3}/threadfin/io.py +0 -0
  47. {threadfin-4.5.2 → threadfin-4.5.3}/threadfin/maptune.py +0 -0
  48. {threadfin-4.5.2 → threadfin-4.5.3}/threadfin/metrics.py +0 -0
  49. {threadfin-4.5.2 → threadfin-4.5.3}/threadfin/migration.py +0 -0
  50. {threadfin-4.5.2 → threadfin-4.5.3}/threadfin/phylo.py +0 -0
  51. {threadfin-4.5.2 → threadfin-4.5.3}/threadfin/plotting.py +0 -0
  52. {threadfin-4.5.2 → threadfin-4.5.3}/threadfin/pp.py +0 -0
  53. {threadfin-4.5.2 → threadfin-4.5.3}/threadfin/profiles.py +0 -0
  54. {threadfin-4.5.2 → threadfin-4.5.3}/threadfin/programmes.py +0 -0
  55. {threadfin-4.5.2 → threadfin-4.5.3}/threadfin/programs.py +0 -0
  56. {threadfin-4.5.2 → threadfin-4.5.3}/threadfin/reclustering.py +0 -0
  57. {threadfin-4.5.2 → threadfin-4.5.3}/threadfin/sequence.py +0 -0
  58. {threadfin-4.5.2 → threadfin-4.5.3}/threadfin/simulate.py +0 -0
  59. {threadfin-4.5.2 → threadfin-4.5.3}/threadfin/specificity.py +0 -0
  60. {threadfin-4.5.2 → threadfin-4.5.3}/threadfin/stats.py +0 -0
  61. {threadfin-4.5.2 → threadfin-4.5.3}/threadfin/tl.py +0 -0
  62. {threadfin-4.5.2 → threadfin-4.5.3}/threadfin.egg-info/SOURCES.txt +0 -0
  63. {threadfin-4.5.2 → threadfin-4.5.3}/threadfin.egg-info/dependency_links.txt +0 -0
  64. {threadfin-4.5.2 → threadfin-4.5.3}/threadfin.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: threadfin
3
- Version: 4.5.2
3
+ Version: 4.5.3
4
4
  Summary: Relationships between B-cell clones from paired single-cell RNA and BCR sequencing: clone embeddings, clonal coherence, clonal programmes, clone-level tests and clonal memory
5
5
  Author-email: Chen Satoshi <103236530+Reynold4k@users.noreply.github.com>
6
6
  License: MIT
@@ -33,7 +33,7 @@ Requires-Dist: matplotlib>=3.7
33
33
  Requires-Dist: igraph>=0.10
34
34
  Requires-Dist: leidenalg>=0.10
35
35
  Requires-Dist: umap-learn>=0.5.5
36
- Requires-Dist: pynndescent>=0.5.8
36
+ Requires-Dist: pynndescent<0.7,>=0.5.8
37
37
  Requires-Dist: harmonypy>=0.0.9; platform_system != "Windows"
38
38
  Requires-Dist: harmonypy<2,>=0.0.9; platform_system == "Windows"
39
39
  Provides-Extra: dandelion
@@ -78,12 +78,13 @@ distribution of its cells' transcriptional states, so that clones, not cells, ca
78
78
 
79
79
  ```bash
80
80
  pip install threadfin # Python 3.10–3.14 on Linux, macOS or Windows; no GPU or R needed
81
- pip install "threadfin[dandelion]" # also installs Dandelion (0.5.x), to call clones from BCR or TCR contigs
81
+ pip install "threadfin[dandelion]" # also installs Dandelion (0.5.x), to call clones from BCR or TCR contigs; Python 3.10–3.12
82
82
  ```
83
83
 
84
84
  Scanpy, Leiden, UMAP and Harmony are installed with it. Dandelion's clone calls depend on Python's hash seed:
85
85
  start Python with `PYTHONHASHSEED=0` when clone ids must be identical run after run. Threadfin is validated with
86
- Dandelion 0.5.x; Dandelion 1.0 (October 2026) calls clones differently, so the extra installs `sc-dandelion<1`. The development version
86
+ Dandelion 0.5.x; Dandelion 1.0 (October 2026) calls clones differently, so the extra installs `sc-dandelion<1`,
87
+ with matplotlib < 3.9 (which Dandelion 0.5 needs, and which has no packages for Python 3.13 or later). The development version
87
88
  installs with `pip install "git+https://github.com/Reynold4k/Threadfin.git"`.
88
89
 
89
90
  ### 2. Run
@@ -24,12 +24,13 @@ distribution of its cells' transcriptional states, so that clones, not cells, ca
24
24
 
25
25
  ```bash
26
26
  pip install threadfin # Python 3.10–3.14 on Linux, macOS or Windows; no GPU or R needed
27
- pip install "threadfin[dandelion]" # also installs Dandelion (0.5.x), to call clones from BCR or TCR contigs
27
+ pip install "threadfin[dandelion]" # also installs Dandelion (0.5.x), to call clones from BCR or TCR contigs; Python 3.10–3.12
28
28
  ```
29
29
 
30
30
  Scanpy, Leiden, UMAP and Harmony are installed with it. Dandelion's clone calls depend on Python's hash seed:
31
31
  start Python with `PYTHONHASHSEED=0` when clone ids must be identical run after run. Threadfin is validated with
32
- Dandelion 0.5.x; Dandelion 1.0 (October 2026) calls clones differently, so the extra installs `sc-dandelion<1`. The development version
32
+ Dandelion 0.5.x; Dandelion 1.0 (October 2026) calls clones differently, so the extra installs `sc-dandelion<1`,
33
+ with matplotlib < 3.9 (which Dandelion 0.5 needs, and which has no packages for Python 3.13 or later). The development version
33
34
  installs with `pip install "git+https://github.com/Reynold4k/Threadfin.git"`.
34
35
 
35
36
  ### 2. Run
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "threadfin"
7
- version = "4.5.2"
7
+ version = "4.5.3"
8
8
  description = "Relationships between B-cell clones from paired single-cell RNA and BCR sequencing: clone embeddings, clonal coherence, clonal programmes, clone-level tests and clonal memory"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10"
@@ -37,14 +37,17 @@ dependencies = [
37
37
  "igraph>=0.10",
38
38
  "leidenalg>=0.10",
39
39
  "umap-learn>=0.5.5", # older releases import pkg_resources, absent from new environments
40
- "pynndescent>=0.5.8", # likewise
40
+ # likewise; 0.7 (2026-10-27) returns sparse arrays that scanpy's neighbour search cannot read, and finds
41
+ # different approximate neighbours, so new installations would no longer reproduce the validated results
42
+ "pynndescent>=0.5.8,<0.7",
41
43
  "harmonypy>=0.0.9; platform_system != 'Windows'",
42
44
  # harmonypy 2.x ships no Windows wheels and does not compile with MSVC; 0.2 and earlier are pure Python
43
45
  "harmonypy>=0.0.9,<2; platform_system == 'Windows'",
44
46
  ]
45
47
 
46
48
  [project.optional-dependencies]
47
- # clone definition with Dandelion; sc-dandelion 0.5.7 uses matplotlib.cm.get_cmap, removed in matplotlib 3.9.
49
+ # clone definition with Dandelion; sc-dandelion 0.5.7 imports nxviz, which uses matplotlib.cm.get_cmap, removed in
50
+ # matplotlib 3.9. matplotlib < 3.9 has wheels only for Python <= 3.12, so the extra needs Python 3.10-3.12.
48
51
  # sc-dandelion 1.0 (2026-10-25) calls clones differently and is not yet validated, hence < 1.
49
52
  dandelion = ["sc-dandelion>=0.5.7,<1", "matplotlib>=3.7,<3.9"]
50
53
  seq = ["parasail>=1.3"] # faster CDR3 alignment for the legacy v3 functions
@@ -39,7 +39,7 @@ from .programs import community_markers, community_score # noqa: E402
39
39
  from .reclustering import reclustering_presets # noqa: E402
40
40
  from .specificity import annotate_specificity, specificity_enrichment # noqa: E402
41
41
 
42
- __version__ = "4.5.2"
42
+ __version__ = "4.5.3"
43
43
  __all__ = [
44
44
  "ThreadfinResult",
45
45
  "DensityResult",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: threadfin
3
- Version: 4.5.2
3
+ Version: 4.5.3
4
4
  Summary: Relationships between B-cell clones from paired single-cell RNA and BCR sequencing: clone embeddings, clonal coherence, clonal programmes, clone-level tests and clonal memory
5
5
  Author-email: Chen Satoshi <103236530+Reynold4k@users.noreply.github.com>
6
6
  License: MIT
@@ -33,7 +33,7 @@ Requires-Dist: matplotlib>=3.7
33
33
  Requires-Dist: igraph>=0.10
34
34
  Requires-Dist: leidenalg>=0.10
35
35
  Requires-Dist: umap-learn>=0.5.5
36
- Requires-Dist: pynndescent>=0.5.8
36
+ Requires-Dist: pynndescent<0.7,>=0.5.8
37
37
  Requires-Dist: harmonypy>=0.0.9; platform_system != "Windows"
38
38
  Requires-Dist: harmonypy<2,>=0.0.9; platform_system == "Windows"
39
39
  Provides-Extra: dandelion
@@ -78,12 +78,13 @@ distribution of its cells' transcriptional states, so that clones, not cells, ca
78
78
 
79
79
  ```bash
80
80
  pip install threadfin # Python 3.10–3.14 on Linux, macOS or Windows; no GPU or R needed
81
- pip install "threadfin[dandelion]" # also installs Dandelion (0.5.x), to call clones from BCR or TCR contigs
81
+ pip install "threadfin[dandelion]" # also installs Dandelion (0.5.x), to call clones from BCR or TCR contigs; Python 3.10–3.12
82
82
  ```
83
83
 
84
84
  Scanpy, Leiden, UMAP and Harmony are installed with it. Dandelion's clone calls depend on Python's hash seed:
85
85
  start Python with `PYTHONHASHSEED=0` when clone ids must be identical run after run. Threadfin is validated with
86
- Dandelion 0.5.x; Dandelion 1.0 (October 2026) calls clones differently, so the extra installs `sc-dandelion<1`. The development version
86
+ Dandelion 0.5.x; Dandelion 1.0 (October 2026) calls clones differently, so the extra installs `sc-dandelion<1`,
87
+ with matplotlib < 3.9 (which Dandelion 0.5 needs, and which has no packages for Python 3.13 or later). The development version
87
88
  installs with `pip install "git+https://github.com/Reynold4k/Threadfin.git"`.
88
89
 
89
90
  ### 2. Run
@@ -9,7 +9,7 @@ matplotlib>=3.7
9
9
  igraph>=0.10
10
10
  leidenalg>=0.10
11
11
  umap-learn>=0.5.5
12
- pynndescent>=0.5.8
12
+ pynndescent<0.7,>=0.5.8
13
13
 
14
14
  [:platform_system != "Windows"]
15
15
  harmonypy>=0.0.9
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes