augur.curate.parse_genbank_location moduleļƒ

Parses GenBankā€™s ā€˜locationā€™ field of the NDJSON record to 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]