Ever wonder what it takes to produce your dog’s unique ancestry tree? At Wisdom Panel We use more than 1800 markers for analysis against 12,000+ samples in our purebreed sample database and that’s just the beginning…Check out this video to learn more!
source

I admit I am a complete layman when it comes to DNA, but this really isn't very clear to me. The DNA information is compared to possible combinations of breeds that are part of a database? Or is it that they build the possible trees from info from the DNA, and then narrow it down? I'm confused.