augur.util_support.node_data_reader module

class augur.util_support.node_data_reader.NodeDataReader(filenames, tree_file=None, skip_validation=False)

Bases: object

Parses one or more node data files and combines them into a single data structure.

The format of Node data files is described in docs/usage/json_format.md. The generated_by attribute is not included in the resulting data structure.

If a tree file is specified, it is used to verify the node names.

If skip_validation is set to true, Augur version of node data files is not checked.

build_node_data()
check_against_tree_file(node_data)
property node_data_files
property node_names_from_tree_file
read()