py-ruvseq-omicverse 0.1.0__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 (59) hide show
  1. py_ruvseq_omicverse-0.1.0/ATTRIBUTION.md +33 -0
  2. py_ruvseq_omicverse-0.1.0/AUDIT.md +10 -0
  3. py_ruvseq_omicverse-0.1.0/AUDIT_AUTO.md +23 -0
  4. py_ruvseq_omicverse-0.1.0/DISCOVERY.md +11 -0
  5. py_ruvseq_omicverse-0.1.0/LICENSE +197 -0
  6. py_ruvseq_omicverse-0.1.0/MANIFEST.in +4 -0
  7. py_ruvseq_omicverse-0.1.0/PKG-INFO +260 -0
  8. py_ruvseq_omicverse-0.1.0/README.md +45 -0
  9. py_ruvseq_omicverse-0.1.0/RECONSTRUCTION_REPORT.md +18 -0
  10. py_ruvseq_omicverse-0.1.0/RELEASE.md +37 -0
  11. py_ruvseq_omicverse-0.1.0/data/groups_r.csv +4 -0
  12. py_ruvseq_omicverse-0.1.0/data/input.csv +30 -0
  13. py_ruvseq_omicverse-0.1.0/data/r_corrected.csv +30 -0
  14. py_ruvseq_omicverse-0.1.0/data/r_log_corrected.csv +30 -0
  15. py_ruvseq_omicverse-0.1.0/data/r_log_projection.csv +16 -0
  16. py_ruvseq_omicverse-0.1.0/data/r_projection.csv +16 -0
  17. py_ruvseq_omicverse-0.1.0/data/residuals.csv +30 -0
  18. py_ruvseq_omicverse-0.1.0/data/ruvg/PROVENANCE.txt +7 -0
  19. py_ruvseq_omicverse-0.1.0/data/ruvg/counts_corrected.csv +18 -0
  20. py_ruvseq_omicverse-0.1.0/data/ruvg/counts_input.csv +18 -0
  21. py_ruvseq_omicverse-0.1.0/data/ruvg/counts_projection.csv +12 -0
  22. py_ruvseq_omicverse-0.1.0/data/ruvg/dropped_corrected.csv +18 -0
  23. py_ruvseq_omicverse-0.1.0/data/ruvg/dropped_input.csv +18 -0
  24. py_ruvseq_omicverse-0.1.0/data/ruvg/dropped_projection.csv +12 -0
  25. py_ruvseq_omicverse-0.1.0/data/ruvg/logged_corrected.csv +18 -0
  26. py_ruvseq_omicverse-0.1.0/data/ruvg/logged_input.csv +18 -0
  27. py_ruvseq_omicverse-0.1.0/data/ruvg/logged_projection.csv +12 -0
  28. py_ruvseq_omicverse-0.1.0/data/ruvg/offset_corrected.csv +18 -0
  29. py_ruvseq_omicverse-0.1.0/data/ruvg/offset_input.csv +18 -0
  30. py_ruvseq_omicverse-0.1.0/data/ruvg/offset_projection.csv +12 -0
  31. py_ruvseq_omicverse-0.1.0/data/ruvg/rank_one_corrected.csv +18 -0
  32. py_ruvseq_omicverse-0.1.0/data/ruvg/rank_one_input.csv +18 -0
  33. py_ruvseq_omicverse-0.1.0/data/ruvg/rank_one_projection.csv +12 -0
  34. py_ruvseq_omicverse-0.1.0/data/ruvg/uncentered_corrected.csv +18 -0
  35. py_ruvseq_omicverse-0.1.0/data/ruvg/uncentered_input.csv +18 -0
  36. py_ruvseq_omicverse-0.1.0/data/ruvg/uncentered_projection.csv +12 -0
  37. py_ruvseq_omicverse-0.1.0/data/ruvg/unrounded_corrected.csv +18 -0
  38. py_ruvseq_omicverse-0.1.0/data/ruvg/unrounded_input.csv +18 -0
  39. py_ruvseq_omicverse-0.1.0/data/ruvg/unrounded_projection.csv +12 -0
  40. py_ruvseq_omicverse-0.1.0/data/s_corrected.csv +30 -0
  41. py_ruvseq_omicverse-0.1.0/data/s_log_corrected.csv +30 -0
  42. py_ruvseq_omicverse-0.1.0/data/s_log_projection.csv +16 -0
  43. py_ruvseq_omicverse-0.1.0/data/s_projection.csv +16 -0
  44. py_ruvseq_omicverse-0.1.0/manifest.yaml +25 -0
  45. py_ruvseq_omicverse-0.1.0/port.yaml +53 -0
  46. py_ruvseq_omicverse-0.1.0/py_ruvseq_omicverse.egg-info/PKG-INFO +260 -0
  47. py_ruvseq_omicverse-0.1.0/py_ruvseq_omicverse.egg-info/SOURCES.txt +57 -0
  48. py_ruvseq_omicverse-0.1.0/py_ruvseq_omicverse.egg-info/dependency_links.txt +1 -0
  49. py_ruvseq_omicverse-0.1.0/py_ruvseq_omicverse.egg-info/requires.txt +6 -0
  50. py_ruvseq_omicverse-0.1.0/py_ruvseq_omicverse.egg-info/top_level.txt +1 -0
  51. py_ruvseq_omicverse-0.1.0/pyproject.toml +24 -0
  52. py_ruvseq_omicverse-0.1.0/pyruvseq/__init__.py +3 -0
  53. py_ruvseq_omicverse-0.1.0/pyruvseq/_other.py +132 -0
  54. py_ruvseq_omicverse-0.1.0/pyruvseq/_ruvg.py +139 -0
  55. py_ruvseq_omicverse-0.1.0/scripts/test_installed.py +45 -0
  56. py_ruvseq_omicverse-0.1.0/setup.cfg +4 -0
  57. py_ruvseq_omicverse-0.1.0/tests/reference.R +30 -0
  58. py_ruvseq_omicverse-0.1.0/tests/test_other.py +27 -0
  59. py_ruvseq_omicverse-0.1.0/tests/test_ruvg.py +88 -0
