Clear plate in memory when simulating read depth
This commit is contained in:
@@ -264,6 +264,7 @@ public class InteractiveInterface {
|
||||
System.out.print("\nPlease enter name of an existing sample plate file: ");
|
||||
plateFile = sc.next();
|
||||
System.out.println("\nEnable simulation of sequence read depth and sequence read errors? (y/n)");
|
||||
System.out.println("NOTE: sample plate data cannot be cached when simulating read errors");
|
||||
String ans = sc.next();
|
||||
Pattern pattern = Pattern.compile("(?:yes|y)", Pattern.CASE_INSENSITIVE);
|
||||
Matcher matcher = pattern.matcher(ans);
|
||||
@@ -271,6 +272,8 @@ public class InteractiveInterface {
|
||||
simulateReadDepth = true;
|
||||
}
|
||||
if (simulateReadDepth) {
|
||||
BiGpairSEQ.setCachePlate(false);
|
||||
BiGpairSEQ.clearPlateInMemory();
|
||||
System.out.print("\nPlease enter read depth (the integer number of reads per sequence): ");
|
||||
readDepth = sc.nextInt();
|
||||
if(readDepth < 1) {
|
||||
|
||||
Reference in New Issue
Block a user