The HCMI "Model Details" page (e.g. https://hcmi-searchable-catalog.nci.nih.gov/model/HCM-BROD-0648-C71) contains a "Sequencing Files" link under the "External Resources" section that previously pointed to a GDC v1 search filtered on the files related to the GDC Case ID of that model.
With the release of GDC v2, the ability to deep link to a search with file filters was deprecated.
GDC has since added a "Files" table to the "Case" page for a given Case ID, allowing us to link directly to that table and replace the functionality we had with v1.
This PR migrates existing links to the new format, and ensures new links will be created appropriately.
Changes
Adds a migration to rewrite existing model source_sequence_urls to point to the new Files table on GDC v2's Case ID page
Updates the automatic GDC Importer to write source_sequence_urls using the new v2 format
🚨 DEPLOY INSTRUCTIONS 🚨
Deploy the new tag through Jenkins
Run the 20240708184150-update-models-gdc-v2-sequence-urls migration:
cd cms/variant-migrations
./../node_modules/.bin/migrate-mongo up -f migrate-mongo-config.js
Context
The HCMI "Model Details" page (e.g. https://hcmi-searchable-catalog.nci.nih.gov/model/HCM-BROD-0648-C71) contains a "Sequencing Files" link under the "External Resources" section that previously pointed to a GDC v1 search filtered on the files related to the GDC Case ID of that model.
With the release of GDC v2, the ability to deep link to a search with file filters was deprecated.
GDC has since added a "Files" table to the "Case" page for a given Case ID, allowing us to link directly to that table and replace the functionality we had with v1.
This PR migrates existing links to the new format, and ensures new links will be created appropriately.
Changes
source_sequence_url
s to point to the new Files table on GDC v2's Case ID pagesource_sequence_url
s using the new v2 format🚨 DEPLOY INSTRUCTIONS 🚨
20240708184150-update-models-gdc-v2-sequence-urls
migration:republish
script