Comparison of metagenomic samples using sequence signatures