Annotation information for gene sequences

Hello,
I want to distribution of species annotation information for gene sequences. At first, I use the blastn to do blast use NT database.
Then, I want to import the xml format data into the MEGA6, use the LCA algorithm.How do I set the LCA parameters? And export the informations about the classification information.
Like this:

  1. a fasta file:

gene1

gene2

gene3

  1. use the blastn get a xml document, -max_target_seqs 5
  2. import the xml document to the magn6, and use the LCA algorithm to get a best one taxonomy information.
    How can I set the LCA parameters and export a document containing taxonomy information?
    Like this:

gene1 taxonomy

gene2 taxonomy

gene3 taxonomy