Skip to main content

BioSuite Ultra - Comprehensive open-source bioinformatics platform with 47 analysis modules, parallel processing, molecular cloning, plasmid maps, and virtual gel electrophoresis

Project description

BioSuite Ultra

Python License Tests Modules Lines Version DOI Cloning JOSS

The most comprehensive open-source bioinformatics platform.

BioSuite Ultra is a full-stack bioinformatics platform with 47 analysis modules, 26 visualization types (123 functions), a cyberpunk GUI, a 99+ option CLI, and SnapGene-killer molecular cloning tools โ€” all in pure Python. No external bioinformatics tools required. 100% free.


What's New in v4.2.0

  • Parallel Processing: Multi-threaded/multi-process execution for all modules
  • 100+ Restriction Enzymes: Expanded from 18 to 100+ enzymes
  • Better Bayesian Phylogeny: Real MCMC sampling with Jukes-Cantor model
  • Improved MD Simulation: Velocity Verlet integrator, Berendsen thermostat
  • Bug Fixes: 30+ bug fixes across all modules
  • Better Documentation: Comprehensive changelog and improved docs

๐Ÿš€ Quick Start

# Install
pip install biosuite-ultra

# Run GUI
python -m biosuite

# Or use Docker
docker pull sahandtkod/biosuite-ultra:latest
docker run -p 8000:8000 sahandtkod/biosuite-ultra

Binder: Binder


Features

47 Analysis Modules

Domain Modules Coverage
Sequence Analysis FASTA/FASTQ I/O, GC%, translation, reverse complement, ORF finder, primer design, restriction enzymes, codon usage 85%
Alignment Needleman-Wunsch, Smith-Waterman, BLAST (k-mer), MSA (progressive + Clustal/MUSCLE/MAFFT) 75%
Phylogenetics p-distance, UPGMA, NJ, ML (RAxML/IQ-TREE), Bayesian (MrBayes + MCMC) 90%
Transcriptomics CPM/TPM/DESeq2 normalization, differential expression (NB GLM), GO/KEGG enrichment 70%
NGS/Genomics BAM/VCF parsing, read alignment (BWA/Bowtie2), variant calling, SV/CNV detection 70%
Single-Cell Scanpy-based scRNA-seq pipeline (QC, normalization, PCA, UMAP, clustering) 85%
Proteins PDB analysis, ESMFold structure prediction, molecular docking 55%
Epigenomics Bisulfite methylation, DMR detection, ATAC-seq peak analysis 45%
Metagenomics K-mer classifier, 16S rRNA pipeline, alpha/beta diversity 70%
Metabolomics Peak detection, ANOVA, feature alignment, PCA 55%
Population Genetics HWE, FST, Tajima's D, LD, PCA, nucleotide diversity 75%
CRISPR Guide RNA design, PAM finding (SpCas9, SaCas9, Cas12a), off-target scoring 75%
Metabolism Flux balance analysis (FBA), knockout simulation 60%
Machine Learning Random Forest, SVM, SHAP, cross-validation, feature selection 55%
Workflow Pipeline builder, batch processor, HTML report generator 85%
GO/Pathways GO browser, pathway visualization (KEGG-style maps) 65%
GWAS Chi-squared test, Manhattan/QQ plots, lead SNP detection 75%
Epitope Prediction T-cell (MHC binding), B-cell (surface propensity), linear epitopes 75%
Molecular Cloning Plasmid maps, restriction digest, virtual gel, PCR simulation, ligation, Gibson assembly 90%
Parallel Processing Multi-threaded execution, batch processing, progress tracking NEW

Molecular Cloning Tools ๐Ÿงฌ

BioSuite includes a complete molecular cloning suite โ€” features that SnapGene charges $350/year for:

Tool Description SnapGene Equivalent
Restriction Digest Simulate single/double digests with 100+ enzymes โœ… Same
PCR Simulation Primer annealing, extension, cycling with Tm calculation โœ… Same
Ligation Insert:vector ratios, T4 ligase efficiency โœ… Same
Gibson Assembly Overlap-based cloning design โœ… Same
Plasmid Maps Circular rendering with annotated features โœ… Same
Virtual Gel Agarose gel simulation from digest results โœ… Same
Sequence Viewer Linear display with feature highlighting โœ… Same

