augur.curate.parse_genbank_location module

Parses GenBank’s location field into 3 separate fields: ā€˜country’, ā€˜division’, and ā€˜location’.

Checks that a record is from GenBank by verifying that the ā€˜database’ field has a value of ā€œGenBankā€ or ā€œRefSeqā€.

augur.curate.parse_genbank_location.parse_location(record, location_field_name)
Return type:

dict

augur.curate.parse_genbank_location.register_parser(parent_subparsers)
Return type:

_SubParsersAction

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

Generator[dict, None, None]