With 20+ years of experience, I specialize in database optimization, system architecture, and performance tuning large-scale applications.
Currently working as a Senior Software Engineer at Hubstaff, and former Developer Advocate at Timescale.
I'm also a community builder, a cyclist and a permaculture enthusiast.
Featured Content
Latest Talks
Explore my recent presentations at conferences and meetups around the world.
View TalksInteractive Hub & Tools
Apps & Playgrounds
Check out the interactive tools directory, featuring the Semantic Learning journey, full-screen Drawing Recorder, 7m Geodesic Dome Builder, and the new Truck Camper Bamboo Builder.
Explore AppsMandala Drawings
Explore the Mandala Synth and Playground. Draw mandalas, sonify visuals, and experiment with complex geometries mapped to audio.
Launch PlaygroundLatest Post
De-Orphanizing Modular Secretion Machinery in the Dark Proteome: A 0.64 Å Structural Match Across Extreme Halophiles
October 14, 2026 bioinformatics pgvector machine-learning structural-biology alphafold
Over the past four days, our autonomous pg_bio Swarm daemon has expanded the dark proteome correlation graph to 60,606 edges (25,079 fully Explored, 940 actively Exploring, and 34,587 Pending across 22 protein families). When mining a graph of this scale, raw cosine distance alone is only the first filter—the real breakthrough happens when we combine high-dimensional vector search with in-database Smith-Waterman alignment (sequence_alignment_score), tri-peptide structural hashing (get_esm_embedding), and 3D atomic superposition.
Today, that multi-modal pipeline surfaced the strongest non-identical cross-genus structural match in the entire 60,606-edge graph: two 371–372 amino acid proteins—A0A8J8PAH9 from the terrestrial hypersaline archaeon Halonotius terrestris and A0A5D5AJJ1 from the haloalkaliphilic archaeon Natrialba swarupiae. Although both entries sit in UniProtKB/TrEMBL under the generic label “Uncharacterized protein” (ECO:0000313), deep structural and domain dissection reveals that they are modular two-domain membrane secretion/conjugation nanomachines (PrgI-like transmembrane needle + TraC-like assembly core) whose 208-residue globular cores superimpose at an astonishing 0.64 Å RMSD!
Hybrid Vector + Smith-Waterman SQL Query in pg_bio
To isolate true multi-domain structural orthologs rather than short peptide fragments or low-complexity coils, we queried bio_demo directly inside PostgreSQL by combining the Swarm’s HNSW vector distance (<=>), native Rust tri-peptide structural embeddings (get_esm_embedding()), molecular mass (molecular_weight()), Shannon sequence complexity (sequence_entropy()), and SIMD Smith-Waterman local alignment (sequence_alignment_score()):
SELECT
d.id AS discovery_id,
d.bait_id,
d.orphan_id,
LENGTH(p1.sequence) AS bait_len,
LENGTH(p2.sequence) AS orphan_len,
ROUND(molecular_weight(p1.sequence)::numeric / 1000.0, 2) AS bait_kda,
ROUND(molecular_weight(p2.sequence)::numeric / 1000.0, 2) AS orphan_kda,
ROUND(sequence_entropy(p1.sequence)::numeric, 3) AS bait_entropy,
ROUND(sequence_entropy(p2.sequence)::numeric, 3) AS orphan_entropy,
ROUND(d.vector_distance::numeric, 4) AS swarm_vdist,
ROUND(embedding_cosine_distance(
get_esm_embedding(p1.sequence),
get_esm_embedding(p2.sequence)
)::numeric, 4) AS esm_tripeptide_dist,
sequence_alignment_score(p1.sequence, p2.sequence) AS sw_score,
ROUND((
ROW(p1.embedding, p1.sequence)::bio_feature <~>
ROW(p2.embedding, p2.sequence)::bio_feature
)::numeric, 4) AS hybrid_score
FROM orphan_discoveries d
JOIN proteins p1 ON p1.uniprot_id = d.bait_id
JOIN proteins p2 ON p2.uniprot_id = d.orphan_id
WHERE d.bait_id != d.orphan_id
AND p1.sequence != p2.sequence
AND LENGTH(p1.sequence) >= 300
AND ABS(LENGTH(p1.sequence) - LENGTH(p2.sequence)) <= 10
ORDER BY esm_tripeptide_dist ASC, sw_score DESC
LIMIT 1;
Complete Biochemical, Taxonomic & 3D Structural Metadata
Before examining the 3D coordinates, let’s inspect the complete multi-omics metadata profile we extracted for both proteins across pg_bio, UniProtKB, InterPro/Pfam, Phobius, and PyMOL 3D superposition:
| Property / Metric | Bait: A0A8J8PAH9 |
Discovery: A0A5D5AJJ1 |
Structural & Evolutionary Interpretation |
|---|---|---|---|
| UniProtKB Status | Uncharacterized (TQQ79127.1) |
Uncharacterized (TYT60997.1) |
Both are unannotated dark-proteome TrEMBL entries |
| Source Organism | Halonotius terrestris | Natrialba swarupiae | Cross-family archaeal divergence |
| Taxonomic Family | Haloferacaceae | Natrialbaceae | Distinct families within order Halobacteriales |
| Native Habitat | Terrestrial hypersaline soils & salt lakes (neutral pH) | Hypersaline soda environments (haloalkaliphilic, high pH) | Adaptation from neutral brine to alkaline brine |
| Sequence Length | 371 aa | 372 aa | Near-identical full-length polypeptide chain (Δ = 1 aa) |
Molecular Weight (pg_bio) |
42,044.2 Da (42.04 kDa) |
42,142.0 Da (42.14 kDa) |
Conserved mass within 97.8 Da (< 0.25% variance) |
Shannon Entropy (pg_bio) |
4.063 bits | 4.103 bits | High sequence complexity (near theoretical 4.32-bit maximum) |
Acidic Residues (ASP + GLU) |
17.8% (66 residues) | 16.9% (63 residues) | Dense negative surface charge for 4M $\text{KCl}/\text{NaCl}$ solvation |
Basic Residues (LYS + ARG + HIS) |
12.1% (45 residues) | 11.6% (43 residues) | Depleted basic content typical of “salt-in” halophiles |
Hydrophobic Core (A,I,L,M,F,W,V) |
38.3% (142 residues) | 36.6% (136 residues) | Balanced hydrophobic packing for transmembrane + globular fold |
Secondary Structure (PyMOL dss) |
179 aa Helix (48.2%), 41 aa Sheet (11.1%), 151 aa Coil |
174 aa Helix (46.8%), 41 aa Sheet (11.0%), 157 aa Coil |
Exact same 41-residue $\beta$-sheet count in both species! |
| Transmembrane Helices (Phobius) | TM1: 28–47, TM2: 53–72 (Helical hairpin) |
TM1: 30–48 (Membrane anchor) |
N-terminal membrane insertion anchor |
Module 1: PrgI-like Domain |
PF26592 / IPR058597 (resi 19–94, 76 aa) |
PF26592 / IPR058597 (resi 21–97, 77 aa) |
Secretion needle / cell-envelope channel module |
| Inter-Domain Flexible Hinge | resi 95–133 (39 aa linker) | resi 98–126 (MobiDB-lite disordered pivot) | Mechanical hinge allowing relative domain rotation |
Module 2: TraC-like Domain |
PF26593 / IPR058596 (resi 134–342, 209 aa) |
PF26593 / IPR058596 (resi 139–345, 207 aa) |
Conjugative pilus / macromolecular assembly core |
| Mean AlphaFold v6 pLDDT | 71.4 global (76.9 in TraC-like core) |
72.9 global (82.5 in TraC-like core) |
High confidence in folded domains; low pLDDT in flexible hinge |
Swarm Vector Distance (<=>) |
0.0000 (Reference) |
0.0606 |
High-confidence Swarm graph edge (id = 51023) |
| Tri-Peptide Cosine Distance | 0.0000 (Reference) |
0.5610 |
#1 closest non-identical match in the 60,606-edge graph |
Smith-Waterman Score (pg_bio) |
— | 546 |
Massive local alignment homology across 366 residues |
TraC-like Core 3D RMSD (super) |
— | 0.64 Å (1,079 atoms) / 2.22 Å (all 207 aa) |
Sub-angstrom atomic lock across the catalytic/assembly core |
PrgI-like Needle 3D RMSD (super) |
— | 0.84 Å (367 atoms) / 2.60 Å (all 76 aa) |
Sub-angstrom conservation of the helical hairpin |
| Full-Protein 3D Superposition | — | 1.41 Å Core RMSD (248 $\text{C}\alpha$, TM = 0.779) |
1,717 heavy atoms align at 1.76 Å in PyMOL super |
Visual Architecture Map: A Two-Module Nanomachine Connected by a Flexible Hinge
Halonotius terrestris (A0A8J8PAH9 — 371 aa, 42.04 kDa)
[1..18]──[═══ PrgI-like Needle (PF26592: 19–94 | TM1:28-47, TM2:53-72) ═══]──(Hinge: 95–133)──[████ TraC-like Core (PF26593: 134–342 | 41-aa β-sheet) ████]──[343..371]
│ │
0.84 Å RMSD (367 atoms) 0.64 Å RMSD (1,079 atoms)
│ │
[1..20]──[═══ PrgI-like Needle (PF26592: 21–97 | TM1:30-48) ══════════════]──(Hinge: 98–138)──[████ TraC-like Core (PF26593: 139–345 | 41-aa β-sheet) ████]──[346..372]
Natrialba swarupiae (A0A5D5AJJ1 — 372 aa, 42.14 kDa)
Evolutionary & Structural Analysis: Why Two Modules?
In bacteria and archaea, moving macromolecules or DNA across a cell envelope requires two distinct physical functions:
- A membrane-spanning conduit (
PrgI-like,PF26592): Named after the needle protomer of Type III secretion systems, the N-terminalPrgI-likedomain (resi 19–94in Halonotius,resi 21–97in Natrialba) forms a tightly packed $\alpha$-helical hairpin that anchors directly into the archaeal lipid membrane. When aligned independently in PyMOL, the twoPrgI-likeneedles superimpose with an RMSD of just 0.84 Å across 367 atoms. - A soluble assembly/trafficking core (
TraC-like,PF26593): Separated from the membrane needle by a ~35-residue intrinsically disordered linker (resi 95–133/98–138), the C-terminalTraC-likedomain (resi 134–342/139–345) folds into a rigid 208-residue $\alpha/\beta$ globular core containing exactly 41 $\beta$-sheet residues in both organisms. Superimposing this 208-residue core yields a breathtaking 0.64 Å RMSD across 1,079 atoms (2.22 Åacross all 207 $\text{C}\alpha$ residues without pruning a single outlier!).
Because these two rigid modules are tethered by a flexible disordered hinge, raw unaligned PDB files from AlphaFold place the domains at different arbitrary orientations in 3D space. By running PyMOL super and Kabsch superposition (1.41 Å across 248 $\text{C}\alpha$ atoms, TM-score = 0.779), we bring both structures into the exact same 3D coordinate frame so their structural homology is immediately visible to the naked eye.
Interactive 3Dmol.js Validation & Chemistry Explorer
Both structures below (/assets/models/AF-A0A8J8PAH9.pdb and /assets/models/AF-A0A5D5AJJ1.pdb) have been pre-aligned in 3D coordinate space using PyMOL (super).
- Built-in
pg_bio_sync.jsControls: Double-click either 3D canvas to lock their cameras in synchronized rotation, click the fullscreen button in the top-right corner for a draggable split-screen comparison, or single-click any residue on one protein to highlight the corresponding residue number on its partner! - Swarm Web UI Deep Link: If you have the local Swarm UI running, open
http://localhost:8080/?node1=A0A8J8PAH9&node2=A0A5D5AJJ1to inspect this cell directly in the live correlation matrix.
371 aa | 42.04 kDa | Acidic: 17.8% | Helices: 179 aa | β-Sheet: 41 aa
PF26592: PrgI-like (19–94) PF26593: TraC-like (134–342)
372 aa | 42.14 kDa | Acidic: 16.9% | Helices: 174 aa | β-Sheet: 41 aa
PF26592: PrgI-like (21–97) PF26593: TraC-like (139–345)
super. Click "🧬 Toggle 3D Superposition Overlay" above to merge both proteins into the same 3D space and see the cyan (Halonotius) and magenta (Natrialba) ribbons lock together at 0.64 Å RMSD across the TraC-like core, or click the chemistry buttons to dissect their modular domains!
The Horizon: Future Research Ideas
What happens when we compare two nearly identical molecular machines that evolved in different chemical extremes?
The Bait (A0A8J8PAH9 from *Halonotius terrestris) can anchor a PrgI-like transmembrane conduit and drive TraC-like macromolecular assembly in neutral hypersaline soils, but fails when exposed to high-pH carbonate/soda brines where deprotonation destabilizes standard salt bridges—whereas our new Discovery (A0A5D5AJJ1 from haloalkaliphilic Natrialba swarupiae) performs the exact same modular function (0.64 Å core RMSD) under combined hypersaline and alkaline stress, making it a prime scaffold for high-pH industrial bioprocessing and synthetic cell-envelope engineering.*
Here are three concrete ways synthetic biologists and protein engineers can put this discovery to work:
- Alkaline-Tolerant Cell-Envelope Conduits for Halophilic Bioreactors: Industrial fermentation using halophilic chassis (such as Halomonas or Natrialba species grown in unsterile, high-pH seawater media to prevent contamination) requires robust secretion and conjugation machinery to export recombinant biopolymers or uptake plasmid DNA. Grafting the
A0A5D5AJJ1TraC-likeassembly domain (139–345) provides a pre-adapted haloalkaliphilic module that remains folded at high pH and molar salinity. - Rational Hinge Engineering for Modular Fusion Proteins: Because the 39-residue linker (
95–133/98–138) tethers a hydrophobic transmembrane hairpin (PrgI-like) to a hyper-acidic soluble domain (TraC-like) without misfolding or aggregating in 4M salt, this exact disordered peptide sequence is a natural, salt-proof flexible linker for tethering industrial enzymes to membrane anchors or immobilized biosensor surfaces. - Automated Multi-Domain De-Orphanization in PostgreSQL: Over 30% of archaeal proteomes remain labeled as “Uncharacterized protein” because sequence alignment scores get diluted across flexible linkers. Combining
pg_bio’s<~>hybrid operator with domain-level Kabsch superposition allows us to systematically annotate multi-domain dark proteome machinery directly from SQL.
This automated discovery was generated by the pg_bio continuous discovery script.
Check out more of our pipeline’s findings in the Bioinformatics discoveries section!