Several importers generate file manifests or lists of files with file location and metadata. When data is promoted into the ref data client, these file lists should be imported and appended to an existing index table so that there's a central location for tracking where files are.
There are currently a couple of different sources and formats for these file listings:
- frictionless data package / data resource manifests, generated by DTS and pipelines like the NCBI FTP updater;
- JSON or parquet tables, as generated by the AllTheBacteria importers
Additionally, there are several pipelines that break up large files into small chunks for ease of parsing (e.g. xml_file_splitter with the uniprot and uniref XML files), and having an index of where these files are would be handy.
To do:
File mover script:
Several importers generate file manifests or lists of files with file location and metadata. When data is promoted into the ref data client, these file lists should be imported and appended to an existing index table so that there's a central location for tracking where files are.
There are currently a couple of different sources and formats for these file listings:
Additionally, there are several pipelines that break up large files into small chunks for ease of parsing (e.g. xml_file_splitter with the uniprot and uniref XML files), and having an index of where these files are would be handy.
To do:
File mover script: