Skip to content

Instantly share code, notes, and snippets.

@korakot
Created July 6, 2020 07:42
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save korakot/ff356703c3724e0206263a4e4b1f8b0a to your computer and use it in GitHub Desktop.
Save korakot/ff356703c3724e0206263a4e4b1f8b0a to your computer and use it in GitHub Desktop.
Using ete3 in Colab
import os
os.system("pip install ete3 pyqt5")
os.environ['QT_QPA_PLATFORM']='offscreen'
from ete3 import Tree
t = Tree("(A:1,(B:1,(E:1,D:1):0.5):0.5);" )
t.render("%%inline")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment