We have constructed a neighbor joining tree in MEGA with few eukaryotic protein sequences. According to BLAST result, our query shared 96% identity with Organism A and 93% identity with Organism B. But in the constructed phylogenetic tree, query comes closer with Organism B (93%) whereas organism A (96%) comes in a separate clade. I have tried with different set of Gap opening and Gap extension values. Still Organism B ( lesser identity) comes together with the query sequence.
What is the reason behind this? Could anyone explain?