📖 Featured Interactive Release & 3D Structural Workbench: Read Introducing TeaFlon: The Pan-Organism Synthetic Biology Compiler to Cleave Forever Chemicals and Mineralize Synthetic Tooth Enamel on
ideia.me— featuring an interactive dual-viewport 3Dmol.js structural workbench (monomers,$100\text{ }^\circ\text{C}$ volcanic extremophile superpositions, and the folded 418-aa TriFusion chimera), an interactive Pan-Organism Atlas Explorer (7,338 proteinsacross930 species), and our Top 5 Wet-Lab Validation Protocols.🔗 Related Ecosystem Repositories:
jonatas/bio-pipelines— Generalizes TeaFlon's 4-module grammar into a declarative multi-feedstock bioprocess compiler & interactive RK4 Cascade Explorer across PTFE, PET plastics, sugarcane bagasse, and corn stover.jonatas/pg_bio— The native Rust + PostgreSQL 18 multiomics extension powering bothteaflonandbio-pipelines.
Primary Objective: Design synthetic proteins capable of digesting Polytetrafluoroethylene (PTFE / Teflon) and short-chain PFAS ("forever chemicals") and converting the released fluoride into a structured, ruby-red Fluorapatite (
PTFE is composed of long carbon chains saturated with fluorine atoms. The Carbon-Fluorine (C-F) bond is the strongest single bond in organic chemistry, making PTFE incredibly inert, highly hydrophobic, and notoriously difficult to degrade biologically.
To achieve this, the biological system needs to perform three distinct functions, likely requiring a highly engineered multi-enzyme complex or fusion protein:
-
Binding & Surface Disruption (The "Teflon Hook"): PTFE is extremely hydrophobic and water-repellent. The enzyme requires a highly hydrophobic binding domain—drawing inspiration from fungal hydrophobins or engineered plastic-binding domains (like those in PETases)—to anchor the catalytic machinery to the polymer surface.
-
Defluorination & Cleavage (The "Fluorine Scissor"): Breaking the C-F bonds and the carbon backbone requires a powerful catalytic center. We will look to nature's fluoroacetate dehalogenases (enzymes that break single C-F bonds) and potentially radical-based mechanisms (similar to lignin peroxidases or cytochrome P450s) to shear the tough polymer chain.
-
Biomineralization (The "Tooth Builder"): Free fluoride ions (
$F^-$ ) are toxic and must be sequestered. By engineering scaffolding proteins inspired by amelogenin (the protein that guides tooth enamel formation), the system will capture released fluoride along with environmental calcium and phosphate to precipitate Fluorapatite ($Ca_5(PO_4)_3F$ )—forming a hard bioceramic cluster.
- Phase 1: Mining & Template Discovery: Query biological databases (UniProt, PDB) to identify starting templates for dehalogenases, hydrophobic binding domains, and biomineralization scaffolds.
- Phase 2: AI-Driven Protein Design: Use tools like RFdiffusion and ProteinMPNN for de novo design and active site grafting, validated by AlphaFold 3 structure prediction.
- Phase 3: Molecular Docking & Simulation: Perform in silico molecular dynamics and docking simulations with PTFE oligomers to verify the predicted active sites.
- Phase 4: Biomineralization Coupling: Design the structural scaffold to couple the defluorinating enzyme with the bioceramic nucleation site.
- Phase 5: Experimental Validation: Synthesize genes, express in a host organism (e.g., E. coli or yeast), and test against PTFE nanoparticles to measure degradation and bioceramic precipitation.
This project uses uv for dependency management.
# Clone the repository
git clone https://github.com/jonatas/teaflon.git
cd teaflon
# Install dependencies (including PyMOL, PyTorch, Transformers, etc. if required)
uv syncWe have several PyMOL scripts available for rendering in-silico designs. Outputs are saved in the ./output/ directory:
uv run render_docking.py
uv run render_fusion.py
uv run render_trifusion.pyTeaFlon is officially the first application built on top of pg_bio.
During Phase 1 (Mining & Template Discovery), we utilize the pgbio-py SDK to perform hyper-fast vector homology searches across protein embedding spaces directly in Postgres. This allows us to instantly find homologous scaffolds for our Dehalogenase, Hydrophobin, and Amelogenin domains without massive memory overhead.
To run the template discovery pipeline:
- Ensure your local
pg_bioinstance is running (viadocker-compose up -din thepg_biodirectory). - Ensure you have the
PG_BIO_URLenvironment variable set if your database is remote (it defaults topostgresql://localhost:28818/bio_demo). - Run the template discovery script:
uv run find_templates.pyImportant: We strictly ensure no sensitive information (API keys, personal file paths) is committed to this repository. All environment variables should be stored locally in a .env file (which is ignored by Git).
Example .env file:
PG_BIO_URL=postgresql://localhost:28818/bio_demoWe have built and validated a complete, end-to-end 12-layer multiomics and wet-lab compiler using pg_bio across 7,338 proteins and 930 distinct organisms (spanning hyperthermophilic & halophilic Archaea, filamentous fungi, bacteria, plants, and mammals).
All scripts for this pipeline are located in pg_bio_multiomics_pipeline/ and the root workspace, and can be executed end-to-end via uv run teaflon:
-
Phase 1 Pan-Organism Mining (
find_templates.py): Queries the 2.34M protein space using HNSW<=>and the Smith-Waterman hybrid<~>operator across all 4 functional modules (Q1JU72Dehalogenase across 560 organisms,P79073Hydrophobin across 51 organisms,Q99217Amelogenin across 12 organisms, andP80093Carotenoid Reporter across 821 organisms). -
3D Structural, Theozyme & Globular Compactness Audit (
measure.py): Usesbio_parse_pdb,center_of_mass,bio_distance,bio_angle,theozyme_rmsd(..., 'q1ju72_dehalogenase_hexad')(0.0000 Å), andevaluate_globular_compactness(verifying all 418 CA atoms of the TriFusion fold at82.9mean pLDDT and1.030Flory globular ratio without PyMOL). -
Multi-Host Wet-Lab Expression Cassette Compiler (
orca_dna_prep.py): Usesbio_reverse_translate,bio_codon_adaptation_index, andbio_design_expression_cassetteto generate and round-trip verify 9 wet-lab expression plasmids (E. coli BL21, B. subtilis, P. putida, C. necator, S. cerevisiae, P. pastoris, H. salinarum at 71.6% GC, S. acidocaldarius, and H. sapiensKRT14). -
In-Database ISE & Fluorapatite Digital Twin (
digital_twin_defluorination.py): Usessimulate_defluorination_kineticsinpg_bioto model 48-hour fluoride release (150.0 ppm [F⁻]) and stoichiometric$\text{Ca}_5(\text{PO}_4)_3\text{F}$ precipitation (3,981 mg/L). -
Step 1 Genomics (
step1_genomics.py): Uses 1D PostgreSQLint4rangeGiST indexes to identifySafeLocus_Bon Chromosome 17 adjacent to theKRT14promoter with zeroTP53/BRCA1overlap. -
Step 2 Proteomics (
step2_folding.py): Uses Morton Z-Order curves (z_order_encode) to isolate the 3DARG_BINDkeratin-binding pocket in< 2 ms. -
Step 3 Transcriptomics (
step3_transcriptomics.py): Uses Compressed Sparse Row (CSR) parallel arrays to verify single-cell dosage inside the Goldilocks zone (34.99copies in keratinocytes vs0.49in osteoblasts). -
Step 4 Visual Reporter (
step4_visual_reporter.py): Mines extremophile Archaea structural homologs of the Capsicum annuum carotenoid pathway (GGPPS,PSY,PDS) for the ruby-red lycopene bioceramic watermark. -
Step 5 Multi-Domain LC-MS/MS Proteomics (
step5_proteomics_ms.py): Validates all 4 TriFusion domains (Dehalogenase N-term,Dehalogenase Tryptic Active Site,Hydrophobin Core, andAmelogenin C-Tag) usingparse_mgf,generate_theoretical_fragments,isotope_fit_score, and Elias-Gygi tryptic decoys (13.2xto96.1xtarget/decoy discrimination). -
Step 6 Pan-Organism Atlas & 12-Layer Audit (
step6_pan_organism_wetlab.py): Buildsteaflon_organism_atlas(7,338 proteins / 930 organisms) and executes VCF clinical safety (parse_vcf), PFAS SMILES Tanimoto screening (%), MD preorganization (ensemble_fraction_below), and MM/PBSA thermodynamic auditing (audit_mmpbsa_decomposition,discover_cryptic_hotspots). -
Automated Validation Suite (
test_pipeline.py) & CLI Dashboard (teaflon_compiler.py): Runs all 8 multiomics & wet-lab assertions in< 1 second.
To guarantee that the newly engineered bioceramic can be easily distinguished from natural bone, tooth enamel, or surrounding environment, we implemented a Biological Watermark.
Using the pg_bio HNSW index, we mined the structural twins of the red carotenoid pathway from the Bell Pepper (Capsicum annuum). We mapped the fragile plant enzymes (GGPPS, PSY, PDS) to industrial-strength extremophile Archaea analogs. By co-expressing this robust red pigment cassette alongside the Teaflon mineralizer, the system precipitates Lycopene directly into the crystalline matrix.
The result: A ruby-red bioceramic that provides instant, naked-eye visual verification of successful Teflon degradation and bone synthesis.
All 9 multi-host Golden Gate expression cassettes (100% BsaI-free, CAI 1.000) are exported in teaflon_multihost_plasmids.fasta to physically validate TeaFlon across 5 orthogonal experimental stages (detailed in our Interactive TeaFlon Intro & Wet-Lab Blueprint):
| Wet-Lab Stage | Target Host / Chassis | Primary Instrumentation | Quantitative Pass/Fail Gate |
|---|---|---|---|
| 1. Disulfide Folding & 4-Domain Proteomics QC |
Komagataella phaffii (P. pastoris AOX1, 1,902 bp) & E. coli SHuffle® T7 (1,393 bp) + GroEL/GroES
|
Intact LC-MS, DTNB Ellman's Assay, Bottom-Up Trypsin LC-MS/MS | Intact MW 45,672 Da (LYSDPAQISR, HGGDWTIVK, VLVIGTGSAGLAAAR, WPSTDKTK) detected at 0.0% FDR
|
| 2. PTFE Surface Wetting & Adsorption Kinetics | Purified 418-aa TeaFlon TriFusion vs. Wild-Type Q1JU72 Monomer |
Contact-Angle Goniometer & QCM-D (Teflon AF 1600 Quartz Sensors) | PTFE water contact angle drops from |
| 3. 48-Hour Defluorination Kinetics | Mesophilic Q1JU72 TriFusion (A1RTA7 Chimera ( |
Thermo Orion™ Fluoride ISE & |
150 ppm at 48h) and Q1JU72 on short-chain PFAS / PTFE dispersions |
| 4. Synthetic Tooth Enamel Biomineralization | Active Defluorination Reactor + |
Powder XRD ( |
#15-0876 ( |
| 5. Ruby-Red Lycopene Bioceramic Watermark |
Pseudomonas putida KT2440 (60.0% GC) & Halobacterium salinarum NRC-1 (71.6% GC) |
Fluoride-Riboswitch Chromogenesis & UV-Vis Spectrophotometry | Co-precipitated ruby-red Fluorapatite pellet ( |
- 🌟 Introducing TeaFlon: The Pan-Organism Synthetic Biology Compiler (Flagship Overview & 3D Workbench)
- Part 1: Designing the Teflon-Eating Fusion Blueprint
- Part 2: Inside the Virtual Bioreactor
- Part 3: 3D Folding the Dehalogenase–Hydrophobin Fusion
- Part 4: Surviving the Fluoride Poisoning Trap
- Part 5: Biomineralizing Fluorapatite Tooth Enamel
- Part 6: Upgrading to TriFusion and Quantum Validation
- Part 7: Solving the 400-aa Barrier with
pg_bio - Part 8: 3D Genomic Architecture and ORCA Plasmid Looping