Skip to content

Commit

Permalink
ncbi-virus-url: Add updated as an output column
Browse files Browse the repository at this point in the history
Useful for knowing when the record was last updated in NCBI, which
@j23414 noted to be the "Modification date".¹

This will ultimately add a new field to the NDJSON output from
fetch-from-ncbi-virus, but it should not affect the final metadata
output of the ingest pipelines. Ingest pipelines usually define the
final metadata output columns in the config and would need to be updated
separately.

¹ nextstrain/mpox#104 (comment)
  • Loading branch information
joverlee521 committed Aug 22, 2023
1 parent ea28240 commit d304c91
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ncbi-virus-url
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ def build_query_url(ncbi_taxon_id: str,
('location', 'CountryFull_s'),
('collected', 'CollectionDate_s'),
('submitted', 'CreateDate_dt'),
('updated', 'UpdateDate_dt'),
('length', 'SLen_i'),
('host', 'Host_s'),
('isolation_source', 'Isolation_csv'),
Expand Down

0 comments on commit d304c91

Please sign in to comment.