pg_bio Video Library & Interactive 3D Multiomics Explorer

SERIES 01 β€’ INTERACTIVE VIDEO LIBRARY & 3D STUDIO

🧬 Hello World, pg_bio! β€” Biotech & Multiomics in PostgreSQL

Navigate the interactive HTML lessons, rotate real 3D protein structures in 3Dmol.js, toggle between βš™οΈ Systems Engineer and 🧬 Structural Biologist mental models, and keep the πŸ”Š Voiced Hovering Video Companion floating in the corner as you explore.

Episode 01 β€’ Central Dogma & GiST

Ep 1: Hello World, pg_bio! The Central Dogma in SQL

βš™οΈ Systems Engineering Lens: PostgreSQL 1D int4range GiST overlap (&&) and distance (<->) operators scan billions of base pairs, while single-pass Rust byte slices compute bio_translate_dna(), isoelectric_point(), and gravy_score() in 200 ns.

πŸ’» Live PostgreSQL 18 Query

bio_demo=# SELECT
    bio_translate_dna('ATGTTCGAAGGTTTCGAACGTCGT')             AS peptide_seq,
    round(isoelectric_point('MFEGFERRLVDWPSTDK')::numeric, 2) AS pI_charge,
    round(gravy_score('MFEGFERRLVDWPSTDK')::numeric, 3)       AS hydropathy,
    round(sequence_entropy('MFEGFERRLVDWPSTDK')::numeric, 3)  AS shannon_bits,
    prosite_match('MFEGFERRLVDWPSTDKHCH', 'H-x-H')            AS metal_motif
WHERE int4range(10500, 11800) <-> int4range(8000, 9200) < 5000;

πŸ”¬ Interactive 3D Structure Stage (3Dmol.js)

πŸ’‘ Interactive 3D Teaching Stage: Use the buttons above (or click any Act in the hovering video player!) to highlight active sites, 3D Morton B-Tree bounding spheres, and hydrophobic cores while listening to the voiceover.

πŸ“Ί Series 01 Episodes β€” Click Any Episode to Load Video, SQL & 3D View

Episode 01 200x faster (~200 ns/protein)

Ep 1: Hello World, pg_bio! The Central Dogma in SQL

DNA → RNA → Protein compilation, 1D int4range GiST genomic safe harbors, Henderson-Hasselbalch isoelectric_point, and Kyte-Doolittle gravy_score.

πŸ§ͺ Standalone Studio HTML πŸ“– Blog: Introducing pg_bio
Episode 02 120x faster (Zero KD-Tree build)

Ep 2: From 1D Strings to 3D Atoms with Morton Curves

How z_order_encode(x, y, z) weaves 3D Angstrom coordinates into a 64-bit B-Tree integer and theozyme_rmsd runs 3×3 Jacobi SVD in SQL.

Episode 03 31.1x faster & 90% less RAM

Ep 3: Transcriptomics & CSR Sparse Attention Graphs

Compressing 20-billion-cell single-cell RNA matrices and 500 ns MD free-energy networks into SparseAttentionMap CSR arrays to uncover cryptic pockets.

Episode 04 2.34M proteins in 0.4 ms

Ep 4: The Multiomics Holy Grail β€” Vectors & Live UniProt

1280-D halfvec HNSW cosine search (<=>), Twilight-Zone Smith-Waterman DP re-ranking, and live REST enrichment via bio_fetch_uniprot().

πŸ”Š Ep 1: Central Dogma in SQL