seqan.test package

Submodules

seqan.test.test_build_index module

Test building an index.

seqan.test.test_build_index.test_build_index()
seqan.test.test_build_index.visitvertex(it)

seqan.test.test_graphtool module

Test creating a tree from a suffix tree.

seqan.test.test_graphtool.test_graphtool()

Test creating a tree from a suffix tree.

seqan.test.test_index module

Test building an index.

seqan.test.test_index.test_build_index()
seqan.test.test_index.test_go_down()
seqan.test.test_index.test_index_as_strings_custodian()
seqan.test.test_index.test_index_text()
seqan.test.test_index.test_infix_comparison()
seqan.test.test_index.test_long_edges()
seqan.test.test_index.test_save_load_index()
seqan.test.test_index.test_small_index()

seqan.test.test_iterator module

Test assigning iterator functionality.

class seqan.test.test_iterator.DescenderTest

Bases: object

descend(it)

Descend the index.

descendhistory(it)

Descend the index.

seqan.test.test_iterator.check_go_down_str(i, s, representative)
seqan.test.test_iterator.indexiteratorcombos()
seqan.test.test_iterator.iteratortypesforindex(Index)
seqan.test.test_iterator.make_string_set(seqs)

Make a string set of the given type from the python sequences.

seqan.test.test_iterator.test_by_value_init()

Test by-value initialisation

seqan.test.test_iterator.test_compare_history_and_non_history()
seqan.test.test_iterator.test_get_occurrences()

Test getting iterator occurrences

seqan.test.test_iterator.test_go_down_str()
seqan.test.test_iterator.test_go_up()
seqan.test.test_iterator.test_iterator()
seqan.test.test_iterator.test_parallel_descender()
seqan.test.test_iterator.test_representative_equality()

seqan.test.test_property_map module

Test assigning properties to nodes.

seqan.test.test_property_map.test_property_map()

seqan.test.test_read_fasta module

Test reading a FASTA file.

seqan.test.test_read_fasta.test_read_fasta()

seqan.test.test_simple_types module

Test simple type functionality.

seqan.test.test_simple_types.assert_eq(x1, x2)
seqan.test.test_simple_types.assert_ne(x1, x2)
seqan.test.test_simple_types.check_g(x)
seqan.test.test_simple_types.check_n(x)
seqan.test.test_simple_types.test_dna_against_dna5()
seqan.test.test_simple_types.test_g()
seqan.test.test_simple_types.test_long_simple_type()
seqan.test.test_simple_types.test_n()

seqan.test.test_small_index module

Test some memory management problems

seqan.test.test_strings module

Test string functionality.

seqan.test.test_strings.check_comparisons(str_type_1, str_type_2)
seqan.test.test_strings.check_comparisons_both_ways(str_type_1, str_type_2)
seqan.test.test_strings.check_strs_eq(s1, s2)
seqan.test.test_strings.check_strs_ne(s1, s2)
seqan.test.test_strings.infix_maker(str_type)
seqan.test.test_strings.test_string_comparison()
seqan.test.test_strings.test_string_infix_types_different()
seqan.test.test_strings.test_string_infixes()
seqan.test.test_strings.test_string_reversecomplement()
seqan.test.test_strings.test_string_set_append()
seqan.test.test_strings.test_string_set_iteration()
seqan.test.test_strings.test_strings()

seqan.test.test_write_pgf module

Test writing a suffix tree as a PGF tree.

seqan.test.test_write_pgf.test_write_pgf()

Test writing a PGF representing a suffix tree.

Module contents

Generic setup code shared between tests.

seqan.test.append_to_path(d)
seqan.test.fasta_dir()
seqan.test.fasta_file(filename)
seqan.test.init_env(f, level=10)

Initialise test environment.

seqan.test.is_debug_python()

@return: True iff is a debug python.

seqan.test.log_path(level=10)
seqan.test.prepend_to_path(d)
seqan.test.show_shallow_tree(i)
seqan.test.update_path_for_seqan()