Author: Andreas Tille <tille@debian.org>
Last-Update: Tue, 28 Nov 2017 10:37:22 +0100
Description: Fix spelling issues

--- a/gatb-core/src/gatb/tools/compression/DnaCoder.cpp
+++ b/gatb-core/src/gatb/tools/compression/DnaCoder.cpp
@@ -650,7 +650,7 @@ void DnaEncoder::encodeAnchorRead(int an
 		//CompressionUtils::encodeNumeric(_rangeEncoder, _isPrevReadAnchorablePosModel, _isPrevReadAnchorablePos);
 		//}
 	//_prevAnchorAddress = anchorAddress;
-	//printf("anchor adress %i \n",anchorAddress);
+	//printf("anchor address %i \n",anchorAddress);
 
 	
 	kmer_type anchor = _kmers[anchorPos];
@@ -1494,7 +1494,7 @@ void DnaDecoder::decodeAnchorRead(){
 	#ifdef PRINT_DEBUG_DECODER
 		cout << "\t\t\tRead size: " << _readSize << endl;
 		cout << "\t\t\tAnchor pos: " << anchorPos << endl;
-		cout << "\t\t\tAnchor adress: " << anchorAddress << endl;
+		cout << "\t\t\tAnchor address: " << anchorAddress << endl;
 		cout << "\t\t\tAnchor: " << anchor.toString(_kmerSize) << endl;
 	#endif
 	
--- a/gatb-core/src/gatb/tools/compression/Leon.cpp
+++ b/gatb-core/src/gatb/tools/compression/Leon.cpp
@@ -996,7 +996,7 @@ void Leon::endDnaCompression(){
 
   u_int64_t readsSize = _anchorAdressSize+_anchorPosSize+_readSizeSize+_bifurcationSize+_otherSize;
   getInfo()->add(2, "Reads", "%.2f (%u)", ((readsSize*100) / (double)_compressedSize), readsSize);
-  getInfo()->add(3, "Anchor adress", "%.2f (%u)", ((_anchorAdressSize*100) / (double)_compressedSize), _anchorAdressSize);
+  getInfo()->add(3, "Anchor address", "%.2f (%u)", ((_anchorAdressSize*100) / (double)_compressedSize), _anchorAdressSize);
   getInfo()->add(3, "Anchor pos", "%.2f (%u)", ((_anchorPosSize*100) / (double)_compressedSize), _anchorPosSize);
   getInfo()->add(3, "Read size", "%.2f (%u)", ((_readSizeSize*100) / (double)_compressedSize), _readSizeSize);
   getInfo()->add(3, "Bifurcation", "%.2f (%u)", ((_bifurcationSize*100) / (double)_compressedSize), _bifurcationSize);
--- a/gatb-core/src/gatb/debruijn/impl/GraphUnitigs.cpp
+++ b/gatb-core/src/gatb/debruijn/impl/GraphUnitigs.cpp
@@ -1276,13 +1276,13 @@ unsigned char GraphUnitigsTemplate<span>
 template<size_t span>
 void GraphUnitigsTemplate<span>::countNeighbors (const NodeGU &source, size_t &in, size_t &out)  const
 {
-    std::cout << "GraphU countNeighbors source,in,out not implememented" << std::endl;exit(1);
+    std::cout << "GraphU countNeighbors source,in,out not implemented" << std::endl;exit(1);
 }
 
 template<size_t span>
 NodeGU GraphUnitigsTemplate<span>::getNode (const NodeGU& source, Direction dir, kmer::Nucleotide nt, bool& exists) const
 {
-    std::cout << "GraphU getNode source,dir,nt,exists  not implememented" << std::endl;exit(1);
+    std::cout << "GraphU getNode source,dir,nt,exists  not implemented" << std::endl;exit(1);
     return NodeGU();
 }
 
@@ -1899,7 +1899,7 @@ debugBuildNode(string startKmer) const
             }
         }
     }
-    std::cout << "could not build node correspoding to kmer" << startKmer << ", it's not an unitig end." << std::endl;
+    std::cout << "could not build node corresponding to kmer" << startKmer << ", it's not an unitig end." << std::endl;
     exit(1);
 }
 
