Skip to main content

BioProfileKit

Python: 3.13+ License: MIT pages-build-deployment

Overview

BioProfileKit is a domain-specific bioinformatics profiling tool for tabular biological data. It generates self-contained, interactive HTML reports covering exploratory data analysis, biological sequence profiling, and metadata validation — designed to be accessible to scientists without extensive data science skills.

Example report: BioProfileKit Example

Features

Column-level EDA

  • Automated column type inference (numeric, categorical, sequence, metadata)
  • Distributional metrics and quality flags per column type
  • Numeric quality metrics: IQR, outlier detection (adjusted IQR, modified Z-score, standard Z-score), zero/negative/infinity counts
  • Categorical imbalance metrics: class imbalance ratio, rare category detection, near-zero variance, top-1/top-5 coverage
  • Collapsible filter bar with text search and quality flag toggles (AND/OR logic)

Dataset-level EDA

  • Correlation and pairwise structure analysis: Pearson (numeric), Cramér's V (categorical), Eta² (mixed), combined association heatmap
  • Duplicate detection with grouped duplicate-row reporting
  • Missing value analysis: missingness matrix and per-column missing-value counts (missingness-mechanism tests such as Little's MCAR test are in progress)
  • Target/feature analysis: feature–target association ranking, mutual information (with top-relationship plots), class balance
  • Distribution overview: box plots and scatter matrix of numeric columns
  • Interactive Plotly visualizations

Biological Sequence Profiling

  • DNA/RNA: GC content, nucleotide distribution, k-mer frequencies, AT/GC skew, ambiguous base ratio, dinucleotide O/E ratios, codon completeness, low-complexity entropy, reverse complement duplicate detection
  • Protein: amino acid composition and distribution, physicochemical properties (GRAVY, aliphatic index, charge, isoelectric point, instability index, and more)
  • Sequence logos (WebLogo) for DNA/RNA and protein columns
  • Configurable k-mer size and top-N reporting

Biological Metadata Validation

  • Organism name and taxonomic identifier verification against NCBI Taxonomy (Cython-accelerated), with taxonomic composition sunburst plots
  • UniProt validation against Swiss-Prot or TrEMBL, with per-column match badges
  • Functional annotation validation against GO terms or COG categories, with summary plots
  • Measurement column detection: units in column headers (e.g. weight [kg]) or in values (e.g. 5 mg/L)
  • Controlled vocabulary checks against official databases; reference data is cached locally and refreshed on a configurable schedule (see Reference Data)

Data Quality Assessment

  • Automated pass/warning/fail checks grouped by category (e.g. missingness, duplicates, sequence validity, taxonomy, functional annotation)
  • Overall quality banner plus per-category and per-check summaries, with deep links into the relevant report section

Interactive HTML Reports

  • Self-contained report folder (multi-page HTML with bundled assets) that opens in any browser, no server required
  • Dynamic column filtering with quality flag toggles
  • Colorblind-safe theme (Okabe-Ito palette) with persistent toggle
  • WCAG AA accessible

Project Structure

BioProfileKit/
├── src/
│   ├── analysis/            # Column-level and dataset-level EDA
│   ├── biological/          # Sequence profiling and metadata validation (taxonomy, UniProt, GO/COG)
│   ├── cli/                 # CLI entry points (bioprofilekit, bioprofiledata) and report writer
│   ├── cython_wrapper/      # Cython-accelerated components
│   ├── data_utils/          # File I/O and remote reference-data access/caching
│   ├── enums/               # Shared enums and controlled vocabularies
│   ├── models/              # Data models per column type
│   ├── quality_assessment/  # Automated data-quality checks and report aggregation
│   ├── static/              # Static assets (CSS, JS, images) bundled into generated reports
│   └── templates/           # Jinja templates for reports
├── tests/
│   ├── unit/                # Unit tests per module
│   └── integration/         # End-to-end report-generation tests
├── benchmark/               # Benchmark data preparation (controlled anomaly injection)
└── docs/                    # Example report served via GitHub Pages

Web Application

BioProfileKit is also available as a hosted web service at bioprofilekit.computational.bio, for users who prefer not to install the CLI locally or who need to profile larger datasets without waiting on local report rendering. It wraps the same CLI core behind a Vue 3/TypeScript frontend and a FastAPI backend, runs analyses as jobs on de.NBI cloud infrastructure (Kubernetes), and authenticates via Keycloak/de.NBI AAI.

Feedback / de.NBI User Survey

BioProfileKit is a service of de.NBI, the German Network for Bioinformatics Infrastructure. Your feedback helps us improve BioProfileKit and secures continued funding for the de.NBI service portfolio. Please take a few minutes to fill in the de.NBI user survey.

Installation

Requires Python 3.13 or newer and a C compiler (for the Cython extensions).

make install

Manual installation

pip install -e .
python setup.py build_ext --inplace

Usage

Supports .csv, .tsv, .json, and .parquet as input formats.

bioprofilekit -i input.csv

Options:
  -i,  --input PATH                  Input file (.tsv, .csv, .json, or .parquet)  [required]
  -t,  --tax                         Enable taxonomy analysis
  -u,  --uniprot [swissprot|trembl]  Enable UniProt validation against Swiss-Prot or TrEMBL
  -f,  --func [cog|go]               Functional annotation validation (COG or GO)
  -tc, --target_column TEXT          Target column for further analysis
  -k,  --kmer INTEGER                K-mer size for sequence analysis  [default: 3]
  -n,  --top_n INTEGER               Top N entries for reporting  [default: 20; max: 20]
  -h,  --help                        Show this message and exit.

Output

Results are written to <input_name>_renders/ in the current working directory:

<input_name>_renders/
├── index.html                # Landing page with the data-quality summary
├── numeric_data.html         # Dataset overview
├── columns.html              # Per-column profiles
├── general_statistics.html   # Correlations, missing values, target analysis
├── results.json              # Machine-readable results and run parameters
└── static/                   # Bundled CSS, JS (incl. Plotly) and assets

Open index.html in a browser to view the report.

Reference Data

Taxonomy, GO, COG, and UniProt Swiss-Prot/TrEMBL reference data (used by -t/-f/-u) are downloaded on first use and cached locally — by default under ~/.local/share/bioprofilekit (Linux/macOS), configurable via the BPK_CACHE_DIR environment variable. Each cache is considered fresh for 30 days and re-downloaded automatically once it expires.

To refresh the cache explicitly, ahead of time or outside of a report run:

bioprofiledata --all              # Taxonomy, GO, COG, and UniProt Swiss-Prot
bioprofiledata --tax --go         # only selected datasets
bioprofiledata --all --force-refresh   # ignore cache freshness

Options:
  --tax             Update NCBI Taxonomy
  --go              Update Gene Ontology
  --cog             Update COG groups
  --uniprot         Update UniProt Swiss-Prot
  --all             Update Taxonomy, GO, COG and Swiss-Prot ("not TrEMBL")
  --force-refresh   Update even if cache is still fresh
  -h, --help        Show this message and exit.

Testing

pip install -e ".[dev]"
python setup.py build_ext --inplace
pytest --cov=src

CI (GitHub Actions) runs the test suite on pushes and pull requests to main and requires at least 70% coverage.

Contributing

Contributions are welcome. For bug reports, feature requests, or enhancements, please open an issue or submit a pull request. For major changes, open an issue first to discuss alignment with project goals.

Please read the CODE OF CONDUCT for contribution guidelines.

License

Licensed under the MIT license (LICENSE or https://opensource.org/licenses/MIT). Unless explicitly stated otherwise, any contribution intentionally submitted for inclusion in BioProfileKit shall be licensed under the same terms.

Contact

For inquiries or support, reach out via GitHub Issues or Discussions.

Metadata

Release files for BioProfileKit 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 BioProfileKit 1.0.0
File Size Uploaded Provenance Actions
bioprofilekit-1.0.0.tar.gz 1.2 MB With provenance Details for bioprofilekit-1.0.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for BioProfileKit 1.0.0
File Actions
bioprofilekit-1.0.0-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details for bioprofilekit-1.0.0-cp314-cp314-win_amd64.whl
bioprofilekit-1.0.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl CPython 3.14 CPython 3.14 Linux glibc 2.17+ ARM64, Linux glibc 2.28+ ARM64 Details for bioprofilekit-1.0.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
bioprofilekit-1.0.0-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.5+ x86-64, Linux glibc 2.28+ x86-64 Details for bioprofilekit-1.0.0-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
bioprofilekit-1.0.0-cp314-cp314-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 macOS 11.0+ ARM64 Details for bioprofilekit-1.0.0-cp314-cp314-macosx_11_0_arm64.whl
bioprofilekit-1.0.0-cp314-cp314-macosx_10_15_x86_64.whl CPython 3.14 CPython 3.14 macOS 10.15+ x86-64 Details for bioprofilekit-1.0.0-cp314-cp314-macosx_10_15_x86_64.whl
bioprofilekit-1.0.0-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details for bioprofilekit-1.0.0-cp313-cp313-win_amd64.whl
bioprofilekit-1.0.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ ARM64, Linux glibc 2.17+ ARM64 Details for bioprofilekit-1.0.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
bioprofilekit-1.0.0-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ x86-64, Linux glibc 2.5+ x86-64 Details for bioprofilekit-1.0.0-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
bioprofilekit-1.0.0-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details for bioprofilekit-1.0.0-cp313-cp313-macosx_11_0_arm64.whl
bioprofilekit-1.0.0-cp313-cp313-macosx_10_13_x86_64.whl CPython 3.13 CPython 3.13 macOS 10.13+ x86-64 Details for bioprofilekit-1.0.0-cp313-cp313-macosx_10_13_x86_64.whl

Total release size: 16.2 MB

Release files / bioprofilekit-1.0.0.tar.gz

Download URL bioprofilekit-1.0.0.tar.gz
Size 1.2 MB
Tags Source
SHA-256 checksum
How to use checksums
2f4594d9d5fef4f018c1c575899577771bdb679492731da0bd30e49e42c1c157
BLAKE2b-256 checksum
How to use checksums
e2fd983412a3698287b9c941a696772ee084ee01d847598f89037453d3dadb58
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 Dec 4, 2026.

Transparency log

Release files / bioprofilekit-1.0.0-cp314-cp314-win_amd64.whl

Download URL bioprofilekit-1.0.0-cp314-cp314-win_amd64.whl
Size 1.3 MB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
e061262f9b31bf30ac4fb344adcb61a63c64d596a24ae51ef4612730d03c33f8
BLAKE2b-256 checksum
How to use checksums
f50221a04829832754f79462383b96b04915c7adec037234e7cbab64c0eb5352
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 Dec 4, 2026.

Transparency log

Release files / bioprofilekit-1.0.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl

Download URL bioprofilekit-1.0.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Size 1.7 MB
Tags CPython 3.14 Linux glibc 2.17+ ARM64 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
b625eca04998071ab576947b7721a76662c91645655c6dcb9f40212224f12854
BLAKE2b-256 checksum
How to use checksums
0d8fdb4683067e86b0e47c83e843237f3b0a46a22116386dff933d906e2290e8
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 Dec 4, 2026.

Transparency log

Release files / bioprofilekit-1.0.0-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl

Download URL bioprofilekit-1.0.0-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Size 1.7 MB
Tags CPython 3.14 Linux glibc 2.28+ x86-64 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
c902996e95649833fe942e6f088faedc654746ca4e069148d9fd69c410051492
BLAKE2b-256 checksum
How to use checksums
94276c2090df71761ab188914f22f90b7c179151dc6b40ecaf60dcf1611a3e32
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 Dec 4, 2026.

Transparency log

Release files / bioprofilekit-1.0.0-cp314-cp314-macosx_11_0_arm64.whl

Download URL bioprofilekit-1.0.0-cp314-cp314-macosx_11_0_arm64.whl
Size 1.4 MB
Tags CPython 3.14 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
05d2de4aaf4f77bcf26ba13cf8a592f1833ede1af21361eecc82d41974f36ee1
BLAKE2b-256 checksum
How to use checksums
09c9bcacbc333d2d2a79161f71dc948a0d73da82b6df4836070a1f9264d0fc39
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 Dec 4, 2026.

Transparency log

Release files / bioprofilekit-1.0.0-cp314-cp314-macosx_10_15_x86_64.whl

Download URL bioprofilekit-1.0.0-cp314-cp314-macosx_10_15_x86_64.whl
Size 1.3 MB
Tags CPython 3.14 macOS 10.15+ x86-64
SHA-256 checksum
How to use checksums
c95783e0056c9deccf5e9785802da239cd4d75906c0140c676f1b2f0ced9743d
BLAKE2b-256 checksum
How to use checksums
da0a051e4b2d26c2683ef97aefeee3b1a94720985777bcb9277c47fd61e9d950
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 Dec 4, 2026.

Transparency log

Release files / bioprofilekit-1.0.0-cp313-cp313-win_amd64.whl

Download URL bioprofilekit-1.0.0-cp313-cp313-win_amd64.whl
Size 1.3 MB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
8bc794453342c87149a41862f75fe3042dadd23fa9a3da82ad99d68df0cdb43e
BLAKE2b-256 checksum
How to use checksums
630d20cab2f6720df029a7b2184b38916d942d89e479e1f41b887a944565d432
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 Dec 4, 2026.

Transparency log

Release files / bioprofilekit-1.0.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl

Download URL bioprofilekit-1.0.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Size 1.7 MB
Tags CPython 3.13 Linux glibc 2.17+ ARM64 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
3df5b93c985124c1c4ab82660ad4b4f554ec156508d107f0d9da9e322c2aa6b2
BLAKE2b-256 checksum
How to use checksums
d296f187ee8a383b034ba59826730bf4ef5e73142ceedca286b9644ff229ccfc
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 Dec 4, 2026.

Transparency log

Release files / bioprofilekit-1.0.0-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl

Download URL bioprofilekit-1.0.0-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Size 1.7 MB
Tags CPython 3.13 Linux glibc 2.28+ x86-64 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
7e825f1e66e3d44165f6d4eb348784e0176a4cff12424815ed43990a2a015261
BLAKE2b-256 checksum
How to use checksums
4343061ef0bcbecdd0eca64908bc15dcbe235e0631203c1f361292e86a066729
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 Dec 4, 2026.

Transparency log

Release files / bioprofilekit-1.0.0-cp313-cp313-macosx_11_0_arm64.whl

Download URL bioprofilekit-1.0.0-cp313-cp313-macosx_11_0_arm64.whl
Size 1.4 MB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
0f3abe2f5005a713f09d396f350673be880e3c60c85188fa9b353b073bce4533
BLAKE2b-256 checksum
How to use checksums
4f21719ae0cee736e581804a550d00a1c9c2adef70f586eb9e9f16cd1e90e6d3
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 Dec 4, 2026.

Transparency log

Release files / bioprofilekit-1.0.0-cp313-cp313-macosx_10_13_x86_64.whl

Download URL bioprofilekit-1.0.0-cp313-cp313-macosx_10_13_x86_64.whl
Size 1.3 MB
Tags CPython 3.13 macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
64f76c1f53d56b7887b00d6ee6df4a14f94c7da2f348f98e20d62d0f5b6b9f81
BLAKE2b-256 checksum
How to use checksums
4b74b07005192ba8c07ed50da0f118d4f9e8038984d1bc0b1d1b24f64121a347
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 Dec 4, 2026.

Transparency log

Security for BioProfileKit 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

All 11 files in this release have been uploaded with provenance metadata.

Select from 11 files

Attestation for bioprofilekit-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 Dec 4, 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.

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