Low-memory sharding is now enabled by default.

git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@5643 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
hanna 2011-04-15 14:22:07 +00:00
parent 2830dc70b7
commit be3bad1f61
3 changed files with 5 additions and 5 deletions

View File

@ -907,7 +907,8 @@ public class GenomeAnalysisEngine {
getWalkerBAQApplicationTime() == BAQ.ApplicationTime.ON_INPUT ? argCollection.BAQMode : BAQ.CalculationMode.OFF,
getWalkerBAQQualityMode(),
refReader,
argCollection.defaultBaseQualities,argCollection.enableLowMemorySharding);
argCollection.defaultBaseQualities,
!argCollection.disableLowMemorySharding);
return dataSource;
}

View File

@ -243,8 +243,8 @@ public class GATKArgumentCollection {
public boolean allowIntervalsWithUnindexedBAM = false;
@Element(required = false)
@Argument(fullName="enable_experimental_low_memory_sharding",doc="Enable experimental low-memory sharding functionality. Use at your own risk.",required=false)
public boolean enableLowMemorySharding = false;
@Argument(fullName="disable_experimental_low_memory_sharding",doc="Enable experimental low-memory sharding functionality. Use at your own risk.",required=false)
public boolean disableLowMemorySharding = false;
// --------------------------------------------------------------------------------------------------------------
//
@ -432,7 +432,7 @@ public class GATKArgumentCollection {
if (allowIntervalsWithUnindexedBAM != other.allowIntervalsWithUnindexedBAM)
return false;
if (enableLowMemorySharding != other.enableLowMemorySharding)
if (disableLowMemorySharding != other.disableLowMemorySharding)
return false;
return true;

View File

@ -45,7 +45,6 @@ public class LowMemoryIntervalSharder implements Iterator<FilePointer> {
private final GenomeLocParser parser;
public LowMemoryIntervalSharder(final SAMDataSource dataSource, final GenomeLocSortedSet loci) {
System.out.println("Low memory interval sharding enabled");
wrappedIterator = new PeekableIterator<FilePointer>(new BAMScheduler(dataSource,loci));
parser = loci.getGenomeLocParser();
}