Revved Picard to access new flag to disable mmap for bam indices. Only added a 3% speed boost but the mmap was added to the heap count, making it harder to specify/restrict the total resident memory size in LSF. Specifying -Xmx4g will now stay much closer to 4g resident memory usage versus bumping up to 9g when accessing 900 x ~8Mb bai's.
git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@5549 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
parent
df53351b0f
commit
4f8411f4b5
|
|
@ -580,4 +580,8 @@ public class GATKBAMIndex implements BAMIndex, BrowseableBAMIndex {
|
||||||
protected long position() {
|
protected long position() {
|
||||||
return mFileBuffer.position();
|
return mFileBuffer.position();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void close() {
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -752,6 +752,7 @@ public class SAMDataSource {
|
||||||
for(SAMReaderID readerID: readerIDs) {
|
for(SAMReaderID readerID: readerIDs) {
|
||||||
SAMFileReader reader = new SAMFileReader(readerID.samFile);
|
SAMFileReader reader = new SAMFileReader(readerID.samFile);
|
||||||
reader.enableFileSource(true);
|
reader.enableFileSource(true);
|
||||||
|
reader.enableIndexMemoryMapping(false);
|
||||||
if(!enableLowMemorySharding)
|
if(!enableLowMemorySharding)
|
||||||
reader.enableIndexCaching(true);
|
reader.enableIndexCaching(true);
|
||||||
reader.setValidationStringency(validationStringency);
|
reader.setValidationStringency(validationStringency);
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -1,3 +1,3 @@
|
||||||
<ivy-module version="1.0">
|
<ivy-module version="1.0">
|
||||||
<info organisation="edu.mit.broad" module="picard-private-parts" revision="1702" status="integration" publication="20110102175300" />
|
<info organisation="edu.mit.broad" module="picard-private-parts" revision="1816" status="integration" publication="20110102175300" />
|
||||||
</ivy-module>
|
</ivy-module>
|
||||||
|
|
@ -1,3 +0,0 @@
|
||||||
<ivy-module version="1.0">
|
|
||||||
<info organisation="net.sf" module="picard" revision="1.37.686" status="release" />
|
|
||||||
</ivy-module>
|
|
||||||
Binary file not shown.
|
|
@ -0,0 +1,3 @@
|
||||||
|
<ivy-module version="1.0">
|
||||||
|
<info organisation="net.sf" module="picard" revision="1.42.773" status="release" />
|
||||||
|
</ivy-module>
|
||||||
|
|
@ -1,3 +0,0 @@
|
||||||
<ivy-module version="1.0">
|
|
||||||
<info organisation="net.sf" module="sam" revision="1.37.686" status="release" />
|
|
||||||
</ivy-module>
|
|
||||||
Binary file not shown.
|
|
@ -0,0 +1,3 @@
|
||||||
|
<ivy-module version="1.0">
|
||||||
|
<info organisation="net.sf" module="sam" revision="1.42.773" status="release" />
|
||||||
|
</ivy-module>
|
||||||
Loading…
Reference in New Issue