BioProfileKit
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.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| bioprofilekit-1.0.3.tar.gz | 1.2 MB | With provenance | Details for bioprofilekit-1.0.3.tar.gz |
Built distributions (wheels)
Total release size: 16.2 MB
Release files / bioprofilekit-1.0.3.tar.gz
| Download URL | bioprofilekit-1.0.3.tar.gz |
|---|---|
| Size | 1.2 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f6263caae6b49e4a04cb17d92d5b3cbc00fd0ec62d12f8de46c7727982eaf6c4
|
|
BLAKE2b-256 checksum How to use checksums |
4e6dfa1c582b77ad137827396086905ce53c2d18a8d18ed5ddf22bf2b7cdc554
|
| 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 logRelease files / bioprofilekit-1.0.3-cp314-cp314-win_amd64.whl
| Download URL | bioprofilekit-1.0.3-cp314-cp314-win_amd64.whl |
|---|---|
| Size | 1.3 MB |
| Tags | CPython 3.14 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
b33930be82dd23302428a9530638e80297919528a71a29c89f1ea11ad2b6776f
|
|
BLAKE2b-256 checksum How to use checksums |
d735adbd7b3b20b62d1bd630268bd3159ad5abf65010afb9c795abea23687220
|
| 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 logRelease files / bioprofilekit-1.0.3-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
| Download URL | bioprofilekit-1.0.3-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 |
3303300dd8ff57bf46e6e75bfec1b23c8167da6852a266e7396ca04f894a8fec
|
|
BLAKE2b-256 checksum How to use checksums |
13c131e7c33b02e23a8978fb6887fc5784a7327c753aab900835563d9857e9e2
|
| 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 logRelease files / bioprofilekit-1.0.3-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
| Download URL | bioprofilekit-1.0.3-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 |
edec66d3597584e71c622ccbc6c6742ab3ce83f61c5dfac52ca880ffdca6d9e1
|
|
BLAKE2b-256 checksum How to use checksums |
79ead4efd15567bc06394dc1dd33ede82b6862b4b2f86c2eb1a6b80bc457a722
|
| 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 logRelease files / bioprofilekit-1.0.3-cp314-cp314-macosx_11_0_arm64.whl
| Download URL | bioprofilekit-1.0.3-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 |
85dc676412fbfb47d77e59ede974b0a951ebae48817b395f9da6ab45b0c35457
|
|
BLAKE2b-256 checksum How to use checksums |
350dc820ba9a4fb7a941cd1ccd048797a27b5b5a8cc28282223bb6b126cba91b
|
| 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 logRelease files / bioprofilekit-1.0.3-cp314-cp314-macosx_10_15_x86_64.whl
| Download URL | bioprofilekit-1.0.3-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 |
6cd97c327345e521de6e3ceb3048562c0b4715f7f6c50e99ec67f2663aebd108
|
|
BLAKE2b-256 checksum How to use checksums |
2bd28de6ea89a67a68ae674b8af9f3f30aa60192a893bb495cde94f78bd20242
|
| 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 logRelease files / bioprofilekit-1.0.3-cp313-cp313-win_amd64.whl
| Download URL | bioprofilekit-1.0.3-cp313-cp313-win_amd64.whl |
|---|---|
| Size | 1.3 MB |
| Tags | CPython 3.13 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
f32edb00f99a929ea222b7baccb656e68db6eaaa833d12a17028747a896e2b53
|
|
BLAKE2b-256 checksum How to use checksums |
7c9bf23174ef9e5202c8d79e41983bb2be05912e934b94dffb7b9e8966463fb8
|
| 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 logRelease files / bioprofilekit-1.0.3-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
| Download URL | bioprofilekit-1.0.3-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 |
3c638a81c04e60424a7489211f442e863a7c662921d096df29e4e60dda8f59e3
|
|
BLAKE2b-256 checksum How to use checksums |
3ac2199653353db4c8a6e721b0ca1a949908f933b0f87ba42ad9e89af774ce7b
|
| 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 logRelease files / bioprofilekit-1.0.3-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
| Download URL | bioprofilekit-1.0.3-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 |
2bd144604407572ad746638e3cd469abf5d49454b68d9e9cfd0ccf8a6cb41b63
|
|
BLAKE2b-256 checksum How to use checksums |
693f7399dcafb6af58aa449397b4ad143c0bf444191a74a8351322d05b6768be
|
| 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 logRelease files / bioprofilekit-1.0.3-cp313-cp313-macosx_11_0_arm64.whl
| Download URL | bioprofilekit-1.0.3-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 |
35a497bfbb531e3b29046f5a3355a36f84478ee6be3f01d1d3664f07fa751e1a
|
|
BLAKE2b-256 checksum How to use checksums |
62a4c3a66a6c812c8bf40b158137ee4ae29407f567995c62e71dac6450d45c3e
|
| 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 logRelease files / bioprofilekit-1.0.3-cp313-cp313-macosx_10_13_x86_64.whl
| Download URL | bioprofilekit-1.0.3-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 |
68ace3a788f4ce4500212a6e4fee01521325cab3808d6640bb5a67bc7e275848
|
|
BLAKE2b-256 checksum How to use checksums |
65e3fc32d70eb5117ec9d78006a5e104fa81be00187fe6b6a6a07ffaabf70afa
|
| 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 logSecurity for BioProfileKit 1.0.3
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.
Attestation for bioprofilekit-1.0.3.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 logA 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.