2009-11-24 07:08:05 +08:00
|
|
|
package org.broadinstitute.sting.alignment;
|
|
|
|
|
|
2010-11-02 05:31:44 +08:00
|
|
|
import org.testng.annotations.Test;
|
2009-11-24 07:08:05 +08:00
|
|
|
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-09-10 08:29:26 +08:00
|
|
|
String md5 = "34eb4323742999d6d250a0aaa803c6d5";
|
2009-11-24 07:08:05 +08:00
|
|
|
WalkerTest.WalkerTestSpec spec = new WalkerTest.WalkerTestSpec(
|
2011-06-23 06:56:07 +08:00
|
|
|
"-R " + GATKDataLocation + "bwa/human_b36_both.fasta" +
|
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" +
|
2011-01-31 13:28:37 +08:00
|
|
|
" -o %s",
|
2009-11-24 07:08:05 +08:00
|
|
|
1, // just one output file
|
|
|
|
|
Arrays.asList(md5));
|
2010-09-10 14:18:59 +08:00
|
|
|
executeTest("testBasicAlignment", spec);
|
2009-11-24 07:08:05 +08:00
|
|
|
}
|
|
|
|
|
}
|