2009-12-01 23:15:54 +08:00
|
|
|
package org.broadinstitute.sting.gatk.walkers;
|
|
|
|
|
|
|
|
|
|
import org.broadinstitute.sting.WalkerTest;
|
2010-11-02 05:31:44 +08:00
|
|
|
import org.testng.annotations.Test;
|
2009-12-01 23:15:54 +08:00
|
|
|
|
|
|
|
|
import java.util.Arrays;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Created by IntelliJ IDEA.
|
|
|
|
|
* User: chartl
|
|
|
|
|
* Date: Dec 1, 2009
|
|
|
|
|
* Time: 9:03:34 AM
|
|
|
|
|
* To change this template use File | Settings | File Templates.
|
|
|
|
|
*/
|
|
|
|
|
public class PileupWalkerIntegrationTest extends WalkerTest {
|
|
|
|
|
|
|
|
|
|
@Test
|
|
|
|
|
public void testGnarleyFHSPileup() {
|
2009-12-29 15:40:48 +08:00
|
|
|
String gatk_args = "-T Pileup -I " + validationDataLocation + "FHS_Pileup_Test.bam "
|
2010-08-05 01:59:37 +08:00
|
|
|
+ "-R " + hg18Reference
|
2009-12-01 23:15:54 +08:00
|
|
|
+ " -L chr15:46,347,148 -o %s";
|
2010-09-16 06:54:49 +08:00
|
|
|
String expected_md5 = "872e89df166b90e06dd2737535c5d8b3";
|
2009-12-01 23:15:54 +08:00
|
|
|
WalkerTestSpec spec = new WalkerTestSpec(gatk_args, 1, Arrays.asList(expected_md5));
|
|
|
|
|
executeTest("Testing the standard (no-indel) pileup on three merged FHS pools with 27 deletions in 969 bases", spec);
|
|
|
|
|
}
|
2009-12-30 07:02:23 +08:00
|
|
|
|
|
|
|
|
@Test
|
|
|
|
|
public void testExtendedEventPileup() {
|
|
|
|
|
String gatk_args = "-T Pileup -I " + validationDataLocation + "OV-0930.normal.chunk.bam "
|
2010-08-05 01:59:37 +08:00
|
|
|
+ "-R " + hg18Reference
|
2009-12-30 07:02:23 +08:00
|
|
|
+ " -show_indels -o %s";
|
2009-12-31 06:00:58 +08:00
|
|
|
String expected_md5="06eedc2e7927650961d99d703f4301a4";
|
2009-12-30 07:02:23 +08:00
|
|
|
WalkerTestSpec spec = new WalkerTestSpec(gatk_args,1,Arrays.asList(expected_md5));
|
|
|
|
|
executeTest("Testing the extended pileup with indel records included on a small chunk of Ovarian dataset with 20 indels (1 D, 19 I)", spec);
|
|
|
|
|
|
|
|
|
|
}
|
2009-12-01 23:15:54 +08:00
|
|
|
}
|