seismicrna.core.rna.tests package

Submodules

class seismicrna.core.rna.tests.db_test.TestFormatDbString(methodName='runTest')

Bases: TestCase

test_deep_pairs()
test_excess_pseudoknot()
test_invalid_pair()
test_invalid_pos3()
test_invalid_pos5()
test_multi_pseudoknot()
test_no_pairs()
test_one_pair()
test_pseudoknot()
test_repeat_pos3()
test_repeat_pos5()
test_shallow_pairs()
class seismicrna.core.rna.tests.db_test.TestPairedMarks(methodName='runTest')

Bases: TestCase

test_paired_marks()
class seismicrna.core.rna.tests.db_test.TestParseDbString(methodName='runTest')

Bases: TestCase

test_dangling_closer()
test_dangling_opener()
test_deep_pairs()
test_multi_marks()
test_multi_pseudoknot()
test_no_pairs()
test_pseudoknot()
test_shallow_pairs()
class seismicrna.core.rna.tests.pair_test.TestConstants(methodName='runTest')

Bases: TestCase

test_unpaired()

Partner given to unpaired bases in CT format.

class seismicrna.core.rna.tests.pair_test.TestDictToPairs(methodName='runTest')

Bases: TestCase

test_empty()
test_invalid_pair()
test_invalid_position()
test_missing_reverse_1()
test_missing_reverse_2()
test_normal()
class seismicrna.core.rna.tests.pair_test.TestDictToTable(methodName='runTest')

Bases: TestCase

test_empty()
test_normal()
class seismicrna.core.rna.tests.pair_test.TestFindEnclosingPairs(methodName='runTest')

Bases: TestCase

test_nested()
test_no_pairs()
test_pseudoknotted()
class seismicrna.core.rna.tests.pair_test.TestPairsToDict(methodName='runTest')

Bases: TestCase

test_conflicting_pair_1()
test_conflicting_pair_2()
test_empty()
test_invalid_position()
test_normal()
class seismicrna.core.rna.tests.pair_test.TestPairsToTable(methodName='runTest')

Bases: TestCase

test_conflicting_pair_1()
test_conflicting_pair_2()
test_invalid_position_1()
test_invalid_position_2()
test_no_pairs()
test_normal()
class seismicrna.core.rna.tests.pair_test.TestTableToDict(methodName='runTest')

Bases: TestCase

test_empty()
test_normal()
class seismicrna.core.rna.tests.pair_test.TestTableToPairs(methodName='runTest')

Bases: TestCase

test_empty()
test_normal()
class seismicrna.core.rna.tests.roc_test.TestComputeAucRoc(methodName='runTest')

Bases: TestCase

test_all_false_positives()
test_all_positions_unpaired()
test_empty_prediction()
test_empty_prediction_with_unpaired()
test_invalid_dtype()
test_invalid_dtype_for_unpaired()
test_mixed_prediction()
test_neither_paired_nor_unpaired()
test_no_positions_unpaired()
test_perfect_prediction()
class seismicrna.core.rna.tests.roc_test.TestComputeFprTpr(methodName='runTest')

Bases: TestCase

test_all_false_positives()
test_all_positions_unpaired()
test_empty_prediction()
test_empty_prediction_with_unpaired()
test_invalid_dtype()
test_invalid_dtype_for_unpaired()
test_mixed_paired_unpaired()
test_mixed_prediction()
test_neither_paired_nor_unpaired()
test_no_positions_unpaired()
test_perfect_prediction()
class seismicrna.core.rna.tests.roc_test.TestComputeRocCurve(methodName='runTest')

Bases: TestCase

test_all_false_positives()
test_all_positions_unpaired()
test_empty_prediction()
test_empty_prediction_with_unpaired()
test_invalid_dtype()
test_invalid_dtype_for_unpaired()
test_mixed_prediction()
test_neither_paired_nor_unpaired()
test_no_positions_unpaired()
test_perfect_prediction()
class seismicrna.core.rna.tests.struct_test.TestCalcWfmi(methodName='runTest')

Bases: TestCase

test_all_unpaired()
test_all_vs_internal_pairs_1()
test_all_vs_internal_pairs_2()
test_completely_different_structures()
test_different_regions()
test_empty_region()
test_identical_structures()
test_internal_pairs_only()
test_mixed_paired_unpaired()
test_mixed_paired_unpaired_subset()
test_one_empty_one_paired()
test_pseudoknot_structures()
class seismicrna.core.rna.tests.struct_test.TestRNAStructure(methodName='runTest')

Bases: TestCase

test_from_db_string()
test_init_outside_region()
test_init_success()
test_is_paired()
test_is_paired_internally()