@@ -0,0 +1,33 @@
1
+ # Attribution
2
+
3
+ Upstream RUVSeq 1.33.1, commit f560e84eb493f0c2d72279612f9e4ca99493b434.
4
+ Algorithms reconstructed from the upstream source under the accompanying LICENSE.
5
+ Upstream author declarations:
6
+
7
+ ```
8
+ Package: RUVSeq
9
+ Version: 1.33.1
10
+ Title: Remove Unwanted Variation from RNA-Seq Data
11
+ Description: This package implements the remove unwanted variation
12
+ (RUV) methods of Risso et al. (2014) for the normalization of
13
+ RNA-Seq read counts between samples.
14
+ Authors@R: c(person("Davide", "Risso", email = "risso.davide@gmail.com",
15
+ role = c("aut", "cre", "cph")),
16
+ person("Sandrine", "Dudoit", role = "aut"),
17
+ person("Lorena", "Pantano", role = "ctb"),
18
+ person("Kamil", "Slowikowski", role = "ctb"))
19
+ Author: Davide Risso [aut, cre, cph], Sandrine Dudoit [aut], Lorena Pantano [ctb], Kamil Slowikowski [ctb]
20
+ Maintainer: Davide Risso <risso.davide@gmail.com>
21
+ Date: 04-15-2014
22
+ Imports: methods, MASS
23
+ Depends: Biobase, EDASeq (>= 1.99.1), edgeR
24
+ Suggests: BiocStyle, knitr, RColorBrewer, zebrafishRNASeq, DESeq2
25
+ VignetteBuilder: knitr
26
+ License: Artistic-2.0
27
+ LazyLoad: yes
28
+ biocViews: ImmunoOncology, DifferentialExpression, Preprocessing, RNASeq, Software
29
+ URL: https://github.com/drisso/RUVSeq
30
+ BugReports: https://github.com/drisso/RUVSeq/issues
31
+ RoxygenNote: 6.0.1
32
+
33
+ ```
@@ -0,0 +1,10 @@
1
+ # Reviewed R function coverage
2
+
3
+ AUDIT_AUTO.md is generated by rebuildr. This table also handles exportPattern and comma-separated exportMethods manually.
4
+
5
+ | R export | Python | Scope |
6
+ |---|---|---|
7
+ | makeGroups | pyruvseq.make_groups | Matrix/default-path subset; see README |
8
+ | RUVg | pyruvseq.ruvg | RUVg, RUVr and RUVs matrix methods plus replicate-index construction. No EDASeq objects, automatic control selection or downstream DE. |
9
+ | RUVr | pyruvseq.ruvr | RUVg, RUVr and RUVs matrix methods plus replicate-index construction. No EDASeq objects, automatic control selection or downstream DE. |
10
+ | RUVs | pyruvseq.ruvs | RUVg, RUVr and RUVs matrix methods plus replicate-index construction. No EDASeq objects, automatic control selection or downstream DE. |
@@ -0,0 +1,23 @@
1
+ ## R function coverage audit
2
+
3
+ ### Coverage summary
4
+
5
+ | Category | Ported | Total | % |
6
+ |---|---|---|---|
7
+ | Exported R functions | 0 | 3 | 0.0% |
8
+ | Internal helpers (reachable) | 0 | 0 | 0.0% |
9
+
10
+ _Python package exposes 0 unique names._
11
+
12
+ ### Exported R functions
13
+
14
+ | R function | Python equivalent | Status |
15
+ |---|---|---|
16
+ | `RUVg` | `—` | ❌ MISSING |
17
+ | `makeGroups` | `—` | ❌ MISSING |
18
+ | `residuals` | `—` | ❌ MISSING |
19
+
20
+ ### Internal helpers reachable from exports
21
+
22
+ | R helper | File | Python equivalent | Status |
23
+ |---|---|---|---|
@@ -0,0 +1,11 @@
1
+ # Discovery: RUVSeq
2
+
3
+ Checked omicverse organization repository inventory on 2026-11-11: no standalone target port found.
4
+ Upstream commit: `f560e84eb493f0c2d72279612f9e4ca99493b434`.
5
+ Scope: RUVg, RUVr, RUVs; other package functions are excluded.
6
+
7
+ Reuse: NumPy/SciPy/pandas for matrix and SVD/NNLS operations. muscat uses existing pyedger and python-limma rather than rewriting either statistical engine.
8
+ RUVg already exists in omicverse PR #1035 and will be extracted with its reference tests rather than independently duplicated.
9
+ Nebulosa and scran pooling have external candidates and are separate reuse audits, not new ports.
10
+
11
+ Fixed numerical gates are in manifest.yaml, committed before implementation. Synthetic and real public fixtures will be distinguished. No biological accuracy claim follows from fixture-level equivalence.
@@ -0,0 +1,197 @@
1
+ Artistic License 2.0
2
+
3
+ Copyright (c) 2000-2006, The Perl Foundation.
4
+
5
+ Everyone is permitted to copy and distribute verbatim copies of this
6
+ license document, but changing it is not allowed.
7
+
8
+ Preamble
9
+ ********
10
+
11
+ This license establishes the terms under which a given free software
12
+ Package may be copied, modified, distributed, and/or redistributed. The
13
+ intent is that the Copyright Holder maintains some artistic control over
14
+ the development of that Package while still keeping the Package
15
+ available as open source and free software.
16
+
17
+ You are always permitted to make arrangements wholly outside of this
18
+ license directly with the Copyright Holder of a given Package. If the
19
+ terms of this license do not permit the full use that you propose to
20
+ make of the Package, you should contact the Copyright Holder and seek a
21
+ different licensing arrangement.
22
+
23
+ Definitions
24
+ ***********
25
+
26
+ "Copyright Holder" means the individual(s) or organization(s) named in
27
+ the copyright notice for the entire Package.
28
+
29
+ "Contributor" means any party that has contributed code or other
30
+ material to the Package, in accordance with the Copyright Holder's
31
+ procedures.
32
+
33
+ "You" and "your" means any person who would like to copy, distribute, or
34
+ modify the Package.
35
+
36
+ "Package" means the collection of files distributed by the Copyright
37
+ Holder, and derivatives of that collection and/or of those files. A
38
+ given Package may consist of either the Standard Version, or a Modified
39
+ Version.
40
+
41
+ "Distribute" means providing a copy of the Package or making it
42
+ accessible to anyone else, or in the case of a company or organization,
43
+ to others outside of your company or organization.
44
+
45
+ "Distributor Fee" means any fee that you charge for Distributing this
46
+ Package or providing support for this Package to another party. It does
47
+ not mean licensing fees.
48
+
49
+ "Standard Version" refers to the Package if it has not been modified, or
50
+ has been modified only in ways explicitly requested by the Copyright
51
+ Holder.
52
+
53
+ "Modified Version" means the Package, if it has been changed, and such
54
+ changes were not explicitly requested by the Copyright Holder.
55
+
56
+ "Original License" means this Artistic License as Distributed with the
57
+ Standard Version of the Package, in its current version or as it may be
58
+ modified by The Perl Foundation in the future.
59
+
60
+ "Source" form means the source code, documentation source, and
61
+ configuration files for the Package.
62
+
63
+ "Compiled" form means the compiled bytecode, object code, binary, or any
64
+ other form resulting from mechanical transformation or translation of
65
+ the Source form.
66
+
67
+ Permission for Use and Modification Without Distribution
68
+ ********************************************************
69
+
70
+ (1) You are permitted to use the Standard Version and create and use
71
+ Modified Versions for any purpose without restriction, provided that you
72
+ do not Distribute the Modified Version.
73
+
74
+ Permissions for Redistribution of the Standard Version
75
+ ******************************************************
76
+
77
+ (2) You may Distribute verbatim copies of the Source form of the
78
+ Standard Version of this Package in any medium without restriction,
79
+ either gratis or for a Distributor Fee, provided that you duplicate all
80
+ of the original copyright notices and associated disclaimers. At your
81
+ discretion, such verbatim copies may or may not include a Compiled form
82
+ of the Package.
83
+
84
+ (3) You may apply any bug fixes, portability changes, and other
85
+ modifications made available from the Copyright Holder. The resulting
86
+ Package will still be considered the Standard Version, and as such will
87
+ be subject to the Original License.
88
+
89
+ Distribution of Modified Versions of the Package as Source
90
+ **********************************************************
91
+
92
+ (4) You may Distribute your Modified Version as Source (either gratis or
93
+ for a Distributor Fee, and with or without a Compiled form of the
94
+ Modified Version) provided that you clearly document how it differs from
95
+ the Standard Version, including, but not limited to, documenting any
96
+ non-standard features, executables, or modules, and provided that you do
97
+ at least ONE of the following:
98
+
99
+ (a) make the Modified Version available to the Copyright Holder of the
100
+ Standard Version, under the Original License, so that the Copyright
101
+ Holder may include your modifications in the Standard Version.
102
+
103
+ (b) ensure that installation of your Modified Version does not prevent
104
+ the user installing or running the Standard Version. In addition, the
105
+ Modified Version must bear a name that is different from the name of the
106
+ Standard Version.
107
+
108
+ (c) allow anyone who receives a copy of the Modified Version to make the
109
+ Source form of the Modified Version available to others under
110
+
111
+ (i) the Original License or
112
+
113
+ (ii) a license that permits the licensee to freely copy, modify and
114
+ redistribute the Modified Version using the same licensing terms that
115
+ apply to the copy that the licensee received, and requires that the
116
+ Source form of the Modified Version, and of any works derived from it,
117
+ be made freely available in that license fees are prohibited but
118
+ Distributor Fees are allowed.
119
+
120
+ Distribution of Compiled Forms of the Standard Version or Modified
121
+ ******************************************************************
122
+ Versions without the Source
123
+ ***************************
124
+
125
+ (5) You may Distribute Compiled forms of the Standard Version without
126
+ the Source, provided that you include complete instructions on how to
127
+ get the Source of the Standard Version. Such instructions must be valid
128
+ at the time of your distribution. If these instructions, at any time
129
+ while you are carrying out such distribution, become invalid, you must
130
+ provide new instructions on demand or cease further distribution. If
131
+ you provide valid instructions or cease distribution within thirty days
132
+ after you become aware that the instructions are invalid, then you do
133
+ not forfeit any of your rights under this license.
134
+
135
+ (6) You may Distribute a Modified Version in Compiled form without the
136
+ Source, provided that you comply with Section 4 with respect to the
137
+ Source of the Modified Version.
138
+
139
+ Aggregating or Linking the Package
140
+ **********************************
141
+
142
+ (7) You may aggregate the Package (either the Standard Version or
143
+ Modified Version) with other packages and Distribute the resulting
144
+ aggregation provided that you do not charge a licensing fee for the
145
+ Package. Distributor Fees are permitted, and licensing fees for other
146
+ components in the aggregation are permitted. The terms of this license
147
+ apply to the use and Distribution of the Standard or Modified Versions
148
+ as included in the aggregation.
149
+
150
+ (8) You are permitted to link Modified and Standard Versions with other
151
+ works, to embed the Package in a larger work of your own, or to build
152
+ stand-alone binary or bytecode versions of applications that include the
153
+ Package, and Distribute the result without restriction, provided the
154
+ result does not expose a direct interface to the Package.
155
+
156
+ Items That are Not Considered Part of a Modified Version
157
+ ********************************************************
158
+
159
+ (9) Works (including, but not limited to, modules and scripts) that
160
+ merely extend or make use of the Package, do not, by themselves, cause
161
+ the Package to be a Modified Version. In addition, such works are not
162
+ considered parts of the Package itself, and are not subject to the terms
163
+ of this license.
164
+
165
+ General Provisions
166
+ ******************
167
+
168
+ (10) Any use, modification, and distribution of the Standard or Modified
169
+ Versions is governed by this Artistic License. By using, modifying or
170
+ distributing the Package, you accept this license. Do not use, modify,
171
+ or distribute the Package, if you do not accept this license.
172
+
173
+ (11) If your Modified Version has been derived from a Modified Version
174
+ made by someone other than you, you are nevertheless required to ensure
175
+ that your Modified Version complies with the requirements of this
176
+ license.
177
+
178
+ (12) This license does not grant you the right to use any trademark,
179
+ service mark, tradename, or logo of the Copyright Holder.
180
+
181
+ (13) This license includes the non-exclusive, worldwide, free-of-charge
182
+ patent license to make, have made, use, offer to sell, sell, import and
183
+ otherwise transfer the Package with respect to any patent claims
184
+ licensable by the Copyright Holder that are necessarily infringed by the
185
+ Package. If you institute patent litigation (including a cross-claim or
186
+ counterclaim) against any party alleging that the Package constitutes
187
+ direct or contributory patent infringement, then this Artistic License
188
+ to you shall terminate on the date that such litigation is filed.
189
+
190
+ (14) Disclaimer of Warranty: THE PACKAGE IS PROVIDED BY THE COPYRIGHT
191
+ HOLDER AND CONTRIBUTORS "AS IS' AND WITHOUT ANY EXPRESS OR IMPLIED
192
+ WARRANTIES. THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
193
+ PARTICULAR PURPOSE, OR NON-INFRINGEMENT ARE DISCLAIMED TO THE EXTENT
194
+ PERMITTED BY YOUR LOCAL LAW. UNLESS REQUIRED BY LAW, NO COPYRIGHT
195
+ HOLDER OR CONTRIBUTOR WILL BE LIABLE FOR ANY DIRECT, INDIRECT,
196
+ INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING IN ANY WAY OUT OF THE USE
197
+ OF THE PACKAGE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1,4 @@
1
+ include *.md *.yaml LICENSE
2
+ recursive-include tests *.py *.R
3
+ recursive-include data *.csv *.txt *.json *.npz
4
+ recursive-include scripts *.py
@@ -0,0 +1,260 @@
1
+ Metadata-Version: 2.4
2
+ Name: py-ruvseq-omicverse
3
+ Version: 0.1.0
4
+ Summary: Reference-validated py-RUVSeq algorithm subset
5
+ License: Artistic License 2.0
6
+
7
+ Copyright (c) 2000-2006, The Perl Foundation.
8
+
9
+ Everyone is permitted to copy and distribute verbatim copies of this
10
+ license document, but changing it is not allowed.
11
+
12
+ Preamble
13
+ ********
14
+
15
+ This license establishes the terms under which a given free software
16
+ Package may be copied, modified, distributed, and/or redistributed. The
17
+ intent is that the Copyright Holder maintains some artistic control over
18
+ the development of that Package while still keeping the Package
19
+ available as open source and free software.
20
+
21
+ You are always permitted to make arrangements wholly outside of this
22
+ license directly with the Copyright Holder of a given Package. If the
23
+ terms of this license do not permit the full use that you propose to
24
+ make of the Package, you should contact the Copyright Holder and seek a
25
+ different licensing arrangement.
26
+
27
+ Definitions
28
+ ***********
29
+
30
+ "Copyright Holder" means the individual(s) or organization(s) named in
31
+ the copyright notice for the entire Package.
32
+
33
+ "Contributor" means any party that has contributed code or other
34
+ material to the Package, in accordance with the Copyright Holder's
35
+ procedures.
36
+
37
+ "You" and "your" means any person who would like to copy, distribute, or
38
+ modify the Package.
39
+
40
+ "Package" means the collection of files distributed by the Copyright
41
+ Holder, and derivatives of that collection and/or of those files. A
42
+ given Package may consist of either the Standard Version, or a Modified
43
+ Version.
44
+
45
+ "Distribute" means providing a copy of the Package or making it
46
+ accessible to anyone else, or in the case of a company or organization,
47
+ to others outside of your company or organization.
48
+
49
+ "Distributor Fee" means any fee that you charge for Distributing this
50
+ Package or providing support for this Package to another party. It does
51
+ not mean licensing fees.
52
+
53
+ "Standard Version" refers to the Package if it has not been modified, or
54
+ has been modified only in ways explicitly requested by the Copyright
55
+ Holder.
56
+
57
+ "Modified Version" means the Package, if it has been changed, and such
58
+ changes were not explicitly requested by the Copyright Holder.
59
+
60
+ "Original License" means this Artistic License as Distributed with the
61
+ Standard Version of the Package, in its current version or as it may be
62
+ modified by The Perl Foundation in the future.
63
+
64
+ "Source" form means the source code, documentation source, and
65
+ configuration files for the Package.
66
+
67
+ "Compiled" form means the compiled bytecode, object code, binary, or any
68
+ other form resulting from mechanical transformation or translation of
69
+ the Source form.
70
+
71
+ Permission for Use and Modification Without Distribution
72
+ ********************************************************
73
+
74
+ (1) You are permitted to use the Standard Version and create and use
75
+ Modified Versions for any purpose without restriction, provided that you
76
+ do not Distribute the Modified Version.
77
+
78
+ Permissions for Redistribution of the Standard Version
79
+ ******************************************************
80
+
81
+ (2) You may Distribute verbatim copies of the Source form of the
82
+ Standard Version of this Package in any medium without restriction,
83
+ either gratis or for a Distributor Fee, provided that you duplicate all
84
+ of the original copyright notices and associated disclaimers. At your
85
+ discretion, such verbatim copies may or may not include a Compiled form
86
+ of the Package.
87
+
88
+ (3) You may apply any bug fixes, portability changes, and other
89
+ modifications made available from the Copyright Holder. The resulting
90
+ Package will still be considered the Standard Version, and as such will
91
+ be subject to the Original License.
92
+
93
+ Distribution of Modified Versions of the Package as Source
94
+ **********************************************************
95
+
96
+ (4) You may Distribute your Modified Version as Source (either gratis or
97
+ for a Distributor Fee, and with or without a Compiled form of the
98
+ Modified Version) provided that you clearly document how it differs from
99
+ the Standard Version, including, but not limited to, documenting any
100
+ non-standard features, executables, or modules, and provided that you do
101
+ at least ONE of the following:
102
+
103
+ (a) make the Modified Version available to the Copyright Holder of the
104
+ Standard Version, under the Original License, so that the Copyright
105
+ Holder may include your modifications in the Standard Version.
106
+
107
+ (b) ensure that installation of your Modified Version does not prevent
108
+ the user installing or running the Standard Version. In addition, the
109
+ Modified Version must bear a name that is different from the name of the
110
+ Standard Version.
111
+
112
+ (c) allow anyone who receives a copy of the Modified Version to make the
113
+ Source form of the Modified Version available to others under
114
+
115
+ (i) the Original License or
116
+
117
+ (ii) a license that permits the licensee to freely copy, modify and
118
+ redistribute the Modified Version using the same licensing terms that
119
+ apply to the copy that the licensee received, and requires that the
120
+ Source form of the Modified Version, and of any works derived from it,
121
+ be made freely available in that license fees are prohibited but
122
+ Distributor Fees are allowed.
123
+
124
+ Distribution of Compiled Forms of the Standard Version or Modified
125
+ ******************************************************************
126
+ Versions without the Source
127
+ ***************************
128
+
129
+ (5) You may Distribute Compiled forms of the Standard Version without
130
+ the Source, provided that you include complete instructions on how to
131
+ get the Source of the Standard Version. Such instructions must be valid
132
+ at the time of your distribution. If these instructions, at any time
133
+ while you are carrying out such distribution, become invalid, you must
134
+ provide new instructions on demand or cease further distribution. If
135
+ you provide valid instructions or cease distribution within thirty days
136
+ after you become aware that the instructions are invalid, then you do
137
+ not forfeit any of your rights under this license.
138
+
139
+ (6) You may Distribute a Modified Version in Compiled form without the
140
+ Source, provided that you comply with Section 4 with respect to the
141
+ Source of the Modified Version.
142
+
143
+ Aggregating or Linking the Package
144
+ **********************************
145
+
146
+ (7) You may aggregate the Package (either the Standard Version or
147
+ Modified Version) with other packages and Distribute the resulting
148
+ aggregation provided that you do not charge a licensing fee for the
149
+ Package. Distributor Fees are permitted, and licensing fees for other
150
+ components in the aggregation are permitted. The terms of this license
151
+ apply to the use and Distribution of the Standard or Modified Versions
152
+ as included in the aggregation.
153
+
154
+ (8) You are permitted to link Modified and Standard Versions with other
155
+ works, to embed the Package in a larger work of your own, or to build
156
+ stand-alone binary or bytecode versions of applications that include the
157
+ Package, and Distribute the result without restriction, provided the
158
+ result does not expose a direct interface to the Package.
159
+
160
+ Items That are Not Considered Part of a Modified Version
161
+ ********************************************************
162
+
163
+ (9) Works (including, but not limited to, modules and scripts) that
164
+ merely extend or make use of the Package, do not, by themselves, cause
165
+ the Package to be a Modified Version. In addition, such works are not
166
+ considered parts of the Package itself, and are not subject to the terms
167
+ of this license.
168
+
169
+ General Provisions
170
+ ******************
171
+
172
+ (10) Any use, modification, and distribution of the Standard or Modified
173
+ Versions is governed by this Artistic License. By using, modifying or
174
+ distributing the Package, you accept this license. Do not use, modify,
175
+ or distribute the Package, if you do not accept this license.
176
+
177
+ (11) If your Modified Version has been derived from a Modified Version
178
+ made by someone other than you, you are nevertheless required to ensure
179
+ that your Modified Version complies with the requirements of this
180
+ license.
181
+
182
+ (12) This license does not grant you the right to use any trademark,
183
+ service mark, tradename, or logo of the Copyright Holder.
184
+
185
+ (13) This license includes the non-exclusive, worldwide, free-of-charge
186
+ patent license to make, have made, use, offer to sell, sell, import and
187
+ otherwise transfer the Package with respect to any patent claims
188
+ licensable by the Copyright Holder that are necessarily infringed by the
189
+ Package. If you institute patent litigation (including a cross-claim or
190
+ counterclaim) against any party alleging that the Package constitutes
191
+ direct or contributory patent infringement, then this Artistic License
192
+ to you shall terminate on the date that such litigation is filed.
193
+
194
+ (14) Disclaimer of Warranty: THE PACKAGE IS PROVIDED BY THE COPYRIGHT
195
+ HOLDER AND CONTRIBUTORS "AS IS' AND WITHOUT ANY EXPRESS OR IMPLIED
196
+ WARRANTIES. THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
197
+ PARTICULAR PURPOSE, OR NON-INFRINGEMENT ARE DISCLAIMED TO THE EXTENT
198
+ PERMITTED BY YOUR LOCAL LAW. UNLESS REQUIRED BY LAW, NO COPYRIGHT
199
+ HOLDER OR CONTRIBUTOR WILL BE LIABLE FOR ANY DIRECT, INDIRECT,
200
+ INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING IN ANY WAY OUT OF THE USE
201
+ OF THE PACKAGE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
202
+
203
+ Project-URL: Repository, https://github.com/omicverse/py-RUVSeq
204
+ Project-URL: Issues, https://github.com/omicverse/py-RUVSeq/issues
205
+ Requires-Python: >=3.10
206
+ Description-Content-Type: text/markdown
207
+ License-File: LICENSE
208
+ License-File: ATTRIBUTION.md
209
+ Requires-Dist: numpy>=1.23
210
+ Requires-Dist: scipy>=1.10
211
+ Requires-Dist: pandas>=1.5
212
+ Provides-Extra: test
213
+ Requires-Dist: pytest>=7; extra == "test"
214
+ Dynamic: license-file
215
+
216
+ # py-RUVSeq
217
+
218
+ Review-stage Python reconstruction of a **subset** of RUVSeq, following the discovery, preregistration and reference-validation workflow in [omicverse-rebuildr](https://github.com/omicverse/omicverse-rebuildr).
219
+
220
+ RUVg, RUVr and RUVs matrix methods plus replicate-index construction. No EDASeq objects, automatic control selection or downstream DE.
221
+
222
+ ## Install and test
223
+
224
+ This project has not been published on PyPI. From this checkout:
225
+
226
+ ```bash
227
+ python -m pip install ".[test]"
228
+ python -m pytest -q
229
+ ```
230
+
231
+ ## Usage and function map
232
+
233
+ See [the executed tutorial](examples/tutorial_fixture.ipynb), [R-to-Python parameter dictionary](examples/function_by_function_R_parity.ipynb), and [complete upstream export audit](AUDIT.md).
234
+ Inputs, orientations and unsupported modes are documented in function docstrings. No R process is used at runtime.
235
+
236
+ ## Reproduce the R oracle
237
+
238
+ ```bash
239
+ git clone https://github.com/drisso/RUVSeq.git ../RUVSeq-ref
240
+ git -C ../RUVSeq-ref checkout f560e84eb493f0c2d72279612f9e4ca99493b434
241
+ Rscript tests/reference.R ../RUVSeq-ref
242
+ python -m pytest -q
243
+ ```
244
+
245
+ The runner sources the pinned upstream functions, not a rewritten R approximation. RUVSeq S4 registration is intercepted to execute only matrix methods. SPARK sparse sum/mean helpers are supplied by Matrix, with unchanged statistical functions. MuSiC and muscat functions are sourced with their R dependencies loaded. muscat's source declares R >=4.6; this selected function subset was executed on R 4.5.2, not installed as the full package.
246
+
247
+ muscat's public fixture additionally uses `Rscript tests/public_reference.R ../muscat-ref`.
248
+ All other primary fixtures are synthetic and do not establish biological accuracy. Numerical gates were committed before implementation and have not been widened.
249
+
250
+ ## Validation and limitations
251
+
252
+ 28 focused tests passed locally without skips. See [reconstruction report](RECONSTRUCTION_REPORT.md) for scope and remaining release checks. This is fixture-level equivalence, not full-domain or full-package equivalence. Runtime objects and failure messages are Python-native.
253
+
254
+ ## Citation and license
255
+
256
+ Upstream [RUVSeq](https://github.com/drisso/RUVSeq) at `f560e84eb493f0c2d72279612f9e4ca99493b434`; see ATTRIBUTION.md for upstream authors and package citation context, and LICENSE for terms.
257
+
258
+ ## Distribution preparation
259
+
260
+ The intended PyPI distribution is `py-ruvseq-omicverse`; the import remains `pyruvseq`. See [release preparation](RELEASE.md) for installed-wheel validation and the manual Trusted Publishing procedure. This preparation does not mean a PyPI release is available.
@@ -0,0 +1,45 @@
1
+ # py-RUVSeq
2
+
3
+ Review-stage Python reconstruction of a **subset** of RUVSeq, following the discovery, preregistration and reference-validation workflow in [omicverse-rebuildr](https://github.com/omicverse/omicverse-rebuildr).
4
+
5
+ RUVg, RUVr and RUVs matrix methods plus replicate-index construction. No EDASeq objects, automatic control selection or downstream DE.
6
+
7
+ ## Install and test
8
+
9
+ This project has not been published on PyPI. From this checkout:
10
+
11
+ ```bash
12
+ python -m pip install ".[test]"
13
+ python -m pytest -q
14
+ ```
15
+
16
+ ## Usage and function map
17
+
18
+ See [the executed tutorial](examples/tutorial_fixture.ipynb), [R-to-Python parameter dictionary](examples/function_by_function_R_parity.ipynb), and [complete upstream export audit](AUDIT.md).
19
+ Inputs, orientations and unsupported modes are documented in function docstrings. No R process is used at runtime.
20
+
21
+ ## Reproduce the R oracle
22
+
23
+ ```bash
24
+ git clone https://github.com/drisso/RUVSeq.git ../RUVSeq-ref
25
+ git -C ../RUVSeq-ref checkout f560e84eb493f0c2d72279612f9e4ca99493b434
26
+ Rscript tests/reference.R ../RUVSeq-ref
27
+ python -m pytest -q
28
+ ```
29
+
30
+ The runner sources the pinned upstream functions, not a rewritten R approximation. RUVSeq S4 registration is intercepted to execute only matrix methods. SPARK sparse sum/mean helpers are supplied by Matrix, with unchanged statistical functions. MuSiC and muscat functions are sourced with their R dependencies loaded. muscat's source declares R >=4.6; this selected function subset was executed on R 4.5.2, not installed as the full package.
31
+
32
+ muscat's public fixture additionally uses `Rscript tests/public_reference.R ../muscat-ref`.
33
+ All other primary fixtures are synthetic and do not establish biological accuracy. Numerical gates were committed before implementation and have not been widened.
34
+
35
+ ## Validation and limitations
36
+
37
+ 28 focused tests passed locally without skips. See [reconstruction report](RECONSTRUCTION_REPORT.md) for scope and remaining release checks. This is fixture-level equivalence, not full-domain or full-package equivalence. Runtime objects and failure messages are Python-native.
38
+
39
+ ## Citation and license
40
+
41
+ Upstream [RUVSeq](https://github.com/drisso/RUVSeq) at `f560e84eb493f0c2d72279612f9e4ca99493b434`; see ATTRIBUTION.md for upstream authors and package citation context, and LICENSE for terms.
42
+
43
+ ## Distribution preparation
44
+
45
+ The intended PyPI distribution is `py-ruvseq-omicverse`; the import remains `pyruvseq`. See [release preparation](RELEASE.md) for installed-wheel validation and the manual Trusted Publishing procedure. This preparation does not mean a PyPI release is available.
@@ -0,0 +1,18 @@
1
+ # Reconstruction report: py-RUVSeq
2
+
3
+ Date: 2026-11-11. Upstream commit: `f560e84eb493f0c2d72279612f9e4ca99493b434`. Review-stage algorithm subset, not a full release.
4
+
5
+ ## Coverage
6
+ RUVg, RUVr and RUVs matrix methods plus replicate-index construction. No EDASeq objects, automatic control selection or downstream DE.
7
+ See AUDIT.md and port.yaml for exported-function coverage, including skipped entries. No unimplemented export is marked complete.
8
+
9
+ ## Evidence
10
+ Frozen gates: manifest.yaml (committed before code). R oracle: tests/reference.R. Offline reference fixtures: data/. Focused tests: 28 passed, no skips. All four notebooks have executed outputs. Windows wheel builds succeeded. Installed-wheel tests in a fresh Python 3.12 environment passed with no skips; see fresh-validation.log.
11
+
12
+ ## Iterations
13
+ Baseline: pinned source and predetermined comparison class. Follow-up: Python candidate and invalid-input tests. SPARK-X's initial analytical-CDF shortcut failed the default R numerical gate and was replaced by Davies. muscat's initial default backend call differed in dispersion selection and was corrected from the R namespace evidence. No tolerance was relaxed. No acceleration or biological-accuracy claim is made.
14
+
15
+ ![Validation evolution](examples/evolution.png)
16
+
17
+ ## Limitations and release status
18
+ This covers the listed paths only. RUVSeq objects, SPARK GLMMs, MuSiC2 and muscat mixed models remain excluded. Synthetic fixtures are identified as such; muscat additionally runs the public Kang subset distributed by its pinned source. PyPI publication and a full rebuildr release are not claimed. The notebook parameter dictionary and coverage audit support review; installed-R full-package testing is distinct from executing selected upstream R functions.
@@ -0,0 +1,37 @@
1
+ # Release preparation
2
+
3
+ Distribution: `py-ruvseq-omicverse`. Python import: `pyruvseq`. Candidate: `0.1.0`.
4
+ These names intentionally differ. Preparation does not establish a PyPI release.
5
+
6
+ ## Validation
7
+
8
+ `python -m build` produces a source archive and builds the wheel from that archive.
9
+ The source archive includes reference fixtures, R runners, attribution and scope documentation.
10
+ CI installs the wheel and executes the existing reference tests outside the checkout:
11
+
12
+ ```bash
13
+ python -m pip install build twine
14
+ python -m build
15
+ python -m twine check --strict dist/*
16
+ python -m pip install dist/*.whl pytest
17
+ python -m pip check
18
+ python -I scripts/test_installed.py --sdist dist/*.tar.gz --module pyruvseq --distribution py-ruvseq-omicverse
19
+ ```
20
+
21
+ ## First publication
22
+
23
+ 1. Review and merge the implementation and release-preparation changes into `main`.
24
+ 2. In the intended PyPI account, configure a pending Trusted Publisher:
25
+ project `py-ruvseq-omicverse`, GitHub owner `omicverse`, repository `py-RUVSeq`,
26
+ workflow `publish.yml`, environment `pypi`.
27
+ 3. Configure the corresponding GitHub `pypi` environment. GitHub repository
28
+ access alone does not establish PyPI project ownership. Do not share tokens in issues.
29
+ 4. Explicitly dispatch **Publish to PyPI** on `main`, with version `0.1.0`.
30
+ Pushes, pull requests and tags do not trigger publication. The workflow checks
31
+ the version, rebuilds and tests distributions before publishing via OIDC.
32
+ 5. In a new environment, install `py-ruvseq-omicverse==0.1.0` from PyPI, verify the
33
+ downloaded artifact and rerun the reference tests. Only then update OmicVerse
34
+ installation hints and tested version pins.
35
+
36
+ A successful build is not a public release. No full-package R equivalence or
37
+ biological accuracy claim is added by these packaging checks.
@@ -0,0 +1,4 @@
1
+ 1,2,3,4
2
+ 5,6,7,8
3
+ 9,10,11,12
4
+ 13,14,15,16