Name | paste2 JSON |
Version |
1.0.1
JSON |
| download |
home_page | |
Summary | Probabilistic Alignment of Spatial Transcriptomics Experiments v.2 |
upload_time | 2023-12-26 21:17:52 |
maintainer | |
docs_url | None |
author | |
requires_python | >=3.8 |
license | BSD 3-Clause License Copyright (c) 2023, Princeton University Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
keywords |
|
VCS |
 |
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# PASTE2
PASTE2, the extension of PASTE, is a method for partial alignment and 3D reconstruction of spatial transcriptomics slices when they do not fully overlap in space.
There are three main functions:
1. `src/paste2/PASTE2/partial_pairwise_align`: Given a pair of ST slices and their overlap percentage, find a partial alignment matrix. Note: In a multi-sample dataset, partial_pairwise_align should be called on each pair of adjacent slices separately.
2. `src/paste2/model_selection/select_overlap_fraction`: Decide the overlap percentage (s parameter of partial_pairwise_align) between two input ST slices. Note: In a multi-sample dataset, each pair of adjacent slices could have a different overlap percentage, hence each pair of adjacent slices might have a different estimate of s to pass to partial_pairwise_align.
3. `src/paste2/projection/partial_stack_slices_pairwise`: Given a sequence of consecutive ST slices and the partial alignments between them, project all slices onto the same 2D coordinate system. 3D reconstruction can be done by assiging a z-value to each slice.
Additionally, `src/paste2/PASTE2/partial_pairwise_align_histology` uses both gene expression and histological image information for computing the partial alignment matrix.
## Installation
PASTE2 is available on PyPI at https://pypi.org/project/paste2/. To install PASTE2, run `pip install paste2`.
## Quick Start
We included a tutorial in this repo (`tutorial.ipynb`). The tutorial should cover the basics you need to run PASTE2 on your own dataset. Additionally, the documentation of each function is in the source code.
## Contact
If you encounter any problem running the software, please contact Xinhao Liu at xl5434@princeton.edu
## Reference
Liu, X., Zeira, R., & Raphael, B. J. (2023). Partial alignment of multislice spatially resolved transcriptomics data. Genome Research, 33(7), 1124-1132.
Raw data
{
"_id": null,
"home_page": "",
"name": "paste2",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": "Xinhao Liu <xl5434@princeton.edu>",
"keywords": "",
"author": "",
"author_email": "Xinhao Liu <xl5434@princeton.edu>",
"download_url": "https://files.pythonhosted.org/packages/31/a9/030b7766a9d323dfa2d9a181536fed8a62c444b659554847c2afc687127d/paste2-1.0.1.tar.gz",
"platform": null,
"description": "# PASTE2\n\n\nPASTE2, the extension of PASTE, is a method for partial alignment and 3D reconstruction of spatial transcriptomics slices when they do not fully overlap in space. \n\nThere are three main functions:\n1. `src/paste2/PASTE2/partial_pairwise_align`: Given a pair of ST slices and their overlap percentage, find a partial alignment matrix. Note: In a multi-sample dataset, partial_pairwise_align should be called on each pair of adjacent slices separately.\n2. `src/paste2/model_selection/select_overlap_fraction`: Decide the overlap percentage (s parameter of partial_pairwise_align) between two input ST slices. Note: In a multi-sample dataset, each pair of adjacent slices could have a different overlap percentage, hence each pair of adjacent slices might have a different estimate of s to pass to partial_pairwise_align.\n3. `src/paste2/projection/partial_stack_slices_pairwise`: Given a sequence of consecutive ST slices and the partial alignments between them, project all slices onto the same 2D coordinate system. 3D reconstruction can be done by assiging a z-value to each slice.\n\nAdditionally, `src/paste2/PASTE2/partial_pairwise_align_histology` uses both gene expression and histological image information for computing the partial alignment matrix.\n\n\n\n## Installation\nPASTE2 is available on PyPI at https://pypi.org/project/paste2/. To install PASTE2, run `pip install paste2`. \n\n## Quick Start\nWe included a tutorial in this repo (`tutorial.ipynb`). The tutorial should cover the basics you need to run PASTE2 on your own dataset. Additionally, the documentation of each function is in the source code.\n\n## Contact\nIf you encounter any problem running the software, please contact Xinhao Liu at xl5434@princeton.edu\n\n## Reference\nLiu, X., Zeira, R., & Raphael, B. J. (2023). Partial alignment of multislice spatially resolved transcriptomics data. Genome Research, 33(7), 1124-1132.",
"bugtrack_url": null,
"license": "BSD 3-Clause License Copyright (c) 2023, Princeton University Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.",
"summary": "Probabilistic Alignment of Spatial Transcriptomics Experiments v.2",
"version": "1.0.1",
"project_urls": {
"Homepage": "https://github.com/raphael-group/paste2",
"Issues": "https://github.com/raphael-group/paste2/issues"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "98ba6a1c1904ea14bd2afcec2eef95297d13797a865fbdae5116de16754042e8",
"md5": "2675d8fb0c669a57e2ca50641da97812",
"sha256": "ba8f21ec7ab09090810f8d5537bdc6e7309d3d7398c538d0560b4131bbf81d63"
},
"downloads": -1,
"filename": "paste2-1.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "2675d8fb0c669a57e2ca50641da97812",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 19556,
"upload_time": "2023-12-26T21:17:50",
"upload_time_iso_8601": "2023-12-26T21:17:50.290670Z",
"url": "https://files.pythonhosted.org/packages/98/ba/6a1c1904ea14bd2afcec2eef95297d13797a865fbdae5116de16754042e8/paste2-1.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "31a9030b7766a9d323dfa2d9a181536fed8a62c444b659554847c2afc687127d",
"md5": "87f8a01b2201410fc9bd253b3ff6e605",
"sha256": "464dc77317e28df96e34ab2cd82d057411c5d62bf015faf774c926beef1b663a"
},
"downloads": -1,
"filename": "paste2-1.0.1.tar.gz",
"has_sig": false,
"md5_digest": "87f8a01b2201410fc9bd253b3ff6e605",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 47257632,
"upload_time": "2023-12-26T21:17:52",
"upload_time_iso_8601": "2023-12-26T21:17:52.380178Z",
"url": "https://files.pythonhosted.org/packages/31/a9/030b7766a9d323dfa2d9a181536fed8a62c444b659554847c2afc687127d/paste2-1.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-12-26 21:17:52",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "raphael-group",
"github_project": "paste2",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "paste2"
}