From cce590efe6d0cc0f7324e575301cf0c94d10dea8 Mon Sep 17 00:00:00 2001 From: bcorrie Date: Thu, 7 Nov 2024 17:12:31 +0000 Subject: [PATCH] Sync schemas --- lang/R/inst/extdata/airr-schema.yaml | 10 ++++++++++ lang/python/airr/specs/airr-schema.yaml | 10 ++++++++++ 2 files changed, 20 insertions(+) diff --git a/lang/R/inst/extdata/airr-schema.yaml b/lang/R/inst/extdata/airr-schema.yaml index faedb38f..c822c5f5 100644 --- a/lang/R/inst/extdata/airr-schema.yaml +++ b/lang/R/inst/extdata/airr-schema.yaml @@ -91,6 +91,7 @@ CURIEMap: type: identifier default: map: IEDB_RECEPTOR + provider: IEDB_RECEPTOR map: IEDB_RECEPTOR: iri_prefix: "https://www.iedb.org/receptor/" @@ -180,6 +181,15 @@ InformationProvider: request: url: "{iri}" response: text/html + IEDB_RECEPTOR: + request: + url: "https://query-api.iedb.org/tcr_search?receptor_group_id=eq.{local_id}" + url: "https://query-api.iedb.org/tcr_search?receptor_group_id=eq.{local_id}" + response: application/json + IEDB_EPITOPE: + request: + url: "https://query-api.iedb.org/epitope_search?structure_id=eq.{local_id}" + response: application/json OLS: request: url: "https://www.ebi.ac.uk/ols/api/ontologies/{ontology_id}/terms?iri={iri}" diff --git a/lang/python/airr/specs/airr-schema.yaml b/lang/python/airr/specs/airr-schema.yaml index faedb38f..c822c5f5 100644 --- a/lang/python/airr/specs/airr-schema.yaml +++ b/lang/python/airr/specs/airr-schema.yaml @@ -91,6 +91,7 @@ CURIEMap: type: identifier default: map: IEDB_RECEPTOR + provider: IEDB_RECEPTOR map: IEDB_RECEPTOR: iri_prefix: "https://www.iedb.org/receptor/" @@ -180,6 +181,15 @@ InformationProvider: request: url: "{iri}" response: text/html + IEDB_RECEPTOR: + request: + url: "https://query-api.iedb.org/tcr_search?receptor_group_id=eq.{local_id}" + url: "https://query-api.iedb.org/tcr_search?receptor_group_id=eq.{local_id}" + response: application/json + IEDB_EPITOPE: + request: + url: "https://query-api.iedb.org/epitope_search?structure_id=eq.{local_id}" + response: application/json OLS: request: url: "https://www.ebi.ac.uk/ols/api/ontologies/{ontology_id}/terms?iri={iri}"