Skip to main content

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

Metadata

Release files for switchtfi 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for switchtfi 0.1.0
File Size Uploaded Provenance Actions
switchtfi-0.1.0.tar.gz 61.5 kB Without provenance Details for switchtfi-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for switchtfi 0.1.0
File Interpreter ABI Platform Actions
switchtfi-0.1.0-py3-none-any.whl Python 3 none any Details for switchtfi-0.1.0-py3-none-any.whl

Total release size: 113.8 kB

Release files / switchtfi-0.1.0.tar.gz

Download URL switchtfi-0.1.0.tar.gz
Size 61.5 kB
Tags Source
SHA-256 checksum
How to use checksums
f7c3344ca6cccf1bb0e2d1c344a8fc84fe42c193cb068d42d8d878b51602368d
BLAKE2b-256 checksum
How to use checksums
ff33768c26f9066fa8e578560df74edd14df42dec10507c03612393eb28c7aab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.13

Release files / switchtfi-0.1.0-py3-none-any.whl

Download URL switchtfi-0.1.0-py3-none-any.whl
Size 52.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3b7fcb23d54d0dda9352c920870e43b224344006af6dd45e3f29d8d548e6ff2a
BLAKE2b-256 checksum
How to use checksums
faaa6550f33bac754fa97c539f29e5cce7bab8c513b76eae86d2c9874aca074f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.13

Security for switchtfi 0.1.0

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page