Skip to content

Instantly share code, notes, and snippets.

View OnDraganov's full-sized avatar

Ondrej Draganov OnDraganov

  • Institute of Science and Technology Austria (ISTA)
View GitHub Profile
@fransua
fransua / plot_eteTree.py
Last active September 26, 2024 20:08
use matplotlib to draw phylogenetic trees from ETE3
from itertools import chain
from matplotlib.collections import LineCollection
from matplotlib import markers
from matplotlib.path import Path
import numpy as np
from ete3 import Tree, NodeStyle