Imported from https://github.com/twak/chordatlas