]> git.donarmstrong.com Git - mothur.git/blobdiff - nast.cpp
added name option to read.tree for use in unifrac and parimony commands
[mothur.git] / nast.cpp
index f247037cc915fd1d54d9d1e050abde8f73711fba..6a4ae3db2f679ee4ccadf2b0ff3270f5da4f15aa 100644 (file)
--- a/nast.cpp
+++ b/nast.cpp
@@ -32,7 +32,6 @@ Nast::Nast(Alignment* method, Sequence* cand, Sequence* temp) : alignment(method
                errorOut(e, "Nast", "Nast");
                exit(1);
        }
-
 }
 
 /**************************************************************************************************/
@@ -40,12 +39,12 @@ Nast::Nast(Alignment* method, Sequence* cand, Sequence* temp) : alignment(method
 void Nast::pairwiseAlignSeqs(){        //      Here we call one of the pairwise alignment methods to align our unaligned candidate
                                                                //      and template sequences
        try {
-               
+
                alignment->align(candidateSeq->getUnaligned(), templateSeq->getUnaligned());
        
                string candAln = alignment->getSeqAAln();
                string tempAln = alignment->getSeqBAln();
-
+       
                if(candAln == ""){
 
                        candidateSeq->setPairwise("");
@@ -78,7 +77,6 @@ void Nast::pairwiseAlignSeqs(){       //      Here we call one of the pairwise alignment me
 
                candidateSeq->setPairwise(candAln);                                     //      set the pairwise sequences in the Sequence objects for
                templateSeq->setPairwise(tempAln);                                      //      the candidate and template sequences
-
        }
        catch(exception& e) {
                errorOut(e, "Nast", "pairwiseAlignSeqs");