seismicrna.clusterscan.tests package

Submodules

class seismicrna.clusterscan.tests.clusterscan_test.TestClusterScan(*args, **kwargs)

Bases: ScanTestBase

Test the full filterscan -> clusterscan pipeline.

load_report()
run_clusterscan_check(idmut_dirs: list[Path], expect_regions: dict[tuple[int, int], int], **kwargs)
test_domains012_read120()
test_domains012_read180()
test_domains012_read180_cli()
test_domains012_read60()
test_domains02_read60()
class seismicrna.clusterscan.tests.clusterscan_test.TestEvaluateGap(methodName='runTest')

Bases: TestCase

Unit-test the independence test on constructed spanning reads.

A_POS = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20]
B_POS = [21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40]
LEFT_END3 = 20
RIGHT_END5 = 21
setUp()

Hook method for setting up the test fixture before exercising it.

test_coupled_gap_merged()
test_independent_gap_kept()
test_single_cluster_side_kept()