diff --git a/docs/common/classifications-and-ontologies.md b/docs/common/classifications-and-ontologies.md index 594e0daf..f3cf98fa 100644 --- a/docs/common/classifications-and-ontologies.md +++ b/docs/common/classifications-and-ontologies.md @@ -295,7 +295,7 @@ Accordingly, upon export through the API variants are re-mapped to a Beacon v2 r { "id": "pgxvar-5bab576a727983b2e00b8d32", "variant_internal_id": "11:52900000-134452384:DEL", - "callset_id": "pgxcs-kftvldsu", + "analysis_id": "pgxcs-kftvldsu", "biosample_id": "pgxbs-kftva59y", "individual_id": "pgxind-kftx25eh", "variant_state": { "id": "EFO:0030067", "label": "copy number loss" }, @@ -314,7 +314,7 @@ Accordingly, upon export through the API variants are re-mapped to a Beacon v2 r ```json { "updated": "2023-05-25T17:03:45.096849", - "callset_id": "pgxcs-kl8hg1r8", + "analysis_id": "pgxcs-kl8hg1r8", "biosample_id": "pgxbs-kl8hg1r4", "id": "pgxvar-5be1840772798347f0ed9d9d", "variant_internal_id": "5:67589139:G>A", diff --git a/src/modules/details-pages/biosamplePage.js b/src/modules/details-pages/biosamplePage.js index 5225fc2e..49a9e823 100644 --- a/src/modules/details-pages/biosamplePage.js +++ b/src/modules/details-pages/biosamplePage.js @@ -24,7 +24,7 @@ const SampleDetailsPage = withUrlQuery(({ urlQuery }) => { } const hasAllParams = id && datasetIds - const iURL = `${SITE_DEFAULTS.API_PATH}beacon/individuals/?biosampleIds=${id}&datasetIds=${datasetIds}&limit=1` + const iURL = `${SITE_DEFAULTS.API_PATH}beacon/biosamples/${id}/individuals?datasetIds=${datasetIds}&limit=1` var [individual, setIndividual] = useState([]); useEffect(() => { fetch( iURL )