Here's a partial solution you might be able to run with: I did something like this recently, though I did do it 'by eye'. I clustered my trees by eye (though there are some tools like TOPD that will do it, but I dont know how good they are). I got a couple of other unbiased people to corroborate my cluster estimates.
I created a score matrix like so (this is shortened):
Gene Tree1 Tree2 Tree3 Tree4 Tree5 Tree6 Tree7 Tree8 Tree9
PAU_pnf 1 1 1 1 1 1 1 1 1
PAK_pnf 1 1 1 1 1 1 1 1 1
PAU_cif 2 2 2 2 2 2 2 2 2
PAK_cif 2 2 2 2 2 2 2 2 2
PLT_cif 2 7 8 2 2 6 2 2 2
PAU_lopT 3 3 9 3 3 1 3 3 3
PAK_lopT 3 3 10 3 3 8 3 3 3
PLT_lopT 3 3 2 3 3 5 3 3 3
PAU_U4 4 4 4 4 4 4 4 4 4
PLT_U4 4 4 4 4 5 4 5 4 4
PAK_U2 4 6 4 4 4 4 6 4 4
I.e. cluster number 1 is arbirarily applied to the node that joined PAU_pnf and PAK_pnf in my dataset. This node persists across all my gene trees here.
Then take that matrix and use the Adjusted Wallace Test described here: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3209087/
there are MATLAB codes for this, though I simply ran it through their webserver here http://www.comparingpartitions.info/index.php?link=Tool
Its a reasonably robust metric for comparing Sequence Types and can be repurposed for congruency :)
That spits you back out a matrix of congruency across each set of clusters/trees:
https://s30.postimg.org/jpp2y1969/Screen_Shot_2016_05_14_at_13_42_18.png
Which I then replotted with ggplotly
in RStudio:
Voila:
https://s30.postimg.org/uo0cg7xrl/heatmap2k_transp1.png
Interesting idea! The only problem for me is doing the score matrix "by eye"... I will take a look in TOPD (nice suggestion).
I have found this tool: http://www.mas.ncl.ac.uk/~ntmwn/compare2trees/index.html
Interesting, I'd not found that. That's useful. I had originally intended to use Prunier to infer lateral gene transfers from the phylip alignments in conjunction to the gene trees (I had already used ASTRAL to create the species tree to which I was comparing everything). I just could not get it to work in the end for some reason, and never got a reply from the developers :(
I'd add to this that I'd be interested in hearing about any other offering people have for decent (and ideally easy to use) congruency analysers.
Another option: http://phylo.io/