Skip to main content

A flexible framework for transformer-based analysis of spatial transcriptomics data.

Project description

stFormer

A flexible framework for transformer-based analysis of spatial transcriptomics data. stFormer provides tools for data tokenization, pretraining, embedding extraction, in silico perturbation, and downstream classification.

Install

pip install --upgrade stformer

Prerequisites: Python3.8+, OpenMPI (for deepspeed only)

Features

  • Data Tokenization
  • Pretraining
  • Token/Sequence Classification
  • In Silico Perturbation
  • Network Dynamic Predictions

Contributing

Contributions are welcome! Please open issues at our Github or submit pull requests for bug fixes and new features.

Models

Pretrained models and datasets are available through our hugging-face model card

License

This project is licensed under the MIT License. See LICENSE for details.

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

stformer-0.1.3a0.tar.gz (71.2 kB view details)

Uploaded Source

File details

Details for the file stformer-0.1.3a0.tar.gz.

File metadata

  • Download URL: stformer-0.1.3a0.tar.gz
  • Upload date:
  • Size: 71.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.13

File hashes

Hashes for stformer-0.1.3a0.tar.gz
Algorithm Hash digest
SHA256 f6cd96ca60fc3749717e9b7c68bff15d3a737b9f3d9465c8bb03ce70c7673801
MD5 160bf0c3ef6e8b2363bc854f37b13fc6
BLAKE2b-256 4e82c4fef7992a5e1167d0746afb3a62795f0695663c6f02c57a0a72ebf93fba

See more details on using hashes here.

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