Highlights
:
PhyloSuite v2 integrates a unified molecular dating analysis suite thatseamlessly connects data processing, parameter configuration, moleculardating analysis, and results visualization within a streamlined workflow.
Supports drag‐and‐drop operation, automatic import of upstream results,and intuitive fossil calibration visualization for efficient and user‐friendlyoperation.
Compatible with various common alignment file formats and fully supportsall major evolutionary models.
Offers multithreaded acceleration and pause/continue options, achievingmarkedly enhanced efficiency and usability compared with command‐lineMCMCtree.
Incorporates comprehensive downstream analyses, including real‐timeMCMC convergence monitoring, MCMC statistical summaries and plotting,and timetree visualization and annotation.
Citations
:
Dong Zhao, Tong Ye, Fangluan Gao, Ivan Jakovlić, Qiong La, Yindong Tong, Xiang Liu, Rui Song, Fei Liu, Zhong-min Lian, Hong Zou, Wen-Xiang Li, Gui-Tang Wang, Benhe Zeng, Dong Zhang, PhyloSuite v2: The Development of an All‐in‐One, Efficient and Visualization‐Oriented Suite for Molecular Dating Analysis and Other Advanced Features. iMeta, 2025. e70095. DOI: https://doi.org/10.1002/imt2.70095.
This tutorial uses a set of example data to provide detailed guidance on how to efficiently and accurately perform the entire workflow of molecular dating analysis and visualization using PhyloSuite v2, offering researchers a user-friendly solution.
Figure 1. PhyloSuite Molecular Dating Analysis Suite Entry
Users can hover over the “Phylogeny” option on the main PhyloSuite interface (Figure 1) and find three plugins in the dropdown menu: MDGUI, TimeTreeAnno, MCMCTracer.
http://phylosuite.jushengwu.com/dongzhang0725.github.io/installation/#Chinese_download_link
Tips: Users can download example files from the official website to test the software and debug:
http://phylosuite.jushengwu.com/example.zip
link
).
Figure 1.1b. Automatic Import from Upstream Analysis in MDGUI
At startup, MDGUI automatically detects results from upstream programs (IQ-TREE, MrBayes, FastTree) and prompts for selection (Figure 1.1b).
Choose the folder containing the results to import.
PhyloSuite automatically populates the “Alignment” and “Treefile” input boxes.
Figure 1.1c. Button-Based File Import in MDGUI
Click the folder icon next to “Alignment” or “Treefile” to open a file browser (Figure 1.1c).
Files are filtered for compatible types; select the file and click “Open”.
http://phylosuite.jushengwu.com/dongzhang0725.github.io/installation/#Chinese_download_link
Tips:用户可以在官网下载例子文件用于测试软件和debug:
http://phylosuite.jushengwu.com/example.zip
https://github.com/abacus-gene/paml/wiki/MCMCtree#enabling-tip-dating-analyses-with-mcmctree
)。
图1.1b. MDGUI自动导入上有分析的结果
① 在MDGUI界面启动时,软件会自动检测上游分析软件(如 IQ-TREE、MrBayes、FastTree)的结果文件夹,并弹出窗口供用户选择(图1.1b)。用户也可以通过点击 alignment 输入框弹出该窗口。
② 在结果文件夹列表中选择需要导入的结果文件夹。
③ 确认选择后,PhyloSuite 会自动挑选结果文件夹中的结果文件导入 MDGUI 的“Alignment”和“Treefile”文件输入框。
图1.1c. 通过输入按钮导入MDGUI
① 通过点击“Alignment”和“Treefile”输入框右侧的文件夹图标,可以打开文件管理窗口选择输入文件(图1.1c)。
② 在打开的窗口中,软件会自动过滤文件类型并展示适合作为输入文件的列表,选择并点击“打开”按钮即可导入文件。
https://github.com/abacus-gene/paml/issues/74
④ Repeat for convergence(自动重复一次分子定年分析以便判断结果是否收敛):建议勾选此选项,软件会根据设置的 Thread 数值,将 MCMC 链平均分配到2个 repeat 文件夹中(repeat1和repeat2)。例如,当用户设置 thread 为4,repeat1 文件夹中将会运行 run1 和 run2 两条链,repeat2 中将会运行 run3 和 run4 两条链。如果用户设置 Thread 为奇数,例如5,MDGUI 会将 Thread 数量减1(4)以便分配 MCMC 链。分析完成后,每个 repeat 文件夹中会生成一个包含所有 MCMC samples 的文件(all_mcmc_runs.txt),便于用户在分析结束后使用 MCMCTracer 等工具进行收敛诊断,评估结果的可信度。
图1.4a. MDGUI-MCMCtree支持的模型列表
⑤ model(模型选择):MDGUI 在 MCMCtree 默认模型的基础上按不同序列类型提供了大量扩展的进化模型选项,并进行了分类归纳,方便用户快速查找和选择(图1.4a)。
Tips:如果用户不确定使用何种模型,可以直接选择“AUTO”选项。软件将调用ModelFinder自动选择一个最适模型。
⑥ Program for generating Hessian matrix(选择生成Hessian矩阵的程序):除了MCMCtree 自带的 Hessian matrix 计算方法,MDGUI 还整合了 IQ-TREE 进行 Hessian matrix 计算(详见
https://iqtree.github.io/doc/Dating
)。相较于 MCMCtree 而言,该方法支持更多更新的序列进化模型,例如 Q.pfam、Q.plant、Q.mammal 等,包括 mixture models。用户只需在“Program for generating Hessian matrix”选项中选择“IQ-TREE for all sequences (more models)”即可。
⑦ Using mixture models(使用混合模型):若用户选择 IQ-TREE 进行 Hessian matrix 计算,可勾选混合模型选项,以解决数据的异质性问题(参考
https://iqtree.github.io/doc/Complex-Models
)。
图1.4b. MDGUI-MCMCtree参数预览与修改
⑧ Preview/Edit configuration(预览/修改设置):由于 MDGUI 界面中只提供了部分 MCMCtree 的参数,若用户想要添加新的参数或者手工修改参数,可点击“Preview/Edit configuration”按钮。弹出的窗口中是根据当前所有界面设置生成的最终控制文件(mcmctree.ctl)的文本内容。用户可以在此进行检查,也可以以文本形式编辑/添加参数。确认无误后,点击“SAVE AND RUN按钮,将根据最新编辑好的参数运行 MCMCtree(图1.4b)。
https://gensoft.pasteur.fr/docs/paml/4.9j/MCMCtree.Tutorials.pdf
)。
⑤ 用户可以通过软件提供的导出功能,将最终的收敛性诊断图以多种常用图片格式(如 PNG、JPEG、SVG、PDF)保存到本地。
https://github.com/iTaxoTools/pyr8s
);而在 Linux 和 MAC 系统下,则直接调用功能更为全面的原生 r8s 官方程序(需用户自行安装并指定)。因此,在不同系统中,r8s 界面的参数可能会有所不同,Linux 和 MAC 系统中的可用参数选项更为丰富和精细(图4.1)。软件会自动检测用户的操作系统,并显示与之对应的参数设置界面,用户无需进行任何手动切换。
① 序列比对文件 (Sequence Alignment File):上传对应的多序列比对文件(支持FASTA、NEXUS、PHYLIP 等格式)。
② 树文件 (Tree File):上传一个包含物种系统发育关系和枝长的树文件(建议.nwk 格式)。
③ 树文件导入后,通过“Add calibration points in tree”按钮可以打开化石校准信息可视化管理界面。
用户同样需要确保两个文件中的物种名称完全一致。软件会自动校验名称匹配情况,并在界面上显示识别到的有效物种数量。成功导入后,可通过显示的物种数量来初步确认文件是否正确读取。
https://image.sciencenet.cn/olddata/kexue.com.cn/upload/blog/file/2010/3/201032420201531842.0.pdf
),以全面了解每个参数的具体含义。
图4.2b. MDGUI-r8s设置区
① Preview/Edit configuration(预览/修改设置):若用户想要手工修改参数,可点击“Preview/Edit configuration”按钮(图4.2b)。弹出的窗口中是根据当前所有界面设置生成的 r8s 最终运行文件(r8s_cmd_data.txt)的文本内容。用户可以在此进行检查,也可以以文本形式编辑/添加参数。确认无误后,点击窗口内的“Save and run”按钮,将根据最新编辑好的参数执行 r8s。
② Generate configuration file and run in terminal(生成配置文件并在终端窗口运行):该功能支持用户保存一个通过界面设置生成的 r8s 运行配置文件,用于在终端窗口(terminal)运行 r8s。
https://image.sciencenet.cn/olddata/kexue.com.cn/upload/blog/file/2010/3/201032420201531842.0.pdf
)。
② “r8s_cmd_data.txt”文件记录了用于 r8s 分析的完整运行指令和拓扑结构信息,该文件也可用于在终端窗口运行。
③ 若在“describe | plot”选项中勾选了“ratogram”,则会生成一个包含各分支演化速率信息的速率树文件“ratogram.nwk”。