2009-11-24 07:08:05 +08:00
|
|
|
package org.broadinstitute.sting.alignment;
|
|
|
|
|
|
|
|
|
|
import org.junit.Test;
|
|
|
|
|
import org.broadinstitute.sting.WalkerTest;
|
|
|
|
|
|
|
|
|
|
import java.util.Arrays;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Integration tests for the aligner.
|
|
|
|
|
*
|
|
|
|
|
* @author mhanna
|
|
|
|
|
* @version 0.1
|
|
|
|
|
*/
|
|
|
|
|
public class AlignerIntegrationTest extends WalkerTest {
|
2010-03-03 04:28:22 +08:00
|
|
|
@Test
|
2009-11-24 07:08:05 +08:00
|
|
|
public void testBasicAlignment() {
|
2010-01-03 04:19:14 +08:00
|
|
|
String md5 = "c6d95d8ae707e78fefdaa7375f130995";
|
2009-11-24 07:08:05 +08:00
|
|
|
WalkerTest.WalkerTestSpec spec = new WalkerTest.WalkerTestSpec(
|
2010-09-10 04:34:51 +08:00
|
|
|
"-R " + b36KGReference +
|
2009-11-24 07:08:05 +08:00
|
|
|
" -T Align" +
|
2009-12-29 15:40:48 +08:00
|
|
|
" -I " + validationDataLocation + "NA12878_Pilot1_20.trimmed.unmapped.bam" +
|
2009-11-24 07:08:05 +08:00
|
|
|
" -ob %s",
|
|
|
|
|
1, // just one output file
|
|
|
|
|
Arrays.asList(md5));
|
2010-09-09 23:09:48 +08:00
|
|
|
executeTest("testBasicAlignment", spec);
|
2009-11-24 07:08:05 +08:00
|
|
|
}
|
|
|
|
|
}
|