... : Starting MSA/Trees
Species tree: Using 969 orthogroups with minimum of 81.2% of species having single-copy genes in any orthogroup
Inferring multiple sequence alignments for species tree
-------------------------------------------------------
2025-06-07 14:57:14 : Done 0 of 969
2025-06-07 ...
...修改,这里可以利用perl或者python 再结合正则表达式批量搜索替换,给出示例代码:
python实现替换:
import re,os
tree="(chicken,((mouse,rat),(chimp,human)));"
names=re.findall(r"[a-zA-Z0-9_]+",tree)
f=open("newtree.nwk","w")
for i in names:
if not re.match(r...