GENTANGLE: integrated computational design of gene entanglements

Jose Manuel Martí, Chloe Hsu, Charlotte Rochereau, Tomasz Blazejewski, Hunter Nisonoff, Sean P. Leonard, Christina S. Kang-Yun, Jennifer L. Chlebek, Dante P. Ricci, Dan Park, Harris H. Wang, Jennifer Listgarten, Yongqin Jiao, Jonathan AllenbioRxiv 2023 · DOI

TL;DR

This paper introduces GENTANGLE, a high-performance, containerized computational pipeline for designing "gene entanglements" – pairs of overlapping genes in microbial genomes. This approach enhances the reliability and safety of engineered organisms by providing more robust control mechanisms, and GENTANGLE aims to streamline this complex design process.

What Problem Does This Paper Address?

Engineered microbes are increasingly used in various applications, but their synthetic functions can be lost due to genetic instability or horizontally acquired by native bacteria. A promising strategy to mitigate this is "gene entanglement," where two genes are designed to overlap in their reading frames. However, designing these functional gene pairs is computationally challenging and time-consuming. Existing tools like CAMEOS are powerful but can be slow and difficult to use due to their sequential nature and complex dependencies. This paper addresses the need for a more efficient, automated, and user-friendly computational tool to design and test these gene entanglements for microbial engineering projects.

Methods

GENTANGLE is presented as an end-to-end, containerized pipeline built around CAMEOX, an enhanced, parallelized version of the CAMEOS software. Key methodological advancements include:

  • Containerization: The entire pipeline is packaged in a single Singularity container, ensuring portability and reproducibility across different computing environments. This container exposes multiple entry points, adhering to the Scientific Filesystem (SCIF) standard.
  • CAMEOX Enhancements: CAMEOX introduces multi-thread parallelism, leading to significant speed-ups (over an order of magnitude in multi-threaded environments). It also incorporates a dynamic stopping criterion that tracks fitness score changes to terminate searches efficiently when candidates converge to local optima.
  • Upstream Processing: This module prepares protein sequences for fitness modeling. It leverages EVcouplings for curated multiple sequence alignments (MSAs) and then uses HMMER and CCMpred to train Hidden Markov Models (HMM) and Markov Random Field (MRF) models, respectively. Users can choose between using broad UniProt databases or more specific OrthoDB orthologs for MSA generation.
  • Downstream Analysis and Visualization: GENTANGLE offers sophisticated tools for analyzing and visualizing the designed gene entanglements. This includes a pyCAMEOX Python module integrated with Jupyter notebooks for interactive analysis and automated reporting. The output includes interactive plots (using matplotlib and plotly) that display fitness scores, sequence similarity to wild-type, and the Entanglement Relative Position (ERP).
  • Flexible Fitness Scoring: Users can now specify codon usage tables for organisms beyond E. coli and adjust the weighting of each gene's fitness contribution within a pair, allowing for more nuanced design exploration.
  • Advanced Selection Criteria: Beyond random sampling, GENTANGLE offers several criteria for selecting promising variants: Pareto frontier ranking, ranking by solution multiplicity (convergence of different HMM seeds), and ranked sampling from high-density regions in the fitness landscape.

Datasets

The paper mentions the use of UniProt's UniRef90 or UniRef100 databases for generating a large set of input sequences for MSA construction. Additionally, OrthoDB is used to start with curated gene orthologs for more specific MSA generation. The DATANGLE repository is provided as a companion to GENTANGLE, containing related data and results, and serves as a benchmark for reproducing the paper's findings, including an example using aroB and infA genes from Pseudomonas PF5.

Key Insights and Ideas

  • Gene Entanglement as a Robust Control Strategy: The core idea is that overlapping genes can provide a more stable and contained genetic system, making engineered organisms more reliable in real-world applications.
  • Computational Bottlenecks are Solvable: The paper demonstrates that the computational intensity of gene entanglement design can be significantly overcome with parallelization and intelligent search termination strategies.
  • Containerization is Key for Usability: Packaging the complex pipeline into a single container dramatically improves accessibility, reproducibility, and maintainability for researchers.
  • Multi-faceted Solution Space Exploration: The introduction of diverse selection criteria (Pareto, multiplicity, density) allows users to explore different facets of the potential design space, moving beyond simple optimization.
  • Flexibility for Diverse Organisms: The ability to incorporate organism-specific codon usage tables broadens the applicability of GENTANGLE beyond model organisms.

Key Results

  • Significant Speed-ups: CAMEOX, the core engine of GENTANGLE, achieves speed-ups exceeding an order of magnitude when run in a multi-threaded environment compared to sequential approaches.
  • Automated and Integrated Pipeline: GENTANGLE provides a complete, automated workflow from sequence preparation to analysis and visualization, reducing manual effort and potential errors.
  • Reproducible Results: The containerized nature and detailed documentation (including the DATANGLE repository) facilitate the reproduction of results, a critical aspect for scientific validation.
  • Interactive Visualization: The generated interactive plots allow users to intuitively explore and select candidate gene entanglements based on multiple criteria.

Limitations and Future Work

  • MSA Quality is Crucial: The paper emphasizes that the quality of the input MSAs is critical for training accurate fitness models. While GENTANGLE offers options for MSA generation, users still need to be mindful of the data's suitability.
  • Confidence in Fitness Predictions: The authors note that the general approach of using density-based selection might be particularly valuable in early design phases where confidence in fitness predictions is not yet high. This implies that as fitness models improve, other selection strategies might become more dominant.
  • Future Work: The paper doesn't explicitly detail future work, but the established framework of GENTANGLE suggests potential for further integration of experimental validation feedback, expansion to more complex genetic architectures (beyond two genes), and development of even more sophisticated fitness prediction models.

Summary updated

Abstract

Abstract Summary The design of two overlapping genes in a microbial genome is an emerging technique for adding more reliable control mechanisms in engineered organisms for increased safety. The design of functional gene pairs is a challenging procedure and computational design tools are used to improve the efficiency to deploy successful designs in genetically engineered systems. GENTANGLE (Gene Tuples ArraNGed in overLapping Elements) is a high performance containerized pipeline for the computational design of two overlapping genes translated in different reading frames of the genome. This new software package can be used to design and test gene entanglements for microbial engineering projects using arbitrary sets of user specified gene pairs. Availability and Implementation The GENTANGLE source code and its submodules are freely available on GitHub at https://github.com/BiosecSFA/gentangle . The DATANGLE (DATA for genTANGLE) repository contains related data and results, and is freely available on GitHub at https://github.com/BiosecSFA/datangle . The GENTANGLE repository wiki contains detailed instructions on how to use the container and the different components of software and data, including reproducing the results. The code is licensed under the GNU Affero General Public License version 3 ( https://www.gnu.org/licenses/agpl.html ). Contact [email protected] and [email protected]
BibTeX
@misc{marti2023gentangle,
  author = {Jose Manuel Martí and Chloe Hsu and Charlotte Rochereau and Tomasz Blazejewski and Hunter Nisonoff and Sean P. Leonard and Christina S. Kang-Yun and Jennifer L. Chlebek and Dante P. Ricci and Dan Park and Harris H. Wang and Jennifer Listgarten and Yongqin Jiao and Jonathan Allen},
  title = {{GENTANGLE: integrated computational design of gene entanglements}},
  year = {2023},
  doi = {10.1101/2023.11.09.565696},
  howpublished = {bioRxiv},
}
Figure