Skip to main content

Geometric Learning for Genome Data

Project description

geome

Tests Documentation

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:

  1. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

geome-0.0.3.tar.gz (10.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

geome-0.0.3-py3-none-any.whl (19.4 kB view details)

Uploaded Python 3

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

Hashes for geome-0.0.3.tar.gz
Algorithm Hash digest
SHA256 7433a76b341fb6d8349deded0a2255fc094d35e11ae73d46513d391c8972aeb9
MD5 0cb46401906c5666d5221d75150b6334
BLAKE2b-256 e5a2c762c17eb414719c283de3a111b24134648b84805c2b9551c55200a6535a

See more details on using hashes here.

Provenance

The following attestation bundles were made for geome-0.0.3.tar.gz:

Publisher: release.yaml on theislab/geome

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for geome-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b1a3112568e660aca39cc3ac1be9de2d6021fcbfff6a5768d51106bbb3cd9185
MD5 cb6c86d8ceffb64d1bc2755f1430bc8e
BLAKE2b-256 db34b8f37c7b10c7d562d54c02c14e7a65a86feab7995cde62a46016ccafd748

See more details on using hashes here.

Provenance

The following attestation bundles were made for geome-0.0.3-py3-none-any.whl:

Publisher: release.yaml on theislab/geome

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page