Skip to main content

Implementation of the SwitchTFI method as presented in: https://doi.org/10.1101/2025.01.20.633856

Project description

SwitchTFI

This repository contains the SwitchTFI python package as presented in Identifying transcription factors driving cell differentiation (doi).

Table of Contents

Installation

SwitchTFI can be used in two different ways:

1. Clone the GitHub Repository

Preprocessed example datasets and previously inferred GRNs are available via the switchtfi.data module.

# Clone the repository
git clone git@github.com:bionetslab/SwitchTFI.git

# Navigate to the project directory
cd SwitchTFI

# Create and activate the Conda environment from the .yml file
conda env create -f switchtfi.yml
conda activate switchtfi

2. Install directly from Conda

This is the simplest way to install the package. Datasets and GRNs are not included in this installation, but a usage example is included in the repository under /docs/example.ipynb.

conda install -c conda-forge -c bioconda switchtfi

Usage

All relevant functions are documented with docstrings. For details on function parameters and available options please refer to those.

  • Repository clone:

    Preprocessed scRNA-seq datasets and previously inferred GRNs can be accessed via the switchtfi.data module. An example workflow is provided in example.py, please also see the comments there for additional information. To select an example dataset set the flag to ery, beta, or alpha.

    # Run SwitchTFI analyses with the preprocessed scRNA-seq data and a previously inferred GRN as an input
    python example.py -d ery
    
  • Conda installation:

    Datasets are not included, but a usage example is provided in the repository under /docs/example.ipynb. Data preprocessing is demonstrated there as well.

License

This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.

Citation

If you use SwitchTFI in your research or publication, please cite the corresponding preprint:

https://doi.org/10.1101/2025.01.20.633856

Contact

Paul Martini - paul.martini@fau.de

Project Link: https://github.com/bionetslab/SwitchTFI

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

switchtfi-0.1.0.tar.gz (61.5 kB view details)

Uploaded Source

Built Distribution

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

switchtfi-0.1.0-py3-none-any.whl (52.2 kB view details)

Uploaded Python 3

File details

Details for the file switchtfi-0.1.0.tar.gz.

File metadata

  • Download URL: switchtfi-0.1.0.tar.gz
  • Upload date:
  • Size: 61.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.13

File hashes

Hashes for switchtfi-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f7c3344ca6cccf1bb0e2d1c344a8fc84fe42c193cb068d42d8d878b51602368d
MD5 2368b4a94ff4a3f7c799499e776bc42a
BLAKE2b-256 ff33768c26f9066fa8e578560df74edd14df42dec10507c03612393eb28c7aab

See more details on using hashes here.

File details

Details for the file switchtfi-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: switchtfi-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 52.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.13

File hashes

Hashes for switchtfi-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3b7fcb23d54d0dda9352c920870e43b224344006af6dd45e3f29d8d548e6ff2a
MD5 e5d8c26e048e26048f472cc909eb383e
BLAKE2b-256 faaa6550f33bac754fa97c539f29e5cce7bab8c513b76eae86d2c9874aca074f

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