rectanglepy 0.5.4__tar.gz → 1.2.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.
- {rectanglepy-0.5.4 → rectanglepy-1.2.0}/.bumpversion.cfg +1 -1
- {rectanglepy-0.5.4 → rectanglepy-1.2.0}/.gitignore +1 -0
- rectanglepy-1.2.0/CHANGELOG.md +29 -0
- {rectanglepy-0.5.4 → rectanglepy-1.2.0}/LICENSE +68 -81
- {rectanglepy-0.5.4 → rectanglepy-1.2.0}/PKG-INFO +79 -91
- {rectanglepy-0.5.4 → rectanglepy-1.2.0}/README.md +8 -8
- rectanglepy-1.2.0/docs/contributing.md +14 -0
- {rectanglepy-0.5.4 → rectanglepy-1.2.0}/docs/index.md +2 -1
- rectanglepy-1.2.0/docs/installation.md +11 -0
- rectanglepy-1.2.0/docs/notebooks/example.ipynb +1131 -0
- rectanglepy-1.2.0/docs/references.bib +95 -0
- rectanglepy-1.2.0/docs/tutorials.md +13 -0
- {rectanglepy-0.5.4 → rectanglepy-1.2.0}/pyproject.toml +3 -2
- {rectanglepy-0.5.4 → rectanglepy-1.2.0}/src/rectanglepy/pp/create_signature.py +0 -3
- {rectanglepy-0.5.4 → rectanglepy-1.2.0}/src/rectanglepy/pp/rectangle_signature.py +28 -0
- {rectanglepy-0.5.4 → rectanglepy-1.2.0}/src/rectanglepy/tl/deconvolution.py +91 -31
- {rectanglepy-0.5.4 → rectanglepy-1.2.0}/tests/test_rectangle.py +11 -0
- rectanglepy-0.5.4/CHANGELOG.md +0 -40
- rectanglepy-0.5.4/docs/contributing.md +0 -123
- rectanglepy-0.5.4/docs/notebooks/example.ipynb +0 -775
- rectanglepy-0.5.4/docs/references.bib +0 -17
- {rectanglepy-0.5.4 → rectanglepy-1.2.0}/.cruft.json +0 -0
- {rectanglepy-0.5.4 → rectanglepy-1.2.0}/.editorconfig +0 -0
- {rectanglepy-0.5.4 → rectanglepy-1.2.0}/.github/ISSUE_TEMPLATE/bug_report.yml +0 -0
- {rectanglepy-0.5.4 → rectanglepy-1.2.0}/.github/ISSUE_TEMPLATE/config.yml +0 -0
- {rectanglepy-0.5.4 → rectanglepy-1.2.0}/.github/ISSUE_TEMPLATE/feature_request.yml +0 -0
- {rectanglepy-0.5.4 → rectanglepy-1.2.0}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
- {rectanglepy-0.5.4 → rectanglepy-1.2.0}/.github/workflows/build.yaml +0 -0
- {rectanglepy-0.5.4 → rectanglepy-1.2.0}/.github/workflows/release.yaml +0 -0
- {rectanglepy-0.5.4 → rectanglepy-1.2.0}/.github/workflows/release_testpypi.yaml +0 -0
- {rectanglepy-0.5.4 → rectanglepy-1.2.0}/.github/workflows/test.yaml +0 -0
- {rectanglepy-0.5.4 → rectanglepy-1.2.0}/.pre-commit-config.yaml +0 -0
- {rectanglepy-0.5.4 → rectanglepy-1.2.0}/.readthedocs.yaml +0 -0
- {rectanglepy-0.5.4 → rectanglepy-1.2.0}/docs/Makefile +0 -0
- {rectanglepy-0.5.4 → rectanglepy-1.2.0}/docs/_static/.gitkeep +0 -0
- {rectanglepy-0.5.4 → rectanglepy-1.2.0}/docs/_static/rec_logo.001.png +0 -0
- {rectanglepy-0.5.4 → rectanglepy-1.2.0}/docs/_templates/.gitkeep +0 -0
- {rectanglepy-0.5.4 → rectanglepy-1.2.0}/docs/_templates/autosummary/class.rst +0 -0
- {rectanglepy-0.5.4 → rectanglepy-1.2.0}/docs/api.md +0 -0
- {rectanglepy-0.5.4 → rectanglepy-1.2.0}/docs/changelog.md +0 -0
- {rectanglepy-0.5.4 → rectanglepy-1.2.0}/docs/conf.py +0 -0
- {rectanglepy-0.5.4 → rectanglepy-1.2.0}/docs/extensions/typed_returns.py +0 -0
- {rectanglepy-0.5.4 → rectanglepy-1.2.0}/docs/make.bat +0 -0
- {rectanglepy-0.5.4 → rectanglepy-1.2.0}/docs/references.md +0 -0
- {rectanglepy-0.5.4 → rectanglepy-1.2.0}/src/rectanglepy/__init__.py +0 -0
- {rectanglepy-0.5.4 → rectanglepy-1.2.0}/src/rectanglepy/data/hao1_annotations_small.zip +0 -0
- {rectanglepy-0.5.4 → rectanglepy-1.2.0}/src/rectanglepy/data/hao1_counts_small.zip +0 -0
- {rectanglepy-0.5.4 → rectanglepy-1.2.0}/src/rectanglepy/data/small_fino_bulks.zip +0 -0
- {rectanglepy-0.5.4 → rectanglepy-1.2.0}/src/rectanglepy/pp/__init__.py +0 -0
- {rectanglepy-0.5.4 → rectanglepy-1.2.0}/src/rectanglepy/rectangle.py +0 -0
- {rectanglepy-0.5.4 → rectanglepy-1.2.0}/src/rectanglepy/tl/__init__.py +0 -0
- {rectanglepy-0.5.4 → rectanglepy-1.2.0}/tests/data/TIL10_signature.txt +0 -0
- {rectanglepy-0.5.4 → rectanglepy-1.2.0}/tests/data/bulk_small.csv +0 -0
- {rectanglepy-0.5.4 → rectanglepy-1.2.0}/tests/data/cell_annotations_small.txt +0 -0
- {rectanglepy-0.5.4 → rectanglepy-1.2.0}/tests/data/quanTIseq_SimRNAseq_mixture_smaller.csv +0 -0
- {rectanglepy-0.5.4 → rectanglepy-1.2.0}/tests/data/quanTIseq_SimRNAseq_read_fractions_small.txt +0 -0
- {rectanglepy-0.5.4 → rectanglepy-1.2.0}/tests/data/sc_object_small.csv +0 -0
- {rectanglepy-0.5.4 → rectanglepy-1.2.0}/tests/data/signature_hao1.csv +0 -0
- {rectanglepy-0.5.4 → rectanglepy-1.2.0}/tests/test_pp.py +0 -0
- {rectanglepy-0.5.4 → rectanglepy-1.2.0}/tests/test_tl.py +0 -0
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog][],
|
|
6
|
+
and this project adheres to [Semantic Versioning][].
|
|
7
|
+
|
|
8
|
+
[keep a changelog]: https://keepachangelog.com/en/1.0.0/
|
|
9
|
+
[semantic versioning]: https://semver.org/spec/v2.0.0.html
|
|
10
|
+
|
|
11
|
+
## [Unreleased]
|
|
12
|
+
|
|
13
|
+
## [1.2.0] - 2026-01-31
|
|
14
|
+
|
|
15
|
+
### Changed
|
|
16
|
+
|
|
17
|
+
- Switched the quadratic programming solver from quadprog to OSQP.
|
|
18
|
+
|
|
19
|
+
## [1.0.0] - 2025-08-14
|
|
20
|
+
|
|
21
|
+
### Added
|
|
22
|
+
|
|
23
|
+
- Public release of Rectangle with full core functionalities and documentation for cell-type deconvolution.
|
|
24
|
+
|
|
25
|
+
## [0.1.0] - 2024-04-25
|
|
26
|
+
|
|
27
|
+
### Added
|
|
28
|
+
|
|
29
|
+
- Initial public release of Rectangle.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
GNU GENERAL PUBLIC LICENSE
|
|
2
|
-
Version 3,
|
|
1
|
+
GNU AFFERO GENERAL PUBLIC LICENSE
|
|
2
|
+
Version 3, 19 November 2007
|
|
3
3
|
|
|
4
4
|
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
|
5
5
|
Everyone is permitted to copy and distribute verbatim copies
|
|
@@ -7,17 +7,15 @@
|
|
|
7
7
|
|
|
8
8
|
Preamble
|
|
9
9
|
|
|
10
|
-
The GNU General Public License is a free, copyleft license for
|
|
11
|
-
software and other kinds of works
|
|
10
|
+
The GNU Affero General Public License is a free, copyleft license for
|
|
11
|
+
software and other kinds of works, specifically designed to ensure
|
|
12
|
+
cooperation with the community in the case of network server software.
|
|
12
13
|
|
|
13
14
|
The licenses for most software and other practical works are designed
|
|
14
15
|
to take away your freedom to share and change the works. By contrast,
|
|
15
|
-
|
|
16
|
+
our General Public Licenses are intended to guarantee your freedom to
|
|
16
17
|
share and change all versions of a program--to make sure it remains free
|
|
17
|
-
software for all its users.
|
|
18
|
-
GNU General Public License for most of our software; it applies also to
|
|
19
|
-
any other work released this way by its authors. You can apply it to
|
|
20
|
-
your programs, too.
|
|
18
|
+
software for all its users.
|
|
21
19
|
|
|
22
20
|
When we speak of free software, we are referring to freedom, not
|
|
23
21
|
price. Our General Public Licenses are designed to make sure that you
|
|
@@ -26,44 +24,34 @@ them if you wish), that you receive source code or can get it if you
|
|
|
26
24
|
want it, that you can change the software or use pieces of it in new
|
|
27
25
|
free programs, and that you know you can do these things.
|
|
28
26
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
that
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
products. If such problems arise substantially in other domains, we
|
|
58
|
-
stand ready to extend this provision to those domains in future versions
|
|
59
|
-
of the GPL, as needed to protect the freedom of users.
|
|
60
|
-
|
|
61
|
-
Finally, every program is threatened constantly by software patents.
|
|
62
|
-
States should not allow patents to restrict development and use of
|
|
63
|
-
software on general-purpose computers, but in those that do, we wish to
|
|
64
|
-
avoid the special danger that patents applied to a free program could
|
|
65
|
-
make it effectively proprietary. To prevent this, the GPL assures that
|
|
66
|
-
patents cannot be used to render the program non-free.
|
|
27
|
+
Developers that use our General Public Licenses protect your rights
|
|
28
|
+
with two steps: (1) assert copyright on the software, and (2) offer
|
|
29
|
+
you this License which gives you legal permission to copy, distribute
|
|
30
|
+
and/or modify the software.
|
|
31
|
+
|
|
32
|
+
A secondary benefit of defending all users' freedom is that
|
|
33
|
+
improvements made in alternate versions of the program, if they
|
|
34
|
+
receive widespread use, become available for other developers to
|
|
35
|
+
incorporate. Many developers of free software are heartened and
|
|
36
|
+
encouraged by the resulting cooperation. However, in the case of
|
|
37
|
+
software used on network servers, this result may fail to come about.
|
|
38
|
+
The GNU General Public License permits making a modified version and
|
|
39
|
+
letting the public access it on a server without ever releasing its
|
|
40
|
+
source code to the public.
|
|
41
|
+
|
|
42
|
+
The GNU Affero General Public License is designed specifically to
|
|
43
|
+
ensure that, in such cases, the modified source code becomes available
|
|
44
|
+
to the community. It requires the operator of a network server to
|
|
45
|
+
provide the source code of the modified version running there to the
|
|
46
|
+
users of that server. Therefore, public use of a modified version, on
|
|
47
|
+
a publicly accessible server, gives the public access to the source
|
|
48
|
+
code of the modified version.
|
|
49
|
+
|
|
50
|
+
An older license, called the Affero General Public License and
|
|
51
|
+
published by Affero, was designed to accomplish similar goals. This is
|
|
52
|
+
a different license, not a version of the Affero GPL, but Affero has
|
|
53
|
+
released a new version of the Affero GPL which permits relicensing under
|
|
54
|
+
this license.
|
|
67
55
|
|
|
68
56
|
The precise terms and conditions for copying, distribution and
|
|
69
57
|
modification follow.
|
|
@@ -72,7 +60,7 @@ modification follow.
|
|
|
72
60
|
|
|
73
61
|
0. Definitions.
|
|
74
62
|
|
|
75
|
-
"This License" refers to version 3 of the GNU General Public License.
|
|
63
|
+
"This License" refers to version 3 of the GNU Affero General Public License.
|
|
76
64
|
|
|
77
65
|
"Copyright" also means copyright-like laws that apply to other kinds of
|
|
78
66
|
works, such as semiconductor masks.
|
|
@@ -549,35 +537,45 @@ to collect a royalty for further conveying from those to whom you convey
|
|
|
549
537
|
the Program, the only way you could satisfy both those terms and this
|
|
550
538
|
License would be to refrain entirely from conveying the Program.
|
|
551
539
|
|
|
552
|
-
13. Use with the GNU
|
|
540
|
+
13. Remote Network Interaction; Use with the GNU General Public License.
|
|
541
|
+
|
|
542
|
+
Notwithstanding any other provision of this License, if you modify the
|
|
543
|
+
Program, your modified version must prominently offer all users
|
|
544
|
+
interacting with it remotely through a computer network (if your version
|
|
545
|
+
supports such interaction) an opportunity to receive the Corresponding
|
|
546
|
+
Source of your version by providing access to the Corresponding Source
|
|
547
|
+
from a network server at no charge, through some standard or customary
|
|
548
|
+
means of facilitating copying of software. This Corresponding Source
|
|
549
|
+
shall include the Corresponding Source for any work covered by version 3
|
|
550
|
+
of the GNU General Public License that is incorporated pursuant to the
|
|
551
|
+
following paragraph.
|
|
553
552
|
|
|
554
553
|
Notwithstanding any other provision of this License, you have
|
|
555
554
|
permission to link or combine any covered work with a work licensed
|
|
556
|
-
under version 3 of the GNU
|
|
555
|
+
under version 3 of the GNU General Public License into a single
|
|
557
556
|
combined work, and to convey the resulting work. The terms of this
|
|
558
557
|
License will continue to apply to the part which is the covered work,
|
|
559
|
-
but the
|
|
560
|
-
|
|
561
|
-
combination as such.
|
|
558
|
+
but the work with which it is combined will remain governed by version
|
|
559
|
+
3 of the GNU General Public License.
|
|
562
560
|
|
|
563
561
|
14. Revised Versions of this License.
|
|
564
562
|
|
|
565
563
|
The Free Software Foundation may publish revised and/or new versions of
|
|
566
|
-
the GNU General Public License from time to time. Such new versions
|
|
567
|
-
be similar in spirit to the present version, but may differ in detail to
|
|
564
|
+
the GNU Affero General Public License from time to time. Such new versions
|
|
565
|
+
will be similar in spirit to the present version, but may differ in detail to
|
|
568
566
|
address new problems or concerns.
|
|
569
567
|
|
|
570
568
|
Each version is given a distinguishing version number. If the
|
|
571
|
-
Program specifies that a certain numbered version of the GNU General
|
|
569
|
+
Program specifies that a certain numbered version of the GNU Affero General
|
|
572
570
|
Public License "or any later version" applies to it, you have the
|
|
573
571
|
option of following the terms and conditions either of that numbered
|
|
574
572
|
version or of any later version published by the Free Software
|
|
575
573
|
Foundation. If the Program does not specify a version number of the
|
|
576
|
-
GNU General Public License, you may choose any version ever published
|
|
574
|
+
GNU Affero General Public License, you may choose any version ever published
|
|
577
575
|
by the Free Software Foundation.
|
|
578
576
|
|
|
579
577
|
If the Program specifies that a proxy can decide which future
|
|
580
|
-
versions of the GNU General Public License can be used, that proxy's
|
|
578
|
+
versions of the GNU Affero General Public License can be used, that proxy's
|
|
581
579
|
public statement of acceptance of a version permanently authorizes you
|
|
582
580
|
to choose that version for the Program.
|
|
583
581
|
|
|
@@ -635,40 +633,29 @@ the "copyright" line and a pointer to where the full notice is found.
|
|
|
635
633
|
Copyright (C) <year> <name of author>
|
|
636
634
|
|
|
637
635
|
This program is free software: you can redistribute it and/or modify
|
|
638
|
-
it under the terms of the GNU General Public License as published
|
|
639
|
-
the Free Software Foundation, either version 3 of the License, or
|
|
636
|
+
it under the terms of the GNU Affero General Public License as published
|
|
637
|
+
by the Free Software Foundation, either version 3 of the License, or
|
|
640
638
|
(at your option) any later version.
|
|
641
639
|
|
|
642
640
|
This program is distributed in the hope that it will be useful,
|
|
643
641
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
644
642
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
645
|
-
GNU General Public License for more details.
|
|
643
|
+
GNU Affero General Public License for more details.
|
|
646
644
|
|
|
647
|
-
You should have received a copy of the GNU General Public License
|
|
645
|
+
You should have received a copy of the GNU Affero General Public License
|
|
648
646
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
649
647
|
|
|
650
648
|
Also add information on how to contact you by electronic and paper mail.
|
|
651
649
|
|
|
652
|
-
If
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
The hypothetical commands `show w' and `show c' should show the appropriate
|
|
661
|
-
parts of the General Public License. Of course, your program's commands
|
|
662
|
-
might be different; for a GUI interface, you would use an "about box".
|
|
650
|
+
If your software can interact with users remotely through a computer
|
|
651
|
+
network, you should also make sure that it provides a way for users to
|
|
652
|
+
get its source. For example, if your program is a web application, its
|
|
653
|
+
interface could display a "Source" link that leads users to an archive
|
|
654
|
+
of the code. There are many ways you could offer source, and different
|
|
655
|
+
solutions will be better for different programs; see section 13 for the
|
|
656
|
+
specific requirements.
|
|
663
657
|
|
|
664
658
|
You should also get your employer (if you work as a programmer) or school,
|
|
665
659
|
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
|
666
|
-
For more information on this, and how to apply and follow the GNU
|
|
660
|
+
For more information on this, and how to apply and follow the GNU AGPL, see
|
|
667
661
|
<https://www.gnu.org/licenses/>.
|
|
668
|
-
|
|
669
|
-
The GNU General Public License does not permit incorporating your program
|
|
670
|
-
into proprietary programs. If your program is a subroutine library, you
|
|
671
|
-
may consider it more useful to permit linking proprietary applications with
|
|
672
|
-
the library. If this is what you want to do, use the GNU Lesser General
|
|
673
|
-
Public License instead of this License. But first, please read
|
|
674
|
-
<https://www.gnu.org/licenses/why-not-lgpl.html>.
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: rectanglepy
|
|
3
|
-
Version:
|
|
3
|
+
Version: 1.2.0
|
|
4
4
|
Summary: Hierarchical deconvolution of bulk transcriptomics
|
|
5
5
|
Project-URL: Documentation, https://rectanglepy.readthedocs.io/
|
|
6
6
|
Project-URL: Source, https://github.com/ComputationalBiomedicineGroup/Rectangle
|
|
7
7
|
Project-URL: Home-page, https://github.com/ComputationalBiomedicineGroup/Rectangle
|
|
8
8
|
Author: Bernhard Eder
|
|
9
9
|
Maintainer-email: Bernhard Eder <Bernhard.Eder@student.uibk.ac.at>
|
|
10
|
-
License: GNU GENERAL PUBLIC LICENSE
|
|
11
|
-
Version 3,
|
|
10
|
+
License: GNU AFFERO GENERAL PUBLIC LICENSE
|
|
11
|
+
Version 3, 19 November 2007
|
|
12
12
|
|
|
13
13
|
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
|
14
14
|
Everyone is permitted to copy and distribute verbatim copies
|
|
@@ -16,17 +16,15 @@ License: GNU GENERAL PUBLIC LICENSE
|
|
|
16
16
|
|
|
17
17
|
Preamble
|
|
18
18
|
|
|
19
|
-
The GNU General Public License is a free, copyleft license for
|
|
20
|
-
software and other kinds of works
|
|
19
|
+
The GNU Affero General Public License is a free, copyleft license for
|
|
20
|
+
software and other kinds of works, specifically designed to ensure
|
|
21
|
+
cooperation with the community in the case of network server software.
|
|
21
22
|
|
|
22
23
|
The licenses for most software and other practical works are designed
|
|
23
24
|
to take away your freedom to share and change the works. By contrast,
|
|
24
|
-
|
|
25
|
+
our General Public Licenses are intended to guarantee your freedom to
|
|
25
26
|
share and change all versions of a program--to make sure it remains free
|
|
26
|
-
software for all its users.
|
|
27
|
-
GNU General Public License for most of our software; it applies also to
|
|
28
|
-
any other work released this way by its authors. You can apply it to
|
|
29
|
-
your programs, too.
|
|
27
|
+
software for all its users.
|
|
30
28
|
|
|
31
29
|
When we speak of free software, we are referring to freedom, not
|
|
32
30
|
price. Our General Public Licenses are designed to make sure that you
|
|
@@ -35,44 +33,34 @@ License: GNU GENERAL PUBLIC LICENSE
|
|
|
35
33
|
want it, that you can change the software or use pieces of it in new
|
|
36
34
|
free programs, and that you know you can do these things.
|
|
37
35
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
that
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
products. If such problems arise substantially in other domains, we
|
|
67
|
-
stand ready to extend this provision to those domains in future versions
|
|
68
|
-
of the GPL, as needed to protect the freedom of users.
|
|
69
|
-
|
|
70
|
-
Finally, every program is threatened constantly by software patents.
|
|
71
|
-
States should not allow patents to restrict development and use of
|
|
72
|
-
software on general-purpose computers, but in those that do, we wish to
|
|
73
|
-
avoid the special danger that patents applied to a free program could
|
|
74
|
-
make it effectively proprietary. To prevent this, the GPL assures that
|
|
75
|
-
patents cannot be used to render the program non-free.
|
|
36
|
+
Developers that use our General Public Licenses protect your rights
|
|
37
|
+
with two steps: (1) assert copyright on the software, and (2) offer
|
|
38
|
+
you this License which gives you legal permission to copy, distribute
|
|
39
|
+
and/or modify the software.
|
|
40
|
+
|
|
41
|
+
A secondary benefit of defending all users' freedom is that
|
|
42
|
+
improvements made in alternate versions of the program, if they
|
|
43
|
+
receive widespread use, become available for other developers to
|
|
44
|
+
incorporate. Many developers of free software are heartened and
|
|
45
|
+
encouraged by the resulting cooperation. However, in the case of
|
|
46
|
+
software used on network servers, this result may fail to come about.
|
|
47
|
+
The GNU General Public License permits making a modified version and
|
|
48
|
+
letting the public access it on a server without ever releasing its
|
|
49
|
+
source code to the public.
|
|
50
|
+
|
|
51
|
+
The GNU Affero General Public License is designed specifically to
|
|
52
|
+
ensure that, in such cases, the modified source code becomes available
|
|
53
|
+
to the community. It requires the operator of a network server to
|
|
54
|
+
provide the source code of the modified version running there to the
|
|
55
|
+
users of that server. Therefore, public use of a modified version, on
|
|
56
|
+
a publicly accessible server, gives the public access to the source
|
|
57
|
+
code of the modified version.
|
|
58
|
+
|
|
59
|
+
An older license, called the Affero General Public License and
|
|
60
|
+
published by Affero, was designed to accomplish similar goals. This is
|
|
61
|
+
a different license, not a version of the Affero GPL, but Affero has
|
|
62
|
+
released a new version of the Affero GPL which permits relicensing under
|
|
63
|
+
this license.
|
|
76
64
|
|
|
77
65
|
The precise terms and conditions for copying, distribution and
|
|
78
66
|
modification follow.
|
|
@@ -81,7 +69,7 @@ License: GNU GENERAL PUBLIC LICENSE
|
|
|
81
69
|
|
|
82
70
|
0. Definitions.
|
|
83
71
|
|
|
84
|
-
"This License" refers to version 3 of the GNU General Public License.
|
|
72
|
+
"This License" refers to version 3 of the GNU Affero General Public License.
|
|
85
73
|
|
|
86
74
|
"Copyright" also means copyright-like laws that apply to other kinds of
|
|
87
75
|
works, such as semiconductor masks.
|
|
@@ -558,35 +546,45 @@ License: GNU GENERAL PUBLIC LICENSE
|
|
|
558
546
|
the Program, the only way you could satisfy both those terms and this
|
|
559
547
|
License would be to refrain entirely from conveying the Program.
|
|
560
548
|
|
|
561
|
-
13. Use with the GNU
|
|
549
|
+
13. Remote Network Interaction; Use with the GNU General Public License.
|
|
550
|
+
|
|
551
|
+
Notwithstanding any other provision of this License, if you modify the
|
|
552
|
+
Program, your modified version must prominently offer all users
|
|
553
|
+
interacting with it remotely through a computer network (if your version
|
|
554
|
+
supports such interaction) an opportunity to receive the Corresponding
|
|
555
|
+
Source of your version by providing access to the Corresponding Source
|
|
556
|
+
from a network server at no charge, through some standard or customary
|
|
557
|
+
means of facilitating copying of software. This Corresponding Source
|
|
558
|
+
shall include the Corresponding Source for any work covered by version 3
|
|
559
|
+
of the GNU General Public License that is incorporated pursuant to the
|
|
560
|
+
following paragraph.
|
|
562
561
|
|
|
563
562
|
Notwithstanding any other provision of this License, you have
|
|
564
563
|
permission to link or combine any covered work with a work licensed
|
|
565
|
-
under version 3 of the GNU
|
|
564
|
+
under version 3 of the GNU General Public License into a single
|
|
566
565
|
combined work, and to convey the resulting work. The terms of this
|
|
567
566
|
License will continue to apply to the part which is the covered work,
|
|
568
|
-
but the
|
|
569
|
-
|
|
570
|
-
combination as such.
|
|
567
|
+
but the work with which it is combined will remain governed by version
|
|
568
|
+
3 of the GNU General Public License.
|
|
571
569
|
|
|
572
570
|
14. Revised Versions of this License.
|
|
573
571
|
|
|
574
572
|
The Free Software Foundation may publish revised and/or new versions of
|
|
575
|
-
the GNU General Public License from time to time. Such new versions
|
|
576
|
-
be similar in spirit to the present version, but may differ in detail to
|
|
573
|
+
the GNU Affero General Public License from time to time. Such new versions
|
|
574
|
+
will be similar in spirit to the present version, but may differ in detail to
|
|
577
575
|
address new problems or concerns.
|
|
578
576
|
|
|
579
577
|
Each version is given a distinguishing version number. If the
|
|
580
|
-
Program specifies that a certain numbered version of the GNU General
|
|
578
|
+
Program specifies that a certain numbered version of the GNU Affero General
|
|
581
579
|
Public License "or any later version" applies to it, you have the
|
|
582
580
|
option of following the terms and conditions either of that numbered
|
|
583
581
|
version or of any later version published by the Free Software
|
|
584
582
|
Foundation. If the Program does not specify a version number of the
|
|
585
|
-
GNU General Public License, you may choose any version ever published
|
|
583
|
+
GNU Affero General Public License, you may choose any version ever published
|
|
586
584
|
by the Free Software Foundation.
|
|
587
585
|
|
|
588
586
|
If the Program specifies that a proxy can decide which future
|
|
589
|
-
versions of the GNU General Public License can be used, that proxy's
|
|
587
|
+
versions of the GNU Affero General Public License can be used, that proxy's
|
|
590
588
|
public statement of acceptance of a version permanently authorizes you
|
|
591
589
|
to choose that version for the Program.
|
|
592
590
|
|
|
@@ -644,50 +642,40 @@ License: GNU GENERAL PUBLIC LICENSE
|
|
|
644
642
|
Copyright (C) <year> <name of author>
|
|
645
643
|
|
|
646
644
|
This program is free software: you can redistribute it and/or modify
|
|
647
|
-
it under the terms of the GNU General Public License as published
|
|
648
|
-
the Free Software Foundation, either version 3 of the License, or
|
|
645
|
+
it under the terms of the GNU Affero General Public License as published
|
|
646
|
+
by the Free Software Foundation, either version 3 of the License, or
|
|
649
647
|
(at your option) any later version.
|
|
650
648
|
|
|
651
649
|
This program is distributed in the hope that it will be useful,
|
|
652
650
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
653
651
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
654
|
-
GNU General Public License for more details.
|
|
652
|
+
GNU Affero General Public License for more details.
|
|
655
653
|
|
|
656
|
-
You should have received a copy of the GNU General Public License
|
|
654
|
+
You should have received a copy of the GNU Affero General Public License
|
|
657
655
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
658
656
|
|
|
659
657
|
Also add information on how to contact you by electronic and paper mail.
|
|
660
658
|
|
|
661
|
-
If
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
The hypothetical commands `show w' and `show c' should show the appropriate
|
|
670
|
-
parts of the General Public License. Of course, your program's commands
|
|
671
|
-
might be different; for a GUI interface, you would use an "about box".
|
|
659
|
+
If your software can interact with users remotely through a computer
|
|
660
|
+
network, you should also make sure that it provides a way for users to
|
|
661
|
+
get its source. For example, if your program is a web application, its
|
|
662
|
+
interface could display a "Source" link that leads users to an archive
|
|
663
|
+
of the code. There are many ways you could offer source, and different
|
|
664
|
+
solutions will be better for different programs; see section 13 for the
|
|
665
|
+
specific requirements.
|
|
672
666
|
|
|
673
667
|
You should also get your employer (if you work as a programmer) or school,
|
|
674
668
|
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
|
675
|
-
For more information on this, and how to apply and follow the GNU
|
|
669
|
+
For more information on this, and how to apply and follow the GNU AGPL, see
|
|
676
670
|
<https://www.gnu.org/licenses/>.
|
|
677
|
-
|
|
678
|
-
The GNU General Public License does not permit incorporating your program
|
|
679
|
-
into proprietary programs. If your program is a subroutine library, you
|
|
680
|
-
may consider it more useful to permit linking proprietary applications with
|
|
681
|
-
the library. If this is what you want to do, use the GNU Lesser General
|
|
682
|
-
Public License instead of this License. But first, please read
|
|
683
|
-
<https://www.gnu.org/licenses/why-not-lgpl.html>.
|
|
684
671
|
License-File: LICENSE
|
|
685
672
|
Requires-Python: >=3.10
|
|
686
673
|
Requires-Dist: anndata<0.10.9,>=0.8.0
|
|
687
674
|
Requires-Dist: loguru
|
|
688
675
|
Requires-Dist: numpy<2.0.0,>=1.0.0
|
|
676
|
+
Requires-Dist: osqp>=1.0.5
|
|
677
|
+
Requires-Dist: pandas<3.0.0,>=2.0.0
|
|
689
678
|
Requires-Dist: pydeseq2==0.4.11
|
|
690
|
-
Requires-Dist: quadprog==0.1.12
|
|
691
679
|
Requires-Dist: scipy==1.13.0
|
|
692
680
|
Requires-Dist: setuptools<70.0.0,>=69.0.0
|
|
693
681
|
Requires-Dist: statsmodels>=0.14.1
|
|
@@ -718,24 +706,23 @@ Description-Content-Type: text/markdown
|
|
|
718
706
|
[link-tests]: https://github.com/ComputationalBiomedicineGroup/Rectangle/actions/workflows/build.yaml
|
|
719
707
|
[badge-docs]: https://img.shields.io/readthedocs/rectanglepy
|
|
720
708
|
|
|
721
|
-
Rectangle is an open-source Python package
|
|
709
|
+
Rectangle is an open-source Python package for single-cell-informed cell-type deconvolution of bulk and spatial transcriptomic data, which is part of the [scverse ecosystem](https://scverse.org/packages/).
|
|
722
710
|
|
|
723
|
-
Rectangle presents a novel approach to second-generation deconvolution, characterized by hierarchical
|
|
724
|
-
an estimation of unknown cellular content and a significant reduction in data volume during signature matrix computation.
|
|
711
|
+
Rectangle presents a novel approach to second-generation deconvolution, characterized by hierarchical signature building for fine-grained cell-type deconvolution, estimation and correction of unknown cellular content, and efficient handling of large-scale single-cell data during signature matrix computation.
|
|
725
712
|
|
|
726
|
-
Rectangle was developed to
|
|
727
|
-
improvements in cell-type fraction estimation accuracy while keeping a low computational profile.
|
|
713
|
+
Rectangle was developed to overcome the current challenges in cell-type deconvolution, providing a robust and accurate methodology while ensuring a low computational profile.
|
|
728
714
|
|
|
729
715
|
## Getting started
|
|
730
716
|
|
|
731
717
|
Please refer to the [documentation][link-docs]. In particular, the
|
|
732
718
|
|
|
719
|
+
- [Tutorials][link-docs/tutorials] for a step-by-step guide on how to use Rectangle, and the
|
|
720
|
+
|
|
733
721
|
- [API documentation][link-api].
|
|
734
722
|
|
|
735
723
|
## Installation
|
|
736
724
|
|
|
737
|
-
You need to have Python 3.10 or higher installed on your system.
|
|
738
|
-
Python installed, we recommend installing [Mambaforge](https://github.com/conda-forge/miniforge#mambaforge).
|
|
725
|
+
You need to have Python 3.10 or higher installed on your system.
|
|
739
726
|
|
|
740
727
|
How to install Rectangle:
|
|
741
728
|
|
|
@@ -755,10 +742,11 @@ If you found a bug, please use the [issue tracker][issue-tracker].
|
|
|
755
742
|
|
|
756
743
|
## Citation
|
|
757
744
|
|
|
758
|
-
>
|
|
745
|
+
> If you use Rectangle in your project, please cite: (TBA)
|
|
759
746
|
|
|
760
747
|
[scverse-discourse]: https://discourse.scverse.org/
|
|
761
748
|
[issue-tracker]: https://github.com/ComputationalBiomedicineGroup/Rectangle/issues
|
|
762
749
|
[changelog]: https://rectanglepy.readthedocs.io/changelog.html
|
|
763
750
|
[link-docs]: https://Rectanglepy.readthedocs.io
|
|
764
751
|
[link-api]: https://rectanglepy.readthedocs.io/api.html
|
|
752
|
+
[link-docs/tutorials]: https://rectanglepy.readthedocs.io/notebooks/example.html
|
|
@@ -7,24 +7,23 @@
|
|
|
7
7
|
[link-tests]: https://github.com/ComputationalBiomedicineGroup/Rectangle/actions/workflows/build.yaml
|
|
8
8
|
[badge-docs]: https://img.shields.io/readthedocs/rectanglepy
|
|
9
9
|
|
|
10
|
-
Rectangle is an open-source Python package
|
|
10
|
+
Rectangle is an open-source Python package for single-cell-informed cell-type deconvolution of bulk and spatial transcriptomic data, which is part of the [scverse ecosystem](https://scverse.org/packages/).
|
|
11
11
|
|
|
12
|
-
Rectangle presents a novel approach to second-generation deconvolution, characterized by hierarchical
|
|
13
|
-
an estimation of unknown cellular content and a significant reduction in data volume during signature matrix computation.
|
|
12
|
+
Rectangle presents a novel approach to second-generation deconvolution, characterized by hierarchical signature building for fine-grained cell-type deconvolution, estimation and correction of unknown cellular content, and efficient handling of large-scale single-cell data during signature matrix computation.
|
|
14
13
|
|
|
15
|
-
Rectangle was developed to
|
|
16
|
-
improvements in cell-type fraction estimation accuracy while keeping a low computational profile.
|
|
14
|
+
Rectangle was developed to overcome the current challenges in cell-type deconvolution, providing a robust and accurate methodology while ensuring a low computational profile.
|
|
17
15
|
|
|
18
16
|
## Getting started
|
|
19
17
|
|
|
20
18
|
Please refer to the [documentation][link-docs]. In particular, the
|
|
21
19
|
|
|
20
|
+
- [Tutorials][link-docs/tutorials] for a step-by-step guide on how to use Rectangle, and the
|
|
21
|
+
|
|
22
22
|
- [API documentation][link-api].
|
|
23
23
|
|
|
24
24
|
## Installation
|
|
25
25
|
|
|
26
|
-
You need to have Python 3.10 or higher installed on your system.
|
|
27
|
-
Python installed, we recommend installing [Mambaforge](https://github.com/conda-forge/miniforge#mambaforge).
|
|
26
|
+
You need to have Python 3.10 or higher installed on your system.
|
|
28
27
|
|
|
29
28
|
How to install Rectangle:
|
|
30
29
|
|
|
@@ -44,10 +43,11 @@ If you found a bug, please use the [issue tracker][issue-tracker].
|
|
|
44
43
|
|
|
45
44
|
## Citation
|
|
46
45
|
|
|
47
|
-
>
|
|
46
|
+
> If you use Rectangle in your project, please cite: (TBA)
|
|
48
47
|
|
|
49
48
|
[scverse-discourse]: https://discourse.scverse.org/
|
|
50
49
|
[issue-tracker]: https://github.com/ComputationalBiomedicineGroup/Rectangle/issues
|
|
51
50
|
[changelog]: https://rectanglepy.readthedocs.io/changelog.html
|
|
52
51
|
[link-docs]: https://Rectanglepy.readthedocs.io
|
|
53
52
|
[link-api]: https://rectanglepy.readthedocs.io/api.html
|
|
53
|
+
[link-docs/tutorials]: https://rectanglepy.readthedocs.io/notebooks/example.html
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# Contributing Guide
|
|
2
|
+
|
|
3
|
+
We welcome contributions! The best way to contribute is by opening a pull request on GitHub.
|
|
4
|
+
|
|
5
|
+
## How to Contribute
|
|
6
|
+
|
|
7
|
+
1. Fork the repository and create a new branch for your changes.
|
|
8
|
+
2. Make your changes (bug fixes, new features, documentation, etc.).
|
|
9
|
+
3. Open a pull request describing your changes.
|
|
10
|
+
|
|
11
|
+
Please ensure your code is clear and well-documented. If you add new features or fix bugs, tests are appreciated.
|
|
12
|
+
If you have questions or need help, feel free to open an issue.
|
|
13
|
+
|
|
14
|
+
Thank you for helping improve Rectangle!
|