Skip to main content

CI docs License: MIT PyPI

Introduction

This is a collection of utilities to perform various operations on genomic count datasets involving determining differential expression.

Documentation

Documentation is at:

See a live example report generated from the public airway RNA-seq dataset — self-contained HTML produced by detk-report generate.

Installing

From pypi

pip install de_toolkit

Installing R and packages

Certain functions in detk, particularly the de, enrich, and transform modules, interface with R and Bioconductor packages. You must have a version of R installed along with the following packages to use the corresponding submodule functions:

The packages can be installed from within R with:

install.packages("BiocManager")
BiocManager::install(c("DESeq2", "fgsea"))
install.packages(c("logistf", "jsonlite"))

Development

detk requires Python 3.11 or newer. First fork and/or clone this repo:

git clone https://github.com/BU-Neuromics/de_toolkit.git

The project is managed with uv:

cd de_toolkit
uv sync        # create .venv with the package and dev tools
uv run pytest  # run the test suite

If you don't use uv, a plain virtualenv works too: pip install -e '.[test]', then pytest. Lint and format with uv run ruff check . and uv run ruff format .; docs preview with uv run --group docs mkdocs serve.

Tests that require R (DESeq2, fgsea, logistf) are skipped automatically when R is not available.

To add a command, a subcommand or an option, see docs/dev/cli.md: the parsers are argparse, and their help is part of the 1.0 promise.

Agent skills

detk ships an agent skill that lets a coding agent (Claude Code, Codex, Cursor and others) run a detk analysis from a counts matrix and sample table through filter, norm, de and enrich to a detk report. Install it into your project with:

npx skills add BU-Neuromics/de_toolkit

See Agent skills in the documentation.

Metadata

Release files for de-toolkit 1.0.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 de-toolkit 1.0.0
File Size Uploaded Provenance Actions
de_toolkit-1.0.0.tar.gz 2.8 MB With provenance Details for de_toolkit-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for de-toolkit 1.0.0
File Interpreter ABI Platform Actions
de_toolkit-1.0.0-py3-none-any.whl Python 3 none any Details for de_toolkit-1.0.0-py3-none-any.whl

Total release size: 3.3 MB

Release files / de_toolkit-1.0.0.tar.gz

Download URL de_toolkit-1.0.0.tar.gz
Size 2.8 MB
Tags Source
SHA-256 checksum
How to use checksums
770df79f825515c2968512fec29c62a0e70bd38b157ccf36d43409f258b884da
BLAKE2b-256 checksum
How to use checksums
fe68869e972432c72433899634a233595c994b36e8571587a91d658a46a5e726
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

Release files / de_toolkit-1.0.0-py3-none-any.whl

Download URL de_toolkit-1.0.0-py3-none-any.whl
Size 434.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4d38f07693b12b17696a8e6fc6dac4fc9586a38da099db7469c7ce4f2dfa8d58
BLAKE2b-256 checksum
How to use checksums
ac7f38821fc89231d9906441d029b09a12ee24c1d7b0f66aa39cdcbb72b38af5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

Security for de-toolkit 1.0.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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for de_toolkit-1.0.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

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

1.0.0 This release

2 release files Full 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