Skip to content

Commit

Permalink
OEA: Tidy up logging of correctOverlaps -s swtich.
Browse files Browse the repository at this point in the history
  • Loading branch information
brianwalenz committed May 14, 2021
1 parent 172620c commit 1ac9dc3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/overlapErrorAdjustment/correctOverlaps.C
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ main(int argc, char **argv) {

} else if (strcmp(argv[arg], "-s") == 0) {
G->checkTrivialDNA = true;
fprintf(stderr, "Correcting HIFI reads\n");

} else if (strcmp(argv[arg], "-c") == 0) { // For 'corrections' file input
G->correctionsName = argv[++arg];
Expand Down Expand Up @@ -145,6 +144,9 @@ main(int argc, char **argv) {
// Load the reads for the overlaps we are going to be correcting, and apply corrections to them

fprintf(stderr, "Correcting reads " F_U32 " to " F_U32 ".\n", G->bgnID, G->endID);
fprintf(stderr, " %s alignment errors in simple sequence repeats (-s %ssupplied).\n",
G->checkTrivialDNA ? "Ignoring" : "Allowing",
G->checkTrivialDNA ? "" : "not ");

FILE *correctedReads = G->correctedName == NULL ? NULL : fopen(G->correctedName, "w");
Correct_Frags(G, seqStore, correctedReads);
Expand Down

0 comments on commit 1ac9dc3

Please # to comment.