Description: Fix spelling
Author: Andreas Tille <tille@debian.org>
Last-Update: Wed, 10 Oct 2018 12:49:34 +0200

--- mapsembler2.orig/kissreads_graph/KissReadsGraph.cpp
+++ mapsembler2/kissreads_graph/KissReadsGraph.cpp
@@ -35,7 +35,7 @@
 	fprintf (stderr, "With option \"-t modify\": outputs the same simplified graph:\n");
 	fprintf (stderr, "\t removing low covered edges and nodes (less that min_coverage)\n");
     fprintf (stderr, "\t then phasing simple non branching paths\n");
-    fprintf (stderr, "If -M option is specified, the input is considered as a Mapsembler output - thus composed of multiple independant graphes\n");
+    fprintf (stderr, "If -M option is specified, the input is considered as a Mapsembler output - thus composed of multiple independent graphes\n");
     
     
 	fprintf (stderr, "\nMANDATORY\n");
--- mapsembler2.orig/mapsembler2_extend/IterativeExtensions.cpp
+++ mapsembler2/mapsembler2_extend/IterativeExtensions.cpp
@@ -178,7 +178,7 @@
             revcomp_sequence(kmer_seq,sizeKmer);
 
         if (debug)
-            printf(" --- iteration: kmer %s%s (of lenght %d) depth %d nbNodes explored %lli ---\n",kmer_seq,strand?" (internally rc)":"", (int)strlen(kmer_seq), depth,nbNodes);
+            printf(" --- iteration: kmer %s%s (of length %d) depth %d nbNodes explored %lli ---\n",kmer_seq,strand?" (internally rc)":"", (int)strlen(kmer_seq), depth,nbNodes);
 
         // right extension
         int len_right = traversal->traverse(kmer,right_traversal,strand);
@@ -397,7 +397,7 @@
             revcomp_sequence(kmer_seq,sizeKmer);
         
         if (debug)
-            printf("iteration: kmer %s%s (of lenght %zu) depth %d nbNodes explored %lli\n",kmer_seq,strand?" (internally rc)":"", strlen(kmer_seq), depth,nbNodes);
+            printf("iteration: kmer %s%s (of length %zu) depth %d nbNodes explored %lli\n",kmer_seq,strand?" (internally rc)":"", strlen(kmer_seq), depth,nbNodes);
         
         // right extension
         int len_right = traversal->traverse(kmer,right_traversal,strand);
--- mapsembler2.orig/kissreads/src/kissReads.c
+++ mapsembler2/kissreads/src/kissReads.c
@@ -93,7 +93,7 @@
 	fprintf (stderr, "\t -u file_name: write unread-coherent outputs. Default: standard output \n");
 #ifndef INPUT_FROM_KISSPLICE
 	fprintf (stderr, "\t -n the input file (toCheck.fasta) is a kissnp output (incompatible with -I option) \n");
-    fprintf (stderr, "\t\t in this case: 1/ only the upper characters are considered (no mapping done on the extensions) and 2/ the central position (where the SNP occurs) is strictly mapped, no subsitution is authorized on this position.\n");
+    fprintf (stderr, "\t\t in this case: 1/ only the upper characters are considered (no mapping done on the extensions) and 2/ the central position (where the SNP occurs) is strictly mapped, no substitution is authorized on this position.\n");
 	fprintf (stderr, "\t -I the input file (toCheck.fasta) is an Intl output (incompatible with -n option) \n");
 #endif // not INPUT_FROM_KISSPLICE
     fprintf (stderr, "\t -i index_stride (int value). This is a heuristic for limiting the memory footprint. Instead of indexing each kmer of the sequences contained into the toCheck.fasta, kissreads indexes kmers occurring each \"index_stride\" position. Default = 1 (no heuristic)\n");
