Skip to main navigation Skip to search Skip to main content

piqtree: A Python Package for Seamless Phylogenetic Inference with IQ-TREE

  • Robert McArthur
  • , Thomas King-Fung Wong
  • , Yapeng Lang
  • , Richard Andrew Morris
  • , Katherine Caley
  • , Vijini Mallawaarachchi
  • , Bui Quang Minh
  • , Gavin Huttley

Research output: Contribution to journalArticlepeer-review

1 Citation (Scopus)
45 Downloads (Pure)

Abstract

piqtree (pronounced pie-cue-tree) is an easy to use, open-source Python package that provides Python script based control of IQ-TREE’s phylogenetic inference engine. piqtree builds IQ-TREE as a Python package, presenting a library of Python functions for performing many of IQ-TREE’s capabilities including phylogenetic reconstruction, ultrafast bootstrapping, branch length optimization, model selection, rapid neighbor-joining, alignment simulation, and more. As piqtree explicitly uses IQ-TREE’s phylogenetic algorithms, the computational and statistical performance of piqtree equal that of IQ-TREE. Modestly higher memory usage may be expected owing to the Python runtime and the need to load the alignment in Python. By exposing IQ-TREE’s algorithms within Python, piqtree offers users a greatly simplified experience in development of phylogenetic workflows through seamless interoperability with other Python libraries and tools mediated by the cogent3 package. It enables users to perform interactive phylogenetic analyses and visualization using, for instance, Jupyter notebooks. We present the key features available in the piqtree library and a small case study that showcases its interoperability and highlight its potential for linking a high performance phylogenetic inference engine with more user friendly interfaces. piqtree is distributed for use as a standard Python package at https://pypi.org/project/piqtree/, documentation is available at https://piqtree.readthedocs.io, user contributed solutions at https://github.com/cogent3/c3codeshare, help forums at https://github.com/iqtree/piqtree/discussions, and source code at https://github.com/iqtree/piqtree.
Original languageEnglish
Article numbermsag061
Number of pages7
JournalMolecular Biology and Evolution
Volume43
Issue number3
DOIs
Publication statusPublished - Mar 2026

Keywords

  • bioinformatics
  • phylogenetics
  • gene tree
  • non-reversible Markov process
  • Python
  • cogent3
  • Jupyter
  • nonreversible Markov process

Fingerprint

Dive into the research topics of 'piqtree: A Python Package for Seamless Phylogenetic Inference with IQ-TREE'. Together they form a unique fingerprint.

Cite this