Skip to content

Commit

Permalink
Debug autoFindBarcode
Browse files Browse the repository at this point in the history
  • Loading branch information
Gardeux Vincent Roland Julien committed Jan 9, 2018
1 parent a4f613f commit 91585eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file modified releases/BRBseqTools.1.0.jar
Binary file not shown.
4 changes: 2 additions & 2 deletions src/TrimmingManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ private static String autoFindBarcode(BufferedReader br) throws Exception
}
System.out.println("The limit of 100 occurences was not reached.");
System.out.println("Most occuring barcode is " + reverseComplement(maxbc) + " ("+max+" times)");
return maxbc;
return null;
}

private static BufferedReader readFileFromBeginning(String fastQFile) throws Exception
Expand Down Expand Up @@ -225,7 +225,7 @@ public static Excel trimFastQ(String fastQFile) throws Exception
String barcode_RC = null;
if(Parameters.autoFindBarcode)
{
autoFindBarcode(br);
barcode_RC = autoFindBarcode(br);
br.close();
if(barcode_RC == null) System.err.println("No barcode was detected during the automatic search... Switching to standard trimming mode.");
br = readFileFromBeginning(fastQFile);
Expand Down

0 comments on commit 91585eb

Please sign in to comment.