All FREE. No subscriptions. No trials. No limits.

Parallel Processing โšก

Process large datasets faster with built-in parallel execution:

from biosuite.core.parallel import parallel_map, parallel_gc_content
from biosuite.core.sequence import gc_content

# Process 10,000 sequences in parallel
sequences = ["ATCG...", "GCTA...", ...]  # 10,000 sequences
gc_values = parallel_gc_content(sequences, workers=8)

# Or use the batch processor for large datasets
from biosuite.core.parallel import ParallelBatchProcessor
processor = ParallelBatchProcessor(workers=4)
results = processor.process(gc_content, sequences, batch_size=1000)
print(f"Processed {processor.stats['completed']} sequences in {processor.stats['time']:.1f}s")

100+ Restriction Enzymes ๐Ÿงช

Full database of Type II restriction enzymes used in molecular biology:

from biosuite.core.utils import RESTRICTION_ENZYMES, RESTRICTION_ENZYMES_SITES

# List all available enzymes
print(f"Available enzymes: {len(RESTRICTION_ENZYMES)}")

# Get enzyme recognition site
site = RESTRICTION_ENZYMES_SITES['EcoRI']  # 'GAATTC'

# Use in restriction digest
from biosuite.core.cloning import simulate_digestion
result = simulate_digestion(plasmid_seq, enzyme='EcoRI')

36+ Visualization Types

Volcano, PCA, Manhattan, MA, Venn, Barplot, Boxplot, Heatmap, Scatter, Time Series, QQ-plot, Clustered Heatmap, Circos, Alignment Viewer, Violin, Raincloud, Ridge, Dot Plot, GSEA, Motif Logo, Sankey, UMAP, Network (PPI/Regulatory/Metabolic), UpSet, Genome Browser, Interactive (Plotly), Sequence Logo, Conservation, Synteny Dotplot, Plasmid Map, Virtual Gel, and more.

Dual-Mode Architecture

Every module follows a consistent pattern:

def analyze(input, ...):
    # Try external tool first (fast)
    if _has_external_tool():
        return _run_external(input, ...), {"engine": "external"}
    # Fall back to pure Python (always works)
    return _run_builtin(input, ...), {"engine": "builtin"}

Cyberpunk GUI

  • 29 analysis tabs with scrollable sidebar
  • 3 themes: Dark-Green-Cyber, Dark-Purple-Cyber, Light-Blue-Cyber
  • Keyboard shortcuts (Ctrl+S, Ctrl+Q, F1, F5, Escape)
  • Progress bars for long operations
  • Plot history (last 10 plots)
  • API key configuration panel
  • 15 built-in help guides
  • Molecular cloning tab with plasmid viewer

CLI with 99+ Options

Professional CLI menu with organized sections for every analysis type.


Installation

Via PyPI (recommended)

pip install biosuite-ultra

Install with all optional features

pip install "biosuite-ultra[full]"

Windows Users โ€” If pip install fails on pysam

pysam needs C build tools. Two options:

Option A: Visual Studio Build Tools

  1. Download: https://visualstudio.microsoft.com/visual-cpp-build-tools/
  2. Run installer โ†’ select "Desktop development with C++" โ†’ Install
  3. Open "x64 Native Tools Command Prompt for VS" (search in Start Menu)
  4. Run: pip install pysam

Option B: Use Conda (easier)

  1. Install Anaconda: https://anaconda.com/download
  2. Run: conda install -c bioconda pysam

From source

git clone https://github.com/sahandtkod-byte/BioSuite-Ultra.git
cd BioSuite-Ultra
pip install -r requirements.txt

Quick Start

CLI Mode

python run.py

GUI Mode

python run.py --gui

REST API

python -m biosuite.api.server
# Open http://localhost:8000/docs for Swagger UI

