Class TestCasesDnaNSequence
- java.lang.Object
-
- org.snpeff.snpEffect.testCases.unity.TestCasesDnaNSequence
-
public class TestCasesDnaNSequence extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static boolean
verbose
-
Constructor Summary
Constructors Constructor Description TestCasesDnaNSequence()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
randDnaSeqGetBasesTest(int numTests, int numTestsPerSeq, int lenMask, long seed)
Create random sequences and store them in a DnaNSequence.void
randDnaSeqGetBaseTest(int numTests, int numTestsPerSeq, int lenMask, long seed)
Create random sequences and store them in a DnaNSequence.void
randDnaSeqTest(int numTests, int lenMask, long seed)
Create random sequences and compare to storing them in a DnaNSequencevoid
randReplaceBaseTest(int numTests, int numTestsPerSeq, int lenMask, long seed)
Create random sequences and store them in a DnaNSequence.void
test_01_short()
void
test_01_short_getBase()
void
test_01_short_getBases()
void
test_01_short_replaceBase()
void
test_02_long()
void
test_02_long_getBase()
void
test_02_long_getBases()
void
test_02_long_replaceBase()
void
test_13_reverseWc()
-
-
-
Method Detail
-
randDnaSeqGetBasesTest
public void randDnaSeqGetBasesTest(int numTests, int numTestsPerSeq, int lenMask, long seed)
Create random sequences and store them in a DnaNSequence. Compare getting a few random bases from the original and DnaNSequence sequences.- Parameters:
numTests
-lenMask
-seed
-
-
randDnaSeqGetBaseTest
public void randDnaSeqGetBaseTest(int numTests, int numTestsPerSeq, int lenMask, long seed)
Create random sequences and store them in a DnaNSequence. Compare getting a single random base from the original and DnaNSequence sequences.- Parameters:
numTests
-lenMask
-seed
-
-
randDnaSeqTest
public void randDnaSeqTest(int numTests, int lenMask, long seed)
Create random sequences and compare to storing them in a DnaNSequence- Parameters:
numTests
-lenMask
-seed
-
-
randReplaceBaseTest
public void randReplaceBaseTest(int numTests, int numTestsPerSeq, int lenMask, long seed)
Create random sequences and store them in a DnaNSequence. Compare after replacing random bases from the original and DnaNSequence sequences.- Parameters:
numTests
-lenMask
-seed
-
-
test_01_short
public void test_01_short()
-
test_01_short_getBase
public void test_01_short_getBase()
-
test_01_short_getBases
public void test_01_short_getBases()
-
test_01_short_replaceBase
public void test_01_short_replaceBase()
-
test_02_long
public void test_02_long()
-
test_02_long_getBase
public void test_02_long_getBase()
-
test_02_long_getBases
public void test_02_long_getBases()
-
test_02_long_replaceBase
public void test_02_long_replaceBase()
-
test_13_reverseWc
public void test_13_reverseWc()
-
-