When using the BWA bindings, you have to explicitly call close() to get the
bindings to release memory. It may or may not be possible to implicitly close triggered by the GC; I'll add a JIRA.
This commit is contained in:
parent
15610ce0c3
commit
7054c5342f
|
|
@ -228,6 +228,9 @@ public class ValidationAmplicons extends RodWalker<Integer,Integer> {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void onTraversalDone(Integer fin ) {
|
public void onTraversalDone(Integer fin ) {
|
||||||
|
if(aligner != null)
|
||||||
|
aligner.close();
|
||||||
|
|
||||||
validateSequence();
|
validateSequence();
|
||||||
if ( doNotUseBWA ) {
|
if ( doNotUseBWA ) {
|
||||||
lowerRepeats();
|
lowerRepeats();
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ import java.util.Arrays;
|
||||||
*/
|
*/
|
||||||
public class ValidationAmpliconsIntegrationTest extends WalkerTest {
|
public class ValidationAmpliconsIntegrationTest extends WalkerTest {
|
||||||
|
|
||||||
@Test(enabled=false)
|
@Test(enabled=true)
|
||||||
public void testWikiExample() {
|
public void testWikiExample() {
|
||||||
String siteVCF = validationDataLocation + "sites_to_validate.vcf";
|
String siteVCF = validationDataLocation + "sites_to_validate.vcf";
|
||||||
String maskVCF = validationDataLocation + "amplicon_mask_sites.vcf";
|
String maskVCF = validationDataLocation + "amplicon_mask_sites.vcf";
|
||||||
|
|
@ -40,7 +40,7 @@ public class ValidationAmpliconsIntegrationTest extends WalkerTest {
|
||||||
executeTest("Test probes", spec);
|
executeTest("Test probes", spec);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test(enabled=false)
|
@Test(enabled=true)
|
||||||
public void testWikiExampleMonoFilter() {
|
public void testWikiExampleMonoFilter() {
|
||||||
String siteVCF = validationDataLocation + "sites_to_validate.vcf";
|
String siteVCF = validationDataLocation + "sites_to_validate.vcf";
|
||||||
String maskVCF = validationDataLocation + "amplicon_mask_sites.vcf";
|
String maskVCF = validationDataLocation + "amplicon_mask_sites.vcf";
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue