code: def MRCA(list_of_taxids):
      
  
      from ete2 import Tree
  
      t = TaxIDTree(list_of_taxids)
      t = Tree(str(t), format=8)
  
      ancestor = t.get_common_ancestor(*t.get_leaves())
  
      return ancestor.name
docs: This gets the most recent common ancester (MRCA) for a list of taxids
  
      >>> mylist = [3702, 3649, 3694, 3880]
      >>> MRCA(mylist)
      'rosids'