augur.curate.transform_strain_name module

Verifies strain name pattern in the ‘strain’ field of the NDJSON record. Adds a ‘strain’ field to the record if it does not already exist.

augur.curate.transform_strain_name.register_parser(parent_subparsers)
Return type:

_SubParsersAction

augur.curate.transform_strain_name.run(args, records)
Return type:

Generator[dict, None, None]

augur.curate.transform_strain_name.transform_name(record, index, strain_name_pattern, backup_fields)
Return type:

dict