Authentication: All endpoints require an X-API-Key header. Admin endpoints (/api/v1/admin/*) additionally require a JWT Authorization: Bearer <token> obtained from /api/v1/admin/login. Requests are rate-limited to 100/minute. See API_GUIDE.md for setup and env vars.

Programmatic API

Basic Sequence Analysis

from biosuite.core.sequence import gc_content, reverse_complement, translate

gc = gc_content("ATCGATCG")  # 50.0
rc = reverse_complement("ATCG")  # "CGAT"
protein = translate("ATGAAATTTTAA")  # "MKF"

Parallel Processing

from biosuite.core.parallel import parallel_align_pairs

# Align 1000 sequence pairs in parallel
pairs = [("ATCG", "ATCG"), ("GCTA", "GCTA"), ...]  # 1000 pairs
results = parallel_align_pairs(pairs, algorithm='needleman_wunsch', workers=8)

Molecular Cloning

from biosuite.core.cloning import simulate_digestion, simulate_pcr

# Restriction digest with 100+ enzymes
result = simulate_digestion(plasmid_seq, enzyme="EcoRI")
print(f"Generated {len(result['fragments'])} fragments")

# PCR simulation
pcr_result = simulate_pcr(template, forward_primer, reverse_primer, cycles=30)
print(f"PCR product: {pcr_result['product_size']} bp")

CRISPR Guide Design

from biosuite.core.crispr import design_guides

result = design_guides(target_sequence, pam_type='SpCas9', guide_length=20)
for guide in result.guides[:5]:
    print(f"{guide.sequence} (score={guide.score:.3f})")

Differential Expression

from biosuite.core.expression import differential_expression

result = differential_expression(counts_df, conditions=['ctrl', 'ctrl', 'treat', 'treat'])
print(f"Up-regulated: {result['num_upregulated']}")
print(f"Down-regulated: {result['num_downregulated']}")

Plasmid Maps

from biosuite.plotting.plasmid_map import create_sample_plasmid, draw_plasmid

fig = create_sample_plasmid()
fig.savefig("pUC19_map.png", dpi=150)

Architecture

BioSuite-Ultra/
โ”œโ”€โ”€ biosuite/                  # Main package (84 files, 26,000+ lines)
โ”‚   โ”œโ”€โ”€ core/                    # 45 analysis modules
โ”‚   โ”‚   โ”œโ”€โ”€ parallel.py          # Parallel processing utilities
โ”‚   โ”‚   โ”œโ”€โ”€ sequence.py          # FASTA/FASTQ I/O, GC%, translation
โ”‚   โ”‚   โ”œโ”€โ”€ alignment.py         # NW/SW alignment, MSA
โ”‚   โ”‚   โ”œโ”€โ”€ blast.py             # Sequence similarity search
โ”‚   โ”‚   โ”œโ”€โ”€ assembly.py          # Genome assembly
โ”‚   โ”‚   โ”œโ”€โ”€ ngs.py               # NGS analysis (BAM/VCF)
โ”‚   โ”‚   โ”œโ”€โ”€ crispr.py            # CRISPR guide design
โ”‚   โ”‚   โ”œโ”€โ”€ cloning.py           # Molecular cloning
โ”‚   โ”‚   โ”œโ”€โ”€ expression.py        # Differential expression
โ”‚   โ”‚   โ”œโ”€โ”€ databases.py         # Database searches
โ”‚   โ”‚   โ”œโ”€โ”€ ...                  # 35+ more modules
โ”‚   โ”‚   โ””โ”€โ”€ utils.py             # Shared utilities (100+ enzymes)
โ”‚   โ”œโ”€โ”€ plotting/                # 13 visualization modules
โ”‚   โ”œโ”€โ”€ gui/                     # Cyberpunk GUI (29 tabs)
โ”‚   โ”œโ”€โ”€ cli/                     # CLI menu (99+ options)
โ”‚   โ”œโ”€โ”€ api/                     # REST API (42+ endpoints)
โ”‚   โ””โ”€โ”€ notebook/                # Jupyter integration
โ”œโ”€โ”€ tests/                       # 1,089+ tests
โ”œโ”€โ”€ examples/                    # 8 tutorials + 5 notebooks
โ”œโ”€โ”€ docs/                        # Sphinx documentation
โ”œโ”€โ”€ run.py                       # Entry point
โ”œโ”€โ”€ pyproject.toml               # Package configuration
โ”œโ”€โ”€ Dockerfile                   # Multi-stage Docker build
โ”œโ”€โ”€ docker-compose.yml           # Multi-service Docker Compose
โ””โ”€โ”€ CHANGELOG.md                 # Version history

Dependencies

Core (required)

numpy>=1.24, pandas>=2.0, matplotlib>=3.7, seaborn>=0.12
scipy>=1.10, scikit-learn>=1.3, customtkinter>=5.2
tqdm>=4.65, biopython>=1.81, networkx>=3.0, plotly>=5.0

Optional (for specific modules)

goatools>=1.3, gseapy>=1.0, cutadapt>=4.0
scanpy>=1.9, anndata>=0.9, scikit-bio>=0.5
shap>=0.42, statsmodels>=0.14, umap-learn>=0.5
fastapi>=0.100, uvicorn>=0.23

External Tools (optional, for speed)

BLAST+, Clustal Omega, MUSCLE, MAFFT
BWA, Bowtie2, FreeBayes, MACS2
RAxML, IQ-TREE, MrBayes
SPAdes, MEGAHIT, Kraken2
AutoDock Vina, OpenMM

Testing

# Run all tests
python -m pytest tests/ -v

# Run with coverage
python -m pytest tests/ --cov=biosuite --cov-report=html

# Run parallel tests
python -m pytest tests/ -n auto

Docker

# Build and run CLI
docker-compose up biosuite

# Build and run REST API
docker-compose up biosuite-api

# Build and run Jupyter
docker-compose up jupyter

Contributing

See CONTRIBUTING.md for guidelines.


License

MIT License - see LICENSE for details.


Citation

If you use BioSuite Ultra in your research, please cite:

DOI

@software{biosuite2026,
  author = {Sahand Touri},
  title = {BioSuite Ultra: Comprehensive Open-Source Bioinformatics Platform},
  year = {2026},
  version = {4.2.0},
  doi = {10.5281/zenodo.21256296},
  url = {https://github.com/sahandtkod-byte/BioSuite-Ultra}
}

Links


Contributors

We thank the following people for their contributions to BioSuite Ultra:

  • Faiz Mulla (@faizmullaa) โ€” India โ€” REST API authentication and rate limiting

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

biosuite_ultra-4.2.0.tar.gz (366.1 kB view details)

Uploaded Source

Built Distribution

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

biosuite_ultra-4.2.0-py3-none-any.whl (308.2 kB view details)

Uploaded Python 3

File details

Details for the file biosuite_ultra-4.2.0.tar.gz.

File metadata

  • Download URL: biosuite_ultra-4.2.0.tar.gz
  • Upload date:
  • Size: 366.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for biosuite_ultra-4.2.0.tar.gz
Algorithm Hash digest
SHA256 6a731a7db3b710c1ed95e6df2f1d9b3890a877e5339dbc3e696efb9a2694838d
MD5 df553652477c6460ed8ab15de372eca0
BLAKE2b-256 48d6adf387656a4c4ccd35daffc65755aa2c845c931aff6f2ced23c6a8065a92

See more details on using hashes here.

File details

Details for the file biosuite_ultra-4.2.0-py3-none-any.whl.

File metadata

  • Download URL: biosuite_ultra-4.2.0-py3-none-any.whl
  • Upload date:
  • Size: 308.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for biosuite_ultra-4.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 53530884210cb21e50d21ce80057165bba52913db28208ba139aa21cc3beb106
MD5 b404a58a43ef30a5e6c23332461ea35c
BLAKE2b-256 f9d3ddf57392a11a5bd0b5c4612433efca282e03f2e56de9cda0c9e0420a4b60

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