-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Concatenates the downloaded accession links file to the existing `source-data/accessions.tsv.gz` since the downloaded file seems to be missing some of the existing links.¹ The transform scripts apply the accession links in order, so the last matching accession link is used in the final metadata. This allows us to default to the downloaded file which is the latest data. ¹ <#485 (comment)>
- Loading branch information
1 parent
a4089e7
commit fd01604
Showing
2 changed files
with
19 additions
and
5 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -5,5 +5,4 @@ curl "https://hgwdev.gi.ucsc.edu/~angie/epiToPublicAndDate.latest" \ | |
--fail --silent --show-error \ | ||
--header 'User-Agent: https://github.com/nextstrain/ncov-ingest ([email protected])' \ | ||
| csvtk -t add-header --names gisaid_epi_isl,genbank_accession,strain,date \ | ||
| csvtk -t cut --fields genbank_accession,gisaid_epi_isl \ | ||
| gzip -c | ||
| csvtk -t cut --fields genbank_accession,gisaid_epi_isl |
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