-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NCBI Dataset field name transformations
Organize field renaming into two parts. 1. Rename the NCBI output columns to match the NCBI mnemonics¹ (see `source-data/ncbi-dataset-field-map.tsv`) 2. Where necessary, rename the NCBI mnemonics to match Nextstrain expected column names² (see "transform: fieldmap:" in `config/config.yaml`) ¹ https://www.ncbi.nlm.nih.gov/datasets/docs/v2/reference-docs/command-line/dataformat/tsv/dataformat_tsv_virus-genome/#fields ² https://docs.nextstrain.org/projects/ncov/en/latest/reference/metadata-fields.html
- Loading branch information
Showing
4 changed files
with
44 additions
and
59 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
# Maps the NCBI output TSV column names back to the NCBI mnemonics. | ||
# This list should match the list in | ||
# ingest/workflow/snakemake_rules/fetch_sequences.smk _get_ncbi_dataset_field_mnemonics | ||
key value | ||
Accession genbank_accession_rev | ||
Source database database | ||
Isolate Lineage strain | ||
Geographic Region region | ||
Geographic Location location | ||
Isolate Collection date collected | ||
Release date submitted | ||
Update date updated | ||
Accession accession-rev | ||
Source database sourcedb | ||
Isolate Lineage isolate-lineage | ||
Geographic Region geo-region | ||
Geographic Location geo-location | ||
Isolate Collection date isolate-collection-date | ||
Release date release-date | ||
Update date update-date | ||
Length length | ||
Host Name host | ||
Isolate Lineage source isolation_source | ||
BioProjects bioproject_accession | ||
BioSample accession biosample_accession | ||
SRA Accessions sra_accession | ||
Submitter Names authors | ||
Submitter Affiliation submitting_organization | ||
Host Name host-name | ||
SRA Accessions sra-accs | ||
Submitter Names submitter-names | ||
Submitter Affiliation submitter-affiliation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters