GLUE (Graph-Linked Unified Embedding)
Graph-linked unified embedding for single-cell multi-omics data integration
For more details, please check out our publication.
Directory structure
.
├── scglue # Main Python package
├── data # Data files
├── evaluation # Method evaluation pipelines
├── experiments # Experiments and case studies
├── tests # Unit tests for the Python package
├── docs # Documentation files
├── custom # Customized third-party packages
├── packrat # Reproducible R environment via packrat
├── env.yaml # Reproducible Python environment via conda
├── pyproject.toml # Python package metadata
├── LICENSE
└── README.md
Installation
The scglue package can be installed via conda using one of the following commands:
conda install -c conda-forge -c bioconda scglue # CPU only
conda install -c conda-forge -c bioconda scglue pytorch-gpu # With GPU support
Or, it can also be installed via pip:
pip install scglue
Installing within a conda environment is recommended.
Usage
Please checkout the documentations and tutorials at scglue.readthedocs.io.
A Chinese version is also available here.
Development
Install scglue in editable form via flit (first install flit via conda or pip if not installed already):
flit install -s
Run unit tests:
pytest --cov="scglue" --cov-report="term-missing" tests [--cpu-only]
Build documentation:
sphinx-build -b gettext docs docs/_build/gettext
sphinx-intl update -p docs/_build/gettext -l zh_CN -d docs/locale
sphinx-build -b html -D language=en docs docs/_build/html/en # English version
sphinx-build -b html -D language=zh_CN docs docs/_build/html/zh_CN # Chinese version
Reproduce results
-
Checkout the repository to v0.2.0:
git checkout tags/v0.2.0
-
Create a local conda environment using the
env.yamlfile, and then install scglue:conda env create -p conda -f env.yaml && conda activate ./conda flit install -s
-
Set up a project-specific R environment:
packrat::restore() # Packrat should be automatically installed if not available. install.packages("data/download/Saunders-2018/DropSeq.util_2.0.tar.gz", repos = NULL) install.packages("custom/Seurat_4.0.2.tar.gz", lib = "packrat/custom", repos = NULL)
R 4.0.2 was used during the project, but any version above 4.0.0 should be compatible.
-
Follow instructions in
datato prepare the necessary data. -
Follow instructions in
evaluationfor method evaluation. -
Follow instructions in
experimentsfor case studies.
Metadata
Release files for scglue 0.5.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| scglue-0.5.2.tar.gz | 78.6 kB | Without provenance | Details for scglue-0.5.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| scglue-0.5.2-py3-none-any.whl | Python 3 | none | any | Details for scglue-0.5.2-py3-none-any.whl |
Total release size: 166.8 kB
Release files / scglue-0.5.2.tar.gz
| Download URL | scglue-0.5.2.tar.gz |
|---|---|
| Size | 78.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fdbeda2c8b6589771f1175515033e97d4319f25ae2cd32ba31ca6fbdd66142d0
|
|
BLAKE2b-256 checksum How to use checksums |
fa104ffa4e60044e5db58423d671f51f8efa2ef68dfe039c161ec989fee0aac9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Release files / scglue-0.5.2-py3-none-any.whl
| Download URL | scglue-0.5.2-py3-none-any.whl |
|---|---|
| Size | 88.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
07b628a96dc2b52c209a25e3ec7dec94f865ac411172ca47a65bcf2d1cb410f0
|
|
BLAKE2b-256 checksum How to use checksums |
33213c350d753c73a102a17a287c2c901481941b945e86427ce10841eda364e9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Security for scglue 0.5.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.