Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge changes for issue 781 (Reactivity) #784

Merged
merged 29 commits into from
Nov 7, 2024
Merged
Show file tree
Hide file tree
Changes from 12 commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
7c8afbc
Initial changes for this issue
bcorrie Apr 16, 2024
9c370ca
Undo mistaken change.
bcorrie Apr 16, 2024
79c7c40
Change reference to IEDB epitope as an example
bcorrie Sep 20, 2024
d6f9247
Change examples to be internally more consistent
bcorrie Sep 20, 2024
65fed78
Sync schemas.
bcorrie Sep 22, 2024
510e662
Add reactivity_id to v3 spec
bcorrie Sep 22, 2024
9900707
Fix nullable
bcorrie Sep 22, 2024
edf410e
Sync v2 and v3 specs
bcorrie Sep 22, 2024
afae8bc
Fix nullable
bcorrie Sep 22, 2024
9ed486f
Change reactivity fields from enum to string
bcorrie Sep 22, 2024
817867e
Change reactivity fields from enum to string
bcorrie Sep 22, 2024
554d2db
Sync
bcorrie Sep 22, 2024
f261ce3
Add reactivity_ref
bcorrie Oct 16, 2024
71687d9
Add IEDB CURIE info
bcorrie Oct 16, 2024
83aa1fb
Add reactivity_ref
bcorrie Oct 16, 2024
9ffbc2c
Sync python and R
bcorrie Oct 16, 2024
a196966
Change case of UNIPROT CURIE
bcorrie Oct 16, 2024
ed3e844
Sync
bcorrie Oct 16, 2024
365bd4a
Add IEDB providers.
bcorrie Nov 7, 2024
0da92d8
Add IEDB providers.
bcorrie Nov 7, 2024
cce590e
Sync schemas
bcorrie Nov 7, 2024
ffccc62
Add provider links in CURIE map
bcorrie Nov 7, 2024
30bed48
Schema consistency updates
bcorrie Nov 7, 2024
9d95607
Consistency check
bcorrie Nov 7, 2024
be41a50
Sync open api 3 version of spec
bcorrie Nov 7, 2024
3c78c2e
Merge branch 'master' of https://github.com/airr-community/airr-stand…
bcorrie Nov 7, 2024
5aea225
Add second URL to IEDB_RECEPTOR provider.
bcorrie Nov 7, 2024
43b4bc3
Change url to be an array for IEDB_RECEPTOR
bcorrie Nov 7, 2024
23b796c
Change quotes - yaml parser is interpreting ? in string
bcorrie Nov 7, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 37 additions & 17 deletions lang/R/inst/extdata/airr-schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4403,6 +4403,12 @@ Rearrangement:
nullable: true
adc-query-support: true
identifier: true
reactivity_id:
type: string
description: Unique identifier of reactivity record associated with this Rearrangement.
x-airr:
nullable: true
identifier: true
sample_processing_id:
type: string
description: >
Expand Down Expand Up @@ -4738,7 +4744,7 @@ Cell:

# The Expression object acts as a container to hold a single expression level measurement from
# an experiment. Expression data is associated with a cell_id and the related repertoire_id and
# data_processing_id
# data_processing_id
Expression:
type: object
required:
Expand Down Expand Up @@ -4969,7 +4975,7 @@ Reactivity:
Identifier of the Cell in the context of which the reactivity measurement was conducted.
title: Cell ID
x-airr:
nullable: false
nullable: true
adc-query-support: true
repertoire_id:
type: string
Expand Down Expand Up @@ -4998,7 +5004,7 @@ Reactivity:
- peptide
- non-peptidic
description: Classification of ligand binding to the cell
example: non-peptide
example: "MHC:peptide"
x-airr:
format: controlled_vocabulary
nullable: false
Expand All @@ -5024,8 +5030,8 @@ Reactivity:
or by T cell activation after presentation via an MHC molecule.
title: Antigen
example:
id: UNIPROT:P19597
label: Circumsporozoite protein
id: UniProt:P01308
label: Insulin
x-airr:
nullable: false
adc-query-support: true
Expand All @@ -5035,8 +5041,8 @@ Reactivity:
description: The species from which the antigen was isolated
title: Source species of antigen
example:
id: NCBITAXON:5843
label: Plasmodium falciparum NF54
id: NCBITAXON:9606
label: Homo sapiens
x-airr:
nullable: true
adc-query-support: true
Expand All @@ -5049,18 +5055,21 @@ Reactivity:
peptide_start:
type: integer
description: Start position of the peptide within the reference protein sequence
example: 87
x-airr:
nullable: true
peptide_end:
type: integer
description: End position of the peptide within the reference protein sequence
example: 101
x-airr:
nullable: true
peptide_sequence_aa:
type: string
description: >
The actual peptide sequence against which the receptor reactivity was measured. This field should be
used as a convenience for antigens of antigen_type `protein` or `peptide`.
example: QKRGIVEQCCTSICS
x-airr:
nullable: true
adc-query-support: true
Expand Down Expand Up @@ -5126,23 +5135,24 @@ Reactivity:
adc-query-support: true
reactivity_method:
type: string
enum:
- native_protein
- MHC_peptide_multimer
description: The methodology used to assess expression (assay implemented in experiment)
description: >
The methodology used to assess/classify reactivity. This should be either the assay utlizied in the experiment,
delineated as "annotated" if annotated from an external source (e.g. IEDB), or inferred if imputed using
a computational method. In future versions we anticipate this field being an enumerated type, and it is strongly
recommended that users utilize one of the following keywords in this field if appropriate:
native_protein, MHC_peptide_multimer, annotated, inferred.
x-airr:
format: controlled_vocabulary
nullable: false
adc-query-support: true
reactivity_readout:
type: string
enum:
- fluorescence_intensity
- barcode_count
description: Reactivity measurement read-out
description: >
Reactivity measurement read-out. For physical assays, this should describe what was measured. For inferred
and annotated methods this should indicate a confidence/quality level for the inference/annotation. In future
versions we anticipate this field being an enumerated type, and it is strongly recommended that users utilize
one of the following keywords in this field if appropriate: fluorescence_intensity, barcode_count, confidence.
example: barcode_count
x-airr:
format: controlled_vocabulary
nullable: false
adc-query-support: true
reactivity_value:
Expand All @@ -5159,3 +5169,13 @@ Reactivity:
x-airr:
nullable: false
adc-query-support: true
reactivity_ref:
type: array
description: Array of cross references to external epitope reactivity records
title: Epitope reactivity cross-references
items:
type: string
example: ["IEDB_EPITOPE:1616345"]
x-airr:
nullable: true
adc-query-support: true
54 changes: 37 additions & 17 deletions lang/python/airr/specs/airr-schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4403,6 +4403,12 @@ Rearrangement:
nullable: true
adc-query-support: true
identifier: true
reactivity_id:
type: string
description: Unique identifier of reactivity record associated with this Rearrangement.
x-airr:
nullable: true
identifier: true
sample_processing_id:
type: string
description: >
Expand Down Expand Up @@ -4738,7 +4744,7 @@ Cell:

# The Expression object acts as a container to hold a single expression level measurement from
# an experiment. Expression data is associated with a cell_id and the related repertoire_id and
# data_processing_id
# data_processing_id
Expression:
type: object
required:
Expand Down Expand Up @@ -4969,7 +4975,7 @@ Reactivity:
Identifier of the Cell in the context of which the reactivity measurement was conducted.
title: Cell ID
x-airr:
nullable: false
nullable: true
adc-query-support: true
repertoire_id:
type: string
Expand Down Expand Up @@ -4998,7 +5004,7 @@ Reactivity:
- peptide
- non-peptidic
description: Classification of ligand binding to the cell
example: non-peptide
example: "MHC:peptide"
x-airr:
format: controlled_vocabulary
nullable: false
Expand All @@ -5024,8 +5030,8 @@ Reactivity:
or by T cell activation after presentation via an MHC molecule.
title: Antigen
example:
id: UNIPROT:P19597
label: Circumsporozoite protein
id: UniProt:P01308
label: Insulin
x-airr:
nullable: false
adc-query-support: true
Expand All @@ -5035,8 +5041,8 @@ Reactivity:
description: The species from which the antigen was isolated
title: Source species of antigen
example:
id: NCBITAXON:5843
label: Plasmodium falciparum NF54
id: NCBITAXON:9606
label: Homo sapiens
x-airr:
nullable: true
adc-query-support: true
Expand All @@ -5049,18 +5055,21 @@ Reactivity:
peptide_start:
type: integer
description: Start position of the peptide within the reference protein sequence
example: 87
x-airr:
nullable: true
peptide_end:
type: integer
description: End position of the peptide within the reference protein sequence
example: 101
x-airr:
nullable: true
peptide_sequence_aa:
type: string
description: >
The actual peptide sequence against which the receptor reactivity was measured. This field should be
used as a convenience for antigens of antigen_type `protein` or `peptide`.
example: QKRGIVEQCCTSICS
x-airr:
nullable: true
adc-query-support: true
Expand Down Expand Up @@ -5126,23 +5135,24 @@ Reactivity:
adc-query-support: true
reactivity_method:
type: string
enum:
- native_protein
- MHC_peptide_multimer
description: The methodology used to assess expression (assay implemented in experiment)
description: >
The methodology used to assess/classify reactivity. This should be either the assay utlizied in the experiment,
delineated as "annotated" if annotated from an external source (e.g. IEDB), or inferred if imputed using
a computational method. In future versions we anticipate this field being an enumerated type, and it is strongly
recommended that users utilize one of the following keywords in this field if appropriate:
native_protein, MHC_peptide_multimer, annotated, inferred.
x-airr:
format: controlled_vocabulary
nullable: false
adc-query-support: true
reactivity_readout:
type: string
enum:
- fluorescence_intensity
- barcode_count
description: Reactivity measurement read-out
description: >
Reactivity measurement read-out. For physical assays, this should describe what was measured. For inferred
and annotated methods this should indicate a confidence/quality level for the inference/annotation. In future
versions we anticipate this field being an enumerated type, and it is strongly recommended that users utilize
one of the following keywords in this field if appropriate: fluorescence_intensity, barcode_count, confidence.
example: barcode_count
x-airr:
format: controlled_vocabulary
nullable: false
adc-query-support: true
reactivity_value:
Expand All @@ -5159,3 +5169,13 @@ Reactivity:
x-airr:
nullable: false
adc-query-support: true
reactivity_ref:
type: array
description: Array of cross references to external epitope reactivity records
title: Epitope reactivity cross-references
items:
type: string
example: ["IEDB_EPITOPE:1616345"]
x-airr:
nullable: true
adc-query-support: true
52 changes: 36 additions & 16 deletions specs/airr-schema-openapi3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4669,6 +4669,12 @@ Rearrangement:
x-airr:
adc-query-support: true
identifier: true
reactivity_id:
type: string
nullable: true
description: Unique identifier of reactivity record associated with this Rearrangement.
x-airr:
identifier: true
repertoire_id:
type: string
nullable: true
Expand Down Expand Up @@ -5270,7 +5276,7 @@ Reactivity:
adc-query-support: true
cell_id:
type: string
nullable: false
nullable: true
description: >
Identifier of the Cell in the context of which the reactivity measurement was conducted.
title: Cell ID
Expand Down Expand Up @@ -5304,7 +5310,7 @@ Reactivity:
- peptide
- non-peptidic
description: Classification of ligand binding to the cell
example: non-peptide
example: "MHC:peptide"
x-airr:
format: controlled_vocabulary
adc-query-support: true
Expand All @@ -5330,8 +5336,8 @@ Reactivity:
or by T cell activation after presentation via an MHC molecule.
title: Antigen
example:
id: UNIPROT:P19597
label: Circumsporozoite protein
id: UniProt:P01308
label: Insulin
x-airr:
adc-query-support: true
format: ontology
Expand All @@ -5341,8 +5347,8 @@ Reactivity:
description: The species from which the antigen was isolated
title: Source species of antigen
example:
id: NCBITAXON:5843
label: Plasmodium falciparum NF54
id: NCBITAXON:9606
label: Homo sapiens
x-airr:
adc-query-support: true
format: ontology
Expand All @@ -5354,14 +5360,17 @@ Reactivity:
peptide_start:
type: integer
nullable: true
example: 87
description: Start position of the peptide within the reference protein sequence
peptide_end:
type: integer
nullable: true
example: 101
description: End position of the peptide within the reference protein sequence
peptide_sequence_aa:
type: string
nullable: true
example: QKRGIVEQCCTSICS
description: >
The actual peptide sequence against which the receptor reactivity was measured. This field should be
used as a convenience for antigens of antigen_type `protein` or `peptide`.
Expand Down Expand Up @@ -5430,24 +5439,25 @@ Reactivity:
reactivity_method:
type: string
nullable: false
enum:
- native_protein
- MHC_peptide_multimer
description: The methodology used to assess expression (assay implemented in experiment)
description: >
The methodology used to assess/classify reactivity. This should be either the assay utlizied in the experiment,
delineated as "annotated" if annotated from an external source (e.g. IEDB), or inferred if imputed using
a computational method. In future versions we anticipate this field being an enumerated type, and it is strongly
recommended that users utilize one of the following keywords in this field if appropriate:
native_protein, MHC_peptide_multimer, annotated, inferred.
x-airr:
adc-query-support: true
format: controlled_vocabulary
reactivity_readout:
type: string
nullable: false
enum:
- fluorescence_intensity
- barcode_count
description: Reactivity measurement read-out
description: >
Reactivity measurement read-out. For physical assays, this should describe what was measured. For inferred
and annotated methods this should indicate a confidence/quality level for the inference/annotation. In future
versions we anticipate this field being an enumerated type, and it is strongly recommended that users utilize
one of the following keywords in this field if appropriate: fluorescence_intensity, barcode_count, confidence.
example: barcode_count
x-airr:
adc-query-support: true
format: controlled_vocabulary
reactivity_value:
type: number
nullable: false
Expand All @@ -5462,3 +5472,13 @@ Reactivity:
example: read count
x-airr:
adc-query-support: true
reactivity_ref:
type: array
nullable: true
description: Array of cross references to external epitope reactivity records
title: Epitope reactivity cross-references
items:
type: string
example: ["IEDB_EPITOPE:1616345"]
x-airr:
adc-query-support: true
Loading
Loading