seismicrna.importmm.tests package

Submodules

class seismicrna.importmm.tests.mm_test.TestIterMMFile(methodName='runTest')

Bases: TestCase

setUp()

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

tearDown()

Hook method for deconstructing the test fixture after testing it.

test_ref1_id()
test_ref1_read0_single_mutation()
test_ref1_read0_start_end()
test_ref1_read1_two_mutations()
test_ref1_read2_no_mutations()
test_ref1_read_count()
test_ref1_sequence()
test_ref2_id()
test_ref2_read0_mutation()
test_ref2_read1_no_mutations()
test_ref2_read_count()
test_ref2_sequence()
test_yields_two_transcripts()
class seismicrna.importmm.tests.write_test.TestBuildMutCodes(methodName='runTest')

Bases: TestCase

Verify that per-position mutation codes are computed correctly.

test_acgt_all_positions()
test_insert3_false_uses_ins5()
test_insert3_true_base_a()
test_insert3_true_base_c()
test_insert3_true_base_g()
test_insert3_true_base_n()
test_insert3_true_base_t()
class seismicrna.importmm.tests.write_test.TestImportMM(methodName='runTest')

Bases: TestCase

Integration tests: import a two-reference MM file and verify outputs.

setUp()

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

tearDown()

Hook method for deconstructing the test fixture after testing it.

test_min_reads_skips_ref2()

When min_reads exceeds ref2’s read count, only ref1 is imported.

test_ref1_batch_exists()
test_ref1_refseq_exists()
test_ref1_report_exists()
test_ref1_report_n_reads_rel()
test_ref1_report_n_reads_xam()
test_ref1_report_ref()
test_ref1_report_sample()
test_ref2_batch_exists()
test_ref2_refseq_exists()
test_ref2_report_exists()
test_ref2_report_n_reads_rel()
test_ref2_report_n_reads_xam()
test_ref2_report_ref()
test_ref2_report_sample()
test_result_paths_are_distinct()
test_returns_two_paths()
class seismicrna.importmm.tests.write_test.TestRFCountIntegration(methodName='runTest')

Bases: TestCase

Verify importmm and relate produce identical position/read-table counts.

test_matches_relate()