Using trees instead of alignments as input