augur.util_support.metadata_file module
- class augur.util_support.metadata_file.MetadataFile(fname, query=None, as_data_frame=False)
Bases:
object
Represents a CSV or TSV file containing metadata
The file must contain exactly one of a column named strain or name, which is used to match metadata with samples.
- check_metadata_duplicates()
- property columns
- find_key_type()
- property metadata
Return list of dicts representing the metadata in the file.
If a query was supplied, apply it.
- parse_file()
- read()