NJGPT: A Large Language Model-Driven, User-Friendly Solution for Phylogenetic Tree Construction
Zhixuan WangiD, Haoyuan HuangiD, Teng LiiD, Allen G. RodrigoiD
Abstract
MotivationPhylogenetic reconstruction plays an integral part in much of the research in evolutionary biology. Currently, a newly minted phylogeneticist must choose amongst a relatively large array of phylogenetic software, each often with its own analytical routines, inputs and outputs. Our overarching aim is to construct a user-friendly pipeline with the most recent generative AI tool, ChatGPT-4 (at the time of writing) released by OpenAI, that is able to understand queries written in natural language, to build a phylogenetic tree using sequence data. By doing this, we demonstrate how generative AI may be used in phylogenetics, as a proof-of-concept. We also demonstrate the steps needed, presently, to ensure that ChatGPT can build phylogenetic trees accurately. ResultsWe present NJGPT, a phylogenetic tool built using ChatGPT, a Large Language Model (LLM) Generative Pre-trained Transformer (GPT),which employs the Neighbor-Joining method to construct phylogenetic trees. NJGPT simplifies phylogenetic tree construction by allowing users to generate and visualize trees using natural language queries. It supports multiple sequence file formats, matrix calculation models, and gap-deletion methods. To evaluate the performance of NJGPT, we compared output and runtimes with the widely-used phylogenetic software, MEGA. Our results show that NJGPT produces identical trees over a range of sequence lengths and simple models of evolution. However, NJGPT faces visualization issues with datasets over 50 taxa and operational failures with larger datasets due to token limits. NJGPT runtimes were also substantially slower than MEGA; however, NJGPTs user-friendly interface makes it ideal for beginners. AvailabilityThis plugin is available for free at https://chatgpt.com/g/g-1OzP3Qviw-njgpt, the source code is available on GitHub (https://github.com/ZWan622/NJGPT1.0.git) and is implemented using Python Contactzwan622@aucklanduni.ac.nz Supplementary informationSupplementary data are available at Bioinformatics online.
02 /Specification & Classification
Click any tag to browse matching papersReproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- phylo-node: A Molecular Phylogenetic Toolkit using Node.js
Damien M. O’Halloran·PLoS ONEPeer-reviewed·Apr 14, 2017
- Genesis and Gappa: Processing, Analyzing and Visualizing Phylogenetic (Placement) Data
Lucas Czech, Pierre Barbera, Alexandros Stamatakis·BioinformaticsPeer-reviewed·Jan 28, 2020
- Machine learning can be as good as maximum likelihood when reconstructing phylogenetic trees and determining the best evolutionary model on four taxon alignments
N. Kulikov, F. Derakhshandeh, C. Mayer·bioRxiv·Jul 12, 2023
- getphylo: rapid and automatic generation of multi-locus phylogenetic trees
Thomas Booth, S. Shaw, … Tilmann Weber·BMC BioinformaticsPeer-reviewed·Jan 18, 2025
- Phyloformer: Fast, accurate and versatile phylogenetic reconstruction with deep neural networks
Luca Nesterenko, Luc Blassel, … Laurent Jacob·Molecular Biology and EvolutionPeer-reviewed·Mar 10, 2025
- TaxOnTree: a tool that generates trees annotated with taxonomic information
Tetsu Sakamoto, J. Miguel Ortega·bioRxiv·Dec 24, 2020