Geometric Learning for Genome Data
Project description
geome
The repo provides a set of tools for creating PyTorch Geometric (PyG) data objects from AnnData objects, which are commonly used for storing and manipulating single-cell genomics data. In addition, the repo includes functionality for creating PyTorch Lightning (PyTorch-Lightning) DataModule objects from the PyG data objects, which can be used to create graph neural network (GNN) data pipelines. The PyG data objects represent graphs, where the nodes represent cells and the edges represent relationships between the cells, and can be used to perform GNN tasks such as node classification, graph classification, and link prediction. The repo is written in Python and utilizes the PyTorch, PyTorch Geometric, and PyTorch-Lightning libraries.
Getting started
Please refer to the documentation. In particular, the
Installation
You need to have Python 3.9 or newer installed on your system. If you don't have Python installed, we recommend installing Mambaforge.
There are several alternative options to install geome:
- Install the latest development version:
Without GPU support:
mamba create -n geome python=3.10
mamba activate geome
pip install torch==2.1.0
pip install torch-scatter torch-sparse torch-cluster
pip install git+https://github.com/theislab/geome.git@main
With GPU:
mamba create -n geome python=3.10
mamba activate geome
mamba install pytorch==2.1.0 torchvision==0.16.0 torchaudio==2.1.0 pytorch-cuda=12.1 -c pytorch -c nvidia
pip install torch-scatter torch-sparse torch-cluster -f https://data.pyg.org/whl/torch-2.1.0+cu121.html
pip install git+https://github.com/theislab/geome.git@main
Release notes
See the changelog.
Contact
For questions and help requests, you can reach out in the scverse discourse. If you found a bug, please use the issue tracker.
Credits
Some of the data for DatasetHartmann is distributed in this package.
It was originally retrieved from: https://zenodo.org/record/3951613#.Y9flQS-B1qv
This project was generated from @cjolowicz's Hypermodern Python Cookiecutter template.
Citation
t.b.a
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file geome-0.0.3.tar.gz.
File metadata
- Download URL: geome-0.0.3.tar.gz
- Upload date:
- Size: 10.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7433a76b341fb6d8349deded0a2255fc094d35e11ae73d46513d391c8972aeb9
|
|
| MD5 |
0cb46401906c5666d5221d75150b6334
|
|
| BLAKE2b-256 |
e5a2c762c17eb414719c283de3a111b24134648b84805c2b9551c55200a6535a
|
Provenance
The following attestation bundles were made for geome-0.0.3.tar.gz:
Publisher:
release.yaml on theislab/geome
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
geome-0.0.3.tar.gz -
Subject digest:
7433a76b341fb6d8349deded0a2255fc094d35e11ae73d46513d391c8972aeb9 - Sigstore transparency entry: 1199153757
- Sigstore integration time:
-
Permalink:
theislab/geome@95d0138fff325cba5670ad637bc88f41c6e1994d -
Branch / Tag:
refs/tags/v0.0.3 - Owner: https://github.com/theislab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@95d0138fff325cba5670ad637bc88f41c6e1994d -
Trigger Event:
release
-
Statement type:
File details
Details for the file geome-0.0.3-py3-none-any.whl.
File metadata
- Download URL: geome-0.0.3-py3-none-any.whl
- Upload date:
- Size: 19.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b1a3112568e660aca39cc3ac1be9de2d6021fcbfff6a5768d51106bbb3cd9185
|
|
| MD5 |
cb6c86d8ceffb64d1bc2755f1430bc8e
|
|
| BLAKE2b-256 |
db34b8f37c7b10c7d562d54c02c14e7a65a86feab7995cde62a46016ccafd748
|
Provenance
The following attestation bundles were made for geome-0.0.3-py3-none-any.whl:
Publisher:
release.yaml on theislab/geome
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
geome-0.0.3-py3-none-any.whl -
Subject digest:
b1a3112568e660aca39cc3ac1be9de2d6021fcbfff6a5768d51106bbb3cd9185 - Sigstore transparency entry: 1199153819
- Sigstore integration time:
-
Permalink:
theislab/geome@95d0138fff325cba5670ad637bc88f41c6e1994d -
Branch / Tag:
refs/tags/v0.0.3 - Owner: https://github.com/theislab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@95d0138fff325cba5670ad637bc88f41c6e1994d -
Trigger Event:
release
-
Statement type: