Debian Codegraph @

airr/specs/airr-schema.yaml

raw
1 #
2 # Schema definitions for AIRR standards objects
3 #
4 Info:
5 title: AIRR Schema
6 description: Schema definitions for AIRR standards objects
7 version: 1.5
8 contact:
9 name: AIRR Community
10 url: https://github.com/airr-community
11 license:
12 name: Creative Commons Attribution 4.0 International
13 url: https://creativecommons.org/licenses/by/4.0/
14
15
16 # Properties that are based upon an ontology use this
17 # standard schema definition
18 Ontology:
19 type: object
20 properties:
21 id:
22 type: string
23 description: CURIE of the concept, encoding the ontology and the local ID
24 label:
25 type: string
26 description: Label of the concept in the respective ontology
27
28 # Map to expand CURIE prefixes to full IRIs
29 CURIEMap:
30 ABREG:
31 type: identifier
32 default:
33 map: ABREG
34 map:
35 ABREG:
36 iri_prefix: "http://antibodyregistry.org/AB_"
37 CHEBI:
38 type: ontology
39 default:
40 map: OBO
41 provider: OLS
42 map:
43 OBO:
44 iri_prefix: "http://purl.obolibrary.org/obo/CHEBI_"
45 CL:
46 type: ontology
47 default:
48 map: OBO
49 provider: OLS
50 map:
51 OBO:
52 iri_prefix: "http://purl.obolibrary.org/obo/CL_"
53 DOI:
54 type: identifier
55 default:
56 map: DOI
57 map:
58 DOI:
59 iri_prefix: "https://doi.org/"
60 DOID:
61 type: ontology
62 default:
63 map: OBO
64 provider: OLS
65 map:
66 OBO:
67 iri_prefix: "http://purl.obolibrary.org/obo/DOID_"
68 ENA:
69 type: identifier
70 default:
71 map: ENA
72 map:
73 ENA:
74 iri_prefix: "https://www.ebi.ac.uk/ena/browser/view/"
75 ENSG:
76 type: identifier
77 default:
78 map: ENSG
79 map:
80 ENSG:
81 iri_prefix: "https://www.ensembl.org/Multi/Search/Results?q="
82 IEDB_RECEPTOR:
83 type: identifier
84 default:
85 map: IEDB
86 provider: IEDB
87 map:
88 IEDB:
89 iri_prefix: "https://www.iedb.org/receptor/"
90 MRO:
91 type: ontology
92 default:
93 map: OBO
94 provider: OLS
95 map:
96 OBO:
97 iri_prefix: "http://purl.obolibrary.org/obo/MRO_"
98 NCBITAXON:
99 type: taxonomy
100 default:
101 map: OBO
102 provider: OLS
103 map:
104 OBO:
105 iri_prefix: "http://purl.obolibrary.org/obo/NCBITaxon_"
106 BioPortal:
107 iri_prefix: "http://purl.bioontology.org/ontology/NCBITAXON/"
108 NCIT:
109 type: ontology
110 default:
111 map: OBO
112 provider: OLS
113 map:
114 OBO:
115 iri_prefix: "http://purl.obolibrary.org/obo/NCIT_"
116 ORCID:
117 type: catalog
118 default:
119 map: ORCID
120 provider: ORCID
121 map:
122 ORCID:
123 iri_prefix: "https://orcid.org/"
124 ROR:
125 type: catalog
126 default:
127 map: ROR
128 provider: ROR
129 map:
130 ROR:
131 iri_prefix: "https://ror.org/"
132 SRA:
133 type: identifier
134 default:
135 map: SRA
136 map:
137 SRA:
138 iri_prefix: "https://trace.ncbi.nlm.nih.gov/Traces/sra/?run="
139 UBERON:
140 type: ontology
141 default:
142 map: OBO
143 provider: OLS
144 map:
145 OBO:
146 iri_prefix: "http://purl.obolibrary.org/obo/UBERON_"
147 UNIPROT:
148 type: identifier
149 default:
150 map: UNIPROT
151 map:
152 UniProt:
153 iri_prefix: "http://purl.uniprot.org/uniprot/"
154 UO:
155 type: ontology
156 default:
157 map: OBO
158 provider: OLS
159 map:
160 OBO:
161 iri_prefix: "http://purl.obolibrary.org/obo/UO_"
162
163 InformationProvider:
164 provider:
165 ENA:
166 request:
167 url: "{iri}"
168 response: text/html
169 IEDB:
170 request:
171 url: "https://query-api.iedb.org/tcr_search?receptor_group_id=eq.{local_id}"
172 response: application/json
173 OLS:
174 request:
175 url: "https://www.ebi.ac.uk/ols/api/ontologies/{ontology_id}/terms?iri={iri}"
176 response: application/json
177 Ontobee:
178 request:
179 url: "http://www.ontobee.org/ontology/rdf/{ontology_id}?iri={iri}"
180 response: application/rdf+xml
181 ORCID:
182 request:
183 url: "https://pub.orcid.org/v2.1/{local_id}"
184 header:
185 Accept: application/json
186 response: application/json
187 ROR:
188 request:
189 url: "https://api.ror.org/organizations/{iri}"
190 response: application/json
191 SRA:
192 request:
193 url: "{iri}"
194 response: text/html
195 parameter:
196 CHEBI:
197 Ontobee:
198 ontology_id: CHEBI
199 OLS:
200 ontology_id: chebi
201 CL:
202 Ontobee:
203 ontology_id: CL
204 OLS:
205 ontology_id: cl
206 DOID:
207 Ontobee:
208 ontology_id: DOID
209 OLS:
210 ontology_id: doid
211 MRO:
212 Ontobee:
213 ontology_id: MRO
214 OLS:
215 ontology_id: mro
216 NCBITAXON:
217 Ontobee:
218 ontology_id: NCBITaxon
219 OLS:
220 ontology_id: ncbitaxon
221 BioPortal:
222 ontology_id: NCBITAXON
223 NCIT:
224 Ontobee:
225 ontology_id: NCIT
226 OLS:
227 ontology_id: ncit
228 UBERON:
229 Ontobee:
230 ontology_id: UBERON
231 OLS:
232 ontology_id: uberon
233 UO:
234 Ontobee:
235 ontology_id: UO
236 OLS:
237 ontology_id: uo
238
239 # AIRR specification extensions
240 #
241 # The schema definitions for AIRR standards objects is extended to
242 # provide a number of AIRR specific attributes. This schema definition
243 # specifies the structure, property names and data types. These
244 # attributes are attached to an AIRR field with the x-airr property.
245
246 Attributes:
247 type: object
248 properties:
249 miairr:
250 type: string
251 description: MiAIRR requirement level.
252 enum:
253 - essential
254 - important
255 - defined
256 default: defined
257 identifier:
258 type: boolean
259 description: >
260 True if the field is an identifier required to link metadata and/or individual
261 sequence records across objects in the complete AIRR Data Model and ADC API.
262 default: false
263 adc-query-support:
264 type: boolean
265 description: >
266 True if an ADC API implementation must support queries on the field.
267 If false, query support for the field in ADC API implementations is optional.
268 default: false
269 nullable:
270 type: boolean
271 description: True if the field may have a null value.
272 default: true
273 deprecated:
274 type: boolean
275 description: True if the field has been deprecated from the schema.
276 default: false
277 deprecated-description:
278 type: string
279 description: Information regarding the deprecation of the field.
280 deprecated-replaced-by:
281 type: array
282 items:
283 type: string
284 description: The deprecated field is replaced by this list of fields.
285 set:
286 type: integer
287 description: MiAIRR set
288 subset:
289 type: string
290 description: MiAIRR subset
291 name:
292 type: string
293 description: MiAIRR name
294 format:
295 type: string
296 description: Field format. If null then assume the full range of the field data type
297 enum:
298 - ontology
299 - controlled_vocabulary
300 - physical_quantity
301 - CURIE
302 ontology:
303 type: object
304 description: Ontology definition for field
305 properties:
306 draft:
307 type: boolean
308 description: Indicates if ontology definition is a draft
309 top_node:
310 type: object
311 description: >
312 Concept to use as top node for ontology. Note that this must have the same CURIE namespace
313 as the actually annotated concept.
314 properties:
315 id:
316 type: string
317 description: CURIE for the top node term
318 label:
319 type: string
320 description: Ontology name for the top node term
321
322 # AIRR Data File
323 #
324 # A JSON data file that holds Repertoire metadata, data processing
325 # analysis objects, or any object in the AIRR Data Model.
326 #
327 # It is presumed that the objects gathered together in an AIRR Data File are related
328 # or relevant to each other, e.g. part of the same study; thus, the ID fields can be
329 # internally resolved unless the ID contains an external PID. This implies that AIRR
330 # Data Files cannot be merged simply by concatenating arrays; any merge program
331 # would need to manage duplicate or conflicting ID values.
332 #
333 # While the properties in an AIRR Data File are not required, if one is provided then
334 # the value should not be null.
335
336 DataFile:
337 type: object
338 properties:
339 Info:
340 $ref: '#/InfoObject'
341 x-airr:
342 nullable: false
343 Repertoire:
344 type: array
345 description: List of repertoires
346 items:
347 $ref: '#/Repertoire'
348 x-airr:
349 nullable: false
350 RepertoireGroup:
351 type: array
352 description: List of repertoire collections
353 items:
354 $ref: '#/RepertoireGroup'
355 x-airr:
356 nullable: false
357 Rearrangement:
358 type: array
359 description: List of rearrangement records
360 items:
361 $ref: '#/Rearrangement'
362 x-airr:
363 nullable: false
364 Cell:
365 type: array
366 description: List of cells
367 items:
368 $ref: '#/Cell'
369 x-airr:
370 nullable: false
371 Clone:
372 type: array
373 description: List of clones
374 items:
375 $ref: '#/Clone'
376 x-airr:
377 nullable: false
378 GermlineSet:
379 type: array
380 description: List of germline sets
381 items:
382 $ref: '#/GermlineSet'
383 x-airr:
384 nullable: false
385 GenotypeSet:
386 type: array
387 description: List of genotype sets
388 items:
389 $ref: '#/GenotypeSet'
390 x-airr:
391 nullable: false
392
393 # AIRR Info object, should be similar to openapi
394 # should we point to an openapi schema?
395 InfoObject:
396 type: object
397 description: Provides information about data and API responses.
398 required:
399 - title
400 - version
401 properties:
402 title:
403 type: string
404 x-airr:
405 nullable: false
406 version:
407 type: string
408 x-airr:
409 nullable: false
410 description:
411 type: string
412 contact:
413 type: object
414 properties:
415 name:
416 type: string
417 url:
418 type: string
419 email:
420 type: string
421 license:
422 type: object
423 required:
424 - name
425 properties:
426 name:
427 type: string
428 x-airr:
429 nullable: false
430 url:
431 type: string
432
433 # A time point
434 TimePoint:
435 description: Time point at which an observation or other action was performed.
436 type: object
437 properties:
438 label:
439 type: string
440 description: Informative label for the time point
441 example: Pre-operative sampling of cancer tissue
442 x-airr:
443 nullable: true
444 adc-query-support: true
445 value:
446 type: number
447 description: Value of the time point
448 example: -5.0
449 x-airr:
450 nullable: true
451 adc-query-support: true
452 unit:
453 $ref: '#/Ontology'
454 description: Unit of the time point
455 title: Unit of immunization schedule
456 example:
457 id: UO:0000033
458 label: day
459 x-airr:
460 nullable: true
461 adc-query-support: true
462 format: ontology
463 ontology:
464 draft: false
465 top_node:
466 id: UO:0000003
467 label: time unit
468
469 #
470 # General objects
471 # TODO: link to global schema with JSON-LD?
472 #
473
474 # An individual
475 Acknowledgement:
476 description: Individual whose contribution to this work should be acknowledged
477 type: object
478 required:
479 - acknowledgement_id
480 - name
481 - institution_name
482 properties:
483 acknowledgement_id:
484 type: string
485 description: unique identifier of this Acknowledgement within the file
486 x-airr:
487 identifier: true
488 miairr: important
489 name:
490 type: string
491 description: Full name of individual
492 institution_name:
493 type: string
494 description: Individual's department and institution name
495 orcid_id:
496 type: string
497 description: Individual's ORCID identifier
498
499 #
500 # Germline gene schema
501 #
502
503 # Rearranged and genomic germline sequences
504 RearrangedSequence:
505 type: object
506 description: >
507 Details of a directly observed rearranged sequence or an inference from rearranged sequences
508 contributing support for a gene or allele.
509 required:
510 - sequence_id
511 - sequence
512 - derivation
513 - observation_type
514 - repository_name
515 - repository_id
516 - deposited_version
517 - seq_start
518 - seq_end
519 properties:
520 sequence_id:
521 type: string
522 description: >
523 Unique identifier of this RearrangedSequence within the file, typically generated by the repository
524 hosting the schema, for example from the underlying ID of the database record.
525 x-airr:
526 identifier: true
527 miairr: important
528 sequence:
529 type: string
530 description: nucleotide sequence
531 x-airr:
532 miairr: essential
533 nullable: false
534 derivation:
535 type: string
536 enum:
537 - DNA
538 - RNA
539 - null
540 description: The class of nucleic acid that was used as primary starting material
541 x-airr:
542 miairr: important
543 nullable: true
544 observation_type:
545 type: string
546 enum:
547 - direct_sequencing
548 - inference_from_repertoire
549 description: >
550 The type of observation from which this sequence was drawn, such as direct sequencing or
551 inference from repertoire sequencing data.
552 x-airr:
553 miairr: essential
554 nullable: false
555 curation:
556 type: string
557 description: Curational notes on the sequence
558 repository_name:
559 type: string
560 description: Name of the repository in which the sequence has been deposited
561 x-airr:
562 miairr: defined
563 repository_ref:
564 type: string
565 description: Queryable id or accession number of the sequence published by the repository
566 x-airr:
567 miairr: defined
568 deposited_version:
569 type: string
570 description: Version number of the sequence within the repository
571 x-airr:
572 miairr: defined
573 sequence_start:
574 type: integer
575 description: Start co-ordinate of the sequence detailed in this record, within the sequence deposited
576 x-airr:
577 miairr: essential
578 nullable: false
579 sequence_end:
580 type: integer
581 description: End co-ordinate of the sequence detailed in this record, within the sequence deposited
582 x-airr:
583 miairr: essential
584 nullable: false
585
586 UnrearrangedSequence:
587 description: Details of an unrearranged sequence contributing support for a gene or allele
588 type: object
589 required:
590 - sequence_id
591 - sequence
592 - repository_name
593 - assembly_id
594 - gff_seqid
595 - gff_start
596 - gff_end
597 - strand
598 properties:
599 sequence_id:
600 type: string
601 description: unique identifier of this UnrearrangedSequence within the file
602 x-airr:
603 identifier: true
604 miairr: important
605 sequence:
606 type: string
607 description: >
608 Sequence of interest described in this record. Typically, this will include gene and promoter region.
609 x-airr:
610 miairr: essential
611 nullable: false
612 curation:
613 type: string
614 description: Curational notes on the sequence
615 repository_name:
616 type: string
617 description: Name of the repository in which the assembly or contig is deposited
618 x-airr:
619 miairr: defined
620 repository_ref:
621 type: string
622 description: Queryable id or accession number of the sequence published by the repository
623 x-airr:
624 miairr: defined
625 patch_no:
626 type: string
627 description: Genome assembly patch number in which this gene was determined
628 gff_seqid:
629 type: string
630 description: >
631 Sequence (from the assembly) of a window including the gene and preferably also the promoter region.
632 gff_start:
633 type: integer
634 description: >
635 Genomic co-ordinates of the start of the sequence of interest described in this record in
636 Ensemble GFF version 3.
637 gff_end:
638 type: integer
639 description: >
640 Genomic co-ordinates of the end of the sequence of interest described in this record in
641 Ensemble GFF version 3.
642 strand:
643 type: string
644 enum:
645 - "+"
646 - "-"
647 - null
648 description: sense (+ or -)
649 x-airr:
650 nullable: true
651
652 # V gene delineation
653 SequenceDelineationV:
654 description: Delineation of a V-gene in a particular system
655 type: object
656 required:
657 - sequence_delineation_id
658 - delineation_scheme
659 - fwr1_start
660 - fwr1_end
661 - cdr1_start
662 - cdr1_end
663 - fwr2_start
664 - fwr2_end
665 - cdr2_start
666 - cdr2_end
667 - fwr3_start
668 - fwr3_end
669 - cdr3_start
670 properties:
671 sequence_delineation_id:
672 type: string
673 description: >
674 Unique identifier of this SequenceDelineationV within the file. Typically, generated by the
675 repository hosting the record.
676 x-airr:
677 identifier: true
678 miairr: important
679 delineation_scheme:
680 type: string
681 description: Name of the delineation scheme
682 example: Chothia
683 x-airr:
684 miairr: important
685 unaligned_sequence:
686 type: string
687 x-airr:
688 miairr: important
689 description: entire V-sequence covered by this delineation
690 aligned_sequence:
691 type: string
692 description: >
693 Aligned sequence if this delineation provides an alignment. An aligned sequence should always be
694 provided for IMGT delineations.
695 fwr1_start:
696 type: integer
697 description: FWR1 start co-ordinate in the 'unaligned sequence' field
698 x-airr:
699 miairr: important
700 fwr1_end:
701 type: integer
702 description: FWR1 end co-ordinate in the 'unaligned sequence' field
703 x-airr:
704 miairr: important
705 cdr1_start:
706 type: integer
707 description: CDR1 start co-ordinate in the 'unaligned sequence' field
708 x-airr:
709 miairr: important
710 cdr1_end:
711 type: integer
712 description: CDR1 end co-ordinate in the 'unaligned sequence' field
713 x-airr:
714 miairr: important
715 fwr2_start:
716 type: integer
717 description: FWR2 start co-ordinate in the 'unaligned sequence' field
718 x-airr:
719 miairr: important
720 fwr2_end:
721 type: integer
722 description: FWR2 end co-ordinate in the 'unaligned sequence' field
723 x-airr:
724 miairr: important
725 cdr2_start:
726 type: integer
727 description: CDR2 start co-ordinate in the 'unaligned sequence' field
728 x-airr:
729 miairr: important
730 cdr2_end:
731 type: integer
732 description: CDR2 end co-ordinate in the 'unaligned sequence' field
733 x-airr:
734 miairr: important
735 fwr3_start:
736 type: integer
737 description: FWR3 start co-ordinate in the 'unaligned sequence' field
738 x-airr:
739 miairr: important
740 fwr3_end:
741 type: integer
742 description: FWR3 end co-ordinate in the 'unaligned sequence' field
743 x-airr:
744 miairr: important
745 cdr3_start:
746 type: integer
747 description: CDR3 start co-ordinate in the 'unaligned sequence' field
748 x-airr:
749 miairr: important
750 alignment_labels:
751 type: array
752 items:
753 type: string
754 description: >
755 One string for each codon in the aligned_sequence indicating the label of that codon according to
756 the numbering of the delineation scheme if it provides one.
757
758 # Description of a putative or confirmed Ig receptor gene/allele
759 AlleleDescription:
760 description: Details of a putative or confirmed Ig receptor gene/allele inferred from one or more observations
761 type: object
762 required:
763 - allele_description_id
764 - maintainer
765 - lab_address
766 - release_version
767 - release_date
768 - release_description
769 - sequence
770 - coding_sequence
771 - locus
772 - sequence_type
773 - functional
774 - inference_type
775 - species
776 properties:
777 allele_description_id:
778 type: string
779 description: >
780 Unique identifier of this AlleleDescription within the file. Typically, generated by the
781 repository hosting the record.
782 x-airr:
783 identifier: true
784 miairr: important
785 allele_description_ref:
786 type: string
787 description: Unique reference to the allele description, in standardized form (Repo:Label:Version)
788 example: OGRDB:Human_IGH:IGHV1-69*01.001
789 x-airr:
790 miairr: important
791 maintainer:
792 type: string
793 description: Maintainer of this sequence record
794 x-airr:
795 miairr: defined
796 acknowledgements:
797 type: array
798 description: List of individuals whose contribution to the gene description should be acknowledged
799 items:
800 $ref: '#/Acknowledgement'
801 lab_address:
802 type: string
803 description: Institution and full address of corresponding author
804 x-airr:
805 miairr: defined
806 release_version:
807 type: integer
808 description: Version number of this record, updated whenever a revised version is published or released
809 x-airr:
810 miairr: important
811 release_date:
812 type: string
813 format: date-time
814 description: Date of this release
815 title: Release Date
816 example: "2021-02-02"
817 x-airr:
818 miairr: important
819 release_description:
820 type: string
821 description: Brief descriptive notes of the reason for this release and the changes embodied
822 x-airr:
823 miairr: important
824 label:
825 type: string
826 description: >
827 The accepted name for this gene or allele following the relevant nomenclature.
828 The value in this field should correspond to values in acceptable name fields of other schemas,
829 such as v_call, d_call, and j_call fields.
830 example: IGHV1-69*01
831 x-airr:
832 miairr: important
833 sequence:
834 type: string
835 description: >
836 Nucleotide sequence of the gene. This should cover the full length that is available,
837 including where possible RSS, and 5' UTR and lead-in for V-gene sequences.
838 x-airr:
839 miairr: essential
840 nullable: false
841 coding_sequence:
842 type: string
843 description: >
844 Nucleotide sequence of the core coding region, such as the coding region of a D-, J- or C- gene
845 or the coding region of a V-gene excluding the leader.
846 x-airr:
847 miairr: important
848 aliases:
849 type: array
850 items:
851 type: string
852 description: Alternative names for this sequence
853 locus:
854 type: string
855 enum:
856 - IGH
857 - IGI
858 - IGK
859 - IGL
860 - TRA
861 - TRB
862 - TRG
863 - TRD
864 description: Gene locus
865 x-airr:
866 miairr: essential
867 nullable: false
868 chromosome:
869 type: integer
870 description: chromosome on which the gene is located
871 sequence_type:
872 type: string
873 enum:
874 - V
875 - D
876 - J
877 - C
878 description: Sequence type (V, D, J, C)
879 x-airr:
880 miairr: essential
881 nullable: false
882 functional:
883 type: boolean
884 description: True if the gene is functional, false if it is a pseudogene
885 x-airr:
886 miairr: important
887 inference_type:
888 type: string
889 enum:
890 - genomic_and_rearranged
891 - genomic_only
892 - rearranged_only
893 - null
894 description: Type of inference(s) from which this gene sequence was inferred
895 x-airr:
896 miairr: important
897 nullable: true
898 species:
899 $ref: '#/Ontology'
900 description: Binomial designation of subject's species
901 title: Organism
902 example:
903 id: NCBITAXON:9606
904 label: Homo sapiens
905 x-airr:
906 miairr: essential
907 nullable: false
908 species_subgroup:
909 type: string
910 description: Race, strain or other species subgroup to which this subject belongs
911 example: BALB/c
912 species_subgroup_type:
913 type: string
914 enum:
915 - breed
916 - strain
917 - inbred
918 - outbred
919 - locational
920 - null
921 x-airr:
922 nullable: true
923 status:
924 type: string
925 enum:
926 - active
927 - draft
928 - retired
929 - withdrawn
930 - null
931 description: Status of record, assumed active if the field is not present
932 x-airr:
933 nullable: true
934 subgroup_designation:
935 type: string
936 description: Identifier of the gene subgroup or clade, as (and if) defined
937 gene_designation:
938 type: string
939 description: Gene number or other identifier, as (and if) defined
940 allele_designation:
941 type: string
942 description: Allele number or other identifier, as (and if) defined
943 allele_similarity_cluster_designation:
944 type: string
945 description: ID of the similarity cluster used in this germline set, if designated
946 allele_similarity_cluster_member_id:
947 type: string
948 description: Membership ID of the allele within the similarity cluster, if a cluster is designated
949 j_codon_frame:
950 type: integer
951 enum:
952 - 1
953 - 2
954 - 3
955 - null
956 description: >
957 Codon position of the first nucleotide in the 'coding_sequence' field. Mandatory for J genes.
958 Not used for V or D genes. '1' means the sequence is in-frame, '2' means that the first bp is
959 missing from the first codon, and '3' means that the first 2 bp are missing.
960 x-airr:
961 nullable: true
962 gene_start:
963 type: integer
964 description: >
965 Co-ordinate in the sequence field of the first nucleotide in the coding_sequence field.
966 x-airr:
967 miairr: important
968 gene_end:
969 type: integer
970 description: >
971 Co-ordinate in the sequence field of the last gene-coding nucleotide in the coding_sequence field.
972 x-airr:
973 miairr: important
974 utr_5_prime_start:
975 type: integer
976 description: Start co-ordinate in the sequence field of the 5 prime UTR (V-genes only).
977 utr_5_prime_end:
978 type: integer
979 description: End co-ordinate in the sequence field of the 5 prime UTR (V-genes only).
980 leader_1_start:
981 type: integer
982 description: Start co-ordinate in the sequence field of L-PART1 (V-genes only).
983 leader_1_end:
984 type: integer
985 description: End co-ordinate in the sequence field of L-PART1 (V-genes only).
986 leader_2_start:
987 type: integer
988 description: Start co-ordinate in the sequence field of L-PART2 (V-genes only).
989 leader_2_end:
990 type: integer
991 description: End co-ordinate in the sequence field of L-PART2 (V-genes only).
992 v_rs_start:
993 type: integer
994 description: Start co-ordinate in the sequence field of the V recombination site (V-genes only).
995 v_rs_end:
996 type: integer
997 description: End co-ordinate in the sequence field of the V recombination site (V-genes only).
998 d_rs_3_prime_start:
999 type: integer
1000 description: Start co-ordinate in the sequence field of the 3 prime D recombination site (D-genes only).
1001 d_rs_3_prime_end:
1002 type: integer
1003 description: End co-ordinate in the sequence field of the 3 prime D recombination site (D-genes only).
1004 d_rs_5_prime_start:
1005 type: integer
1006 description: Start co-ordinate in the sequence field of the 5 prime D recombination site (D-genes only).
1007 d_rs_5_prime_end:
1008 type: integer
1009 description: End co-ordinate in the sequence field of 5 the prime D recombination site (D-genes only).
1010 j_cdr3_end:
1011 type: integer
1012 description: >
1013 In the case of a J-gene, the co-ordinate in the sequence field of the first nucelotide of the
1014 conserved PHE or TRP (IMGT codon position 118).
1015 j_rs_start:
1016 type: integer
1017 description: Start co-ordinate in the sequence field of J recombination site (J-genes only).
1018 j_rs_end:
1019 type: integer
1020 description: End co-ordinate in the sequence field of J recombination site (J-genes only).
1021 j_donor_splice:
1022 type: integer
1023 description: Co-ordinate in the sequence field of the final 3' nucleotide of the J-REGION (J-genes only).
1024 v_gene_delineations:
1025 type: array
1026 items:
1027 $ref: '#/SequenceDelineationV'
1028 unrearranged_support:
1029 type: array
1030 items:
1031 $ref: '#/UnrearrangedSequence'
1032 rearranged_support:
1033 type: array
1034 items:
1035 $ref: '#/RearrangedSequence'
1036 paralogs:
1037 type: array
1038 items:
1039 type: string
1040 description: Gene symbols of any paralogs
1041 curation:
1042 type: string
1043 description: >
1044 Curational notes on the AlleleDescription. This can be used to give more extensive notes on the
1045 decisions taken than are provided in the release_description.
1046 curational_tags:
1047 type: array
1048 items:
1049 type: string
1050 enum:
1051 - likely_truncated
1052 - likely_full_length
1053 description: Controlled-vocabulary tags applied to this description
1054 x-airr:
1055 nullable: true
1056
1057 # Collection of gene descriptions into a germline set
1058 GermlineSet:
1059 type: object
1060 description: >
1061 A germline object set bringing together multiple AlleleDescriptions from the same strain or species.
1062 All genes in a GermlineSet should be from a single locus.
1063 required:
1064 - germline_set_id
1065 - author
1066 - lab_name
1067 - lab_address
1068 - release_version
1069 - release_description
1070 - release_date
1071 - germline_set_name
1072 - germline_set_ref
1073 - species
1074 - locus
1075 - allele_descriptions
1076 properties:
1077 germline_set_id:
1078 type: string
1079 description: >
1080 Unique identifier of the GermlineSet within this file. Typically, generated by the
1081 repository hosting the record.
1082 x-airr:
1083 identifier: true
1084 miairr: important
1085 author:
1086 type: string
1087 description: Corresponding author
1088 x-airr:
1089 miairr: important
1090 lab_name:
1091 type: string
1092 description: Department of corresponding author
1093 x-airr:
1094 miairr: important
1095 lab_address:
1096 type: string
1097 description: Institutional address of corresponding author
1098 x-airr:
1099 miairr: important
1100 acknowledgements:
1101 type: array
1102 description: List of individuals whose contribution to the germline set should be acknowledged
1103 items:
1104 $ref: '#/Acknowledgement'
1105 release_version:
1106 type: number
1107 description: Version number of this record, allocated automatically
1108 x-airr:
1109 miairr: important
1110 release_description:
1111 type: string
1112 description: Brief descriptive notes of the reason for this release and the changes embodied
1113 x-airr:
1114 miairr: important
1115 release_date:
1116 type: string
1117 format: date-time
1118 description: Date of this release
1119 title: Release Date
1120 example: "2021-02-02"
1121 x-airr:
1122 miairr: important
1123 germline_set_name:
1124 type: string
1125 description: descriptive name of this germline set
1126 x-airr:
1127 miairr: important
1128 germline_set_ref:
1129 type: string
1130 description: Unique identifier of the germline set and version, in standardized form (Repo:Label:Version)
1131 example: OGRDB:Human_IGH:2021.11
1132 x-airr:
1133 miairr: important
1134 pub_ids:
1135 type: string
1136 description: Publications describing the germline set
1137 example: "PMID:85642,PMID:12345"
1138 species:
1139 $ref: '#/Ontology'
1140 description: Binomial designation of subject's species
1141 title: Organism
1142 example:
1143 id: NCBITAXON:9606
1144 label: Homo sapiens
1145 x-airr:
1146 miairr: essential
1147 nullable: false
1148 species_subgroup:
1149 type: string
1150 description: Race, strain or other species subgroup to which this subject belongs
1151 example: BALB/c
1152 species_subgroup_type:
1153 type: string
1154 enum:
1155 - breed
1156 - strain
1157 - inbred
1158 - outbred
1159 - locational
1160 - null
1161 x-airr:
1162 nullable: true
1163 locus:
1164 type: string
1165 enum:
1166 - IGH
1167 - IGI
1168 - IGK
1169 - IGL
1170 - TRA
1171 - TRB
1172 - TRG
1173 - TRD
1174 description: Gene locus
1175 x-airr:
1176 miairr: essential
1177 nullable: false
1178 allele_descriptions:
1179 type: array
1180 items:
1181 $ref: '#/AlleleDescription'
1182 description: list of allele_descriptions in the germline set
1183 x-airr:
1184 miairr: important
1185 curation:
1186 type: string
1187 description: >
1188 Curational notes on the GermlineSet. This can be used to give more extensive notes on the
1189 decisions taken than are provided in the release_description.
1190
1191 #
1192 # Genotype schema
1193 #
1194
1195 # GenotypeSet lists the Genotypes (describing different loci) inferred for this subject
1196
1197 GenotypeSet:
1198 type: object
1199 required:
1200 - receptor_genotype_set_id
1201 properties:
1202 receptor_genotype_set_id:
1203 type: string
1204 description: >
1205 A unique identifier for this Receptor Genotype Set, typically generated by the repository
1206 hosting the schema, for example from the underlying ID of the database record.
1207 x-airr:
1208 identifier: true
1209 miairr: important
1210 genotype_class_list:
1211 description: List of Genotypes included in this Receptor Genotype Set.
1212 type: array
1213 items:
1214 $ref: '#/Genotype'
1215
1216 # This enumerates the alleles and gene deletions inferred in a single subject. Included alleles may either be listed by reference to a GermlineSet, or
1217 # listed as 'undocumented', in which case the inferred sequence is provided
1218
1219 # Genotype of adaptive immune receptors
1220 Genotype:
1221 type: object
1222 required:
1223 - receptor_genotype_id
1224 - locus
1225 properties:
1226 receptor_genotype_id:
1227 type: string
1228 description: >
1229 A unique identifier within the file for this Receptor Genotype, typically generated by the
1230 repository hosting the schema, for example from the underlying ID of the database record.
1231 x-airr:
1232 identifier: true
1233 miairr: important
1234 locus:
1235 type: string
1236 enum:
1237 - IGH
1238 - IGI
1239 - IGK
1240 - IGL
1241 - TRA
1242 - TRB
1243 - TRD
1244 - TRG
1245 description: Gene locus
1246 example: IGH
1247 x-airr:
1248 miairr: essential
1249 nullable: false
1250 adc-query-support: true
1251 format: controlled_vocabulary
1252 documented_alleles:
1253 type: array
1254 description: List of alleles documented in reference set(s)
1255 items:
1256 $ref: '#/DocumentedAllele'
1257 x-airr:
1258 miairr: important
1259 undocumented_alleles:
1260 type: array
1261 description: List of alleles inferred to be present and not documented in an identified GermlineSet
1262 items:
1263 $ref: '#/UndocumentedAllele'
1264 x-airr:
1265 adc-query-support: true
1266 deleted_genes:
1267 type: array
1268 description: Array of genes identified as being deleted in this genotype
1269 items:
1270 $ref: '#/DeletedGene'
1271 x-airr:
1272 adc-query-support: true
1273 inference_process:
1274 type: string
1275 enum:
1276 - genomic_sequencing
1277 - repertoire_sequencing
1278 - null
1279 description: Information on how the genotype was acquired. Controlled vocabulary.
1280 title: Genotype acquisition process
1281 example: repertoire_sequencing
1282 x-airr:
1283 adc-query-support: true
1284 format: controlled_vocabulary
1285 nullable: true
1286
1287 # Documented Allele
1288 # This describes a 'known' allele found in a genotype
1289 # It 'known' in the sense that it is documented in a reference set
1290
1291 DocumentedAllele:
1292 type: object
1293 required:
1294 - label
1295 - germline_set_ref
1296 properties:
1297 label:
1298 type: string
1299 x-airr:
1300 miairr: important
1301 description: The accepted name for this allele, taken from the GermlineSet
1302 germline_set_ref:
1303 type: string
1304 x-airr:
1305 miairr: important
1306 description: GermlineSet from which it was taken, referenced in standardized form (Repo:Label:Version)
1307 example: OGRDB:Human_IGH:2021.11
1308 phasing:
1309 type: integer
1310 nullable: true
1311 description: >
1312 Chromosomal phasing indicator. Alleles with the same value are inferred to be located on the
1313 same chromosome.
1314
1315 # Undocumented Allele
1316 # This describes a 'undocumented' allele found in a genotype
1317 # It is 'undocumented' in the sense that it was not found in reference sets consulted for the analysis
1318
1319 UndocumentedAllele:
1320 required:
1321 - allele_name
1322 - sequence
1323 type: object
1324 properties:
1325 allele_name:
1326 type: string
1327 x-airr:
1328 miairr: important
1329 description: Allele name as allocated by the inference pipeline
1330 sequence:
1331 type: string
1332 x-airr:
1333 miairr: essential
1334 nullable: false
1335 description: nt sequence of the allele, as provided by the inference pipeline
1336 phasing:
1337 type: integer
1338 nullable: true
1339 description: >
1340 Chromosomal phasing indicator. Alleles with the same value are inferred to be located on the
1341 same chromosome.
1342
1343 # Deleted Gene
1344 # It is regarded as 'deleted' in the sense that it was not identified during inference of the genotype
1345
1346 DeletedGene:
1347 required:
1348 - label
1349 - germline_set_ref
1350 type: object
1351 properties:
1352 label:
1353 type: string
1354 x-airr:
1355 miairr: essential
1356 nullable: false
1357 description: The accepted name for this gene, taken from the GermlineSet
1358 germline_set_ref:
1359 type: string
1360 x-airr:
1361 miairr: important
1362 description: GermlineSet from which it was taken (issuer/name/version)
1363 phasing:
1364 type: integer
1365 nullable: true
1366 description: >
1367 Chromosomal phasing indicator. Alleles with the same value are inferred to be located on the
1368 same chromosome.
1369
1370
1371 # List of MHCGenotypes describing a subject's genotype
1372 MHCGenotypeSet:
1373 type: object
1374 required:
1375 - mhc_genotype_set_id
1376 - mhc_genotype_list
1377 properties:
1378 mhc_genotype_set_id:
1379 type: string
1380 description: A unique identifier for this MHCGenotypeSet
1381 x-airr:
1382 identifier: true
1383 miairr: important
1384 mhc_genotype_list:
1385 description: List of MHCGenotypes included in this set
1386 type: array
1387 items:
1388 $ref: '#/MHCGenotype'
1389 x-airr:
1390 miairr: important
1391
1392 # Genotype of major histocompatibility complex (MHC) class I, class II and non-classical loci
1393 MHCGenotype:
1394 type: object
1395 required:
1396 - mhc_genotype_id
1397 - mhc_class
1398 - mhc_alleles
1399 properties:
1400 mhc_genotype_id:
1401 type: string
1402 description: A unique identifier for this MHCGenotype, assumed to be unique in the context of the study
1403 x-airr:
1404 identifier: true
1405 miairr: important
1406 mhc_class:
1407 type: string
1408 enum:
1409 - MHC-I
1410 - MHC-II
1411 - MHC-nonclassical
1412 description: Class of MHC alleles described by the MHCGenotype
1413 example: MHC-I
1414 x-airr:
1415 miairr: essential
1416 nullable: false
1417 adc-query-support: true
1418 format: controlled_vocabulary
1419 mhc_alleles:
1420 type: array
1421 description: List of MHC alleles of the indicated mhc_class identified in an individual
1422 items:
1423 $ref: '#/MHCAllele'
1424 x-airr:
1425 miairr: important
1426 adc-query-support: true
1427 mhc_genotyping_method:
1428 type: string
1429 description: >
1430 Information on how the genotype was determined. The content of this field should come from a list of
1431 recommended terms provided in the AIRR Schema documentation.
1432 title: MHC genotyping method
1433 example: pcr_low_resolution
1434 x-airr:
1435 miairr: important
1436 adc-query-support: true
1437
1438
1439 # Allele of an MHC gene
1440 MHCAllele:
1441 type: object
1442 properties:
1443 allele_designation:
1444 type: string
1445 description: >
1446 The accepted designation of an allele, usually its gene symbol plus allele/sub-allele/etc
1447 identifiers, if provided by the mhc_typing method
1448 x-airr:
1449 miairr: important
1450 gene:
1451 $ref: '#/Ontology'
1452 description: The MHC gene to which the described allele belongs
1453 title: MHC gene
1454 example:
1455 id: MRO:0000046
1456 label: HLA-A
1457 x-airr:
1458 miairr: important
1459 adc-query-support: false
1460 format: ontology
1461 ontology:
1462 draft: true
1463 top_node:
1464 id: MRO:0000004
1465 label: MHC gene
1466 reference_set_ref:
1467 type: string
1468 description: Repository and list from which it was taken (issuer/name/version)
1469 x-airr:
1470 miairr: important
1471
1472 #
1473 # Repertoire metadata schema
1474 #
1475
1476 # The overall study with a globally unique study_id
1477 Study:
1478 type: object
1479 required:
1480 - study_id
1481 - study_title
1482 - study_type
1483 - inclusion_exclusion_criteria
1484 - grants
1485 - collected_by
1486 - lab_name
1487 - lab_address
1488 - submitted_by
1489 - pub_ids
1490 - keywords_study
1491 properties:
1492 study_id:
1493 type: string
1494 description: >
1495 Unique ID assigned by study registry such as one of the International Nucleotide Sequence Database
1496 Collaboration (INSDC) repositories.
1497 title: Study ID
1498 example: PRJNA001
1499 x-airr:
1500 identifier: true
1501 miairr: important
1502 nullable: true
1503 adc-query-support: true
1504 set: 1
1505 subset: study
1506 name: Study ID
1507 study_title:
1508 type: string
1509 description: Descriptive study title
1510 title: Study title
1511 example: Effects of sun light exposure of the Treg repertoire
1512 x-airr:
1513 miairr: important
1514 nullable: true
1515 adc-query-support: true
1516 set: 1
1517 subset: study
1518 name: Study title
1519 study_type:
1520 $ref: '#/Ontology'
1521 description: Type of study design
1522 title: Study type
1523 example:
1524 id: NCIT:C15197
1525 label: Case-Control Study
1526 x-airr:
1527 miairr: important
1528 nullable: true
1529 adc-query-support: true
1530 set: 1
1531 subset: study
1532 name: Study type
1533 format: ontology
1534 ontology:
1535 draft: false
1536 top_node:
1537 id: NCIT:C63536
1538 label: Study
1539 study_description:
1540 type: string
1541 description: Generic study description
1542 title: Study description
1543 example: Longer description
1544 x-airr:
1545 nullable: true
1546 name: Study description
1547 adc-query-support: true
1548 inclusion_exclusion_criteria:
1549 type: string
1550 description: List of criteria for inclusion/exclusion for the study
1551 title: Study inclusion/exclusion criteria
1552 example: "Include: Clinical P. falciparum infection; Exclude: Seropositive for HIV"
1553 x-airr:
1554 miairr: important
1555 nullable: true
1556 adc-query-support: true
1557 set: 1
1558 subset: study
1559 name: Study inclusion/exclusion criteria
1560 grants:
1561 type: string
1562 description: Funding agencies and grant numbers
1563 title: Grant funding agency
1564 example: NIH, award number R01GM987654
1565 x-airr:
1566 miairr: important
1567 nullable: true
1568 adc-query-support: true
1569 set: 1
1570 subset: study
1571 name: Grant funding agency
1572 study_contact:
1573 type: string
1574 description: >
1575 Full contact information of the contact persons for this study This should include an e-mail address
1576 and a persistent identifier such as an ORCID ID.
1577 title: Contact information (study)
1578 example: Dr. P. Stibbons, [email protected], https://orcid.org/0000-0002-1825-0097
1579 x-airr:
1580 nullable: true
1581 adc-query-support: true
1582 name: Contact information (study)
1583 collected_by:
1584 type: string
1585 description: >
1586 Full contact information of the data collector, i.e. the person who is legally responsible for data
1587 collection and release. This should include an e-mail address and a persistent identifier such as an
1588 ORCID ID.
1589 title: Contact information (data collection)
1590 example: Dr. P. Stibbons, [email protected], https://orcid.org/0000-0002-1825-0097
1591 x-airr:
1592 miairr: important
1593 nullable: true
1594 adc-query-support: true
1595 set: 1
1596 subset: study
1597 name: Contact information (data collection)
1598 lab_name:
1599 type: string
1600 description: Department of data collector
1601 title: Lab name
1602 example: Department for Planar Immunology
1603 x-airr:
1604 miairr: important
1605 nullable: true
1606 adc-query-support: true
1607 set: 1
1608 subset: study
1609 name: Lab name
1610 lab_address:
1611 type: string
1612 description: Institution and institutional address of data collector
1613 title: Lab address
1614 example: School of Medicine, Unseen University, Ankh-Morpork, Disk World
1615 x-airr:
1616 miairr: important
1617 nullable: true
1618 adc-query-support: true
1619 set: 1
1620 subset: study
1621 name: Lab address
1622 submitted_by:
1623 type: string
1624 description: >
1625 Full contact information of the data depositor, i.e., the person submitting the data to a repository.
1626 This should include an e-mail address and a persistent identifier such as an ORCID ID. This is
1627 supposed to be a short-lived and technical role until the submission is relased.
1628 title: Contact information (data deposition)
1629 example: Adrian Turnipseed, [email protected], https://orcid.org/0000-0002-1825-0097
1630 x-airr:
1631 miairr: important
1632 nullable: true
1633 adc-query-support: true
1634 set: 1
1635 subset: study
1636 name: Contact information (data deposition)
1637 pub_ids:
1638 type: string
1639 description: >
1640 Publications describing the rationale and/or outcome of the study. Where ever possible, a persistent
1641 identifier should be used such as a DOI or a Pubmed ID
1642 title: Relevant publications
1643 example: "PMID:85642"
1644 x-airr:
1645 miairr: important
1646 nullable: true
1647 adc-query-support: true
1648 set: 1
1649 subset: study
1650 name: Relevant publications
1651 keywords_study:
1652 type: array
1653 items:
1654 type: string
1655 enum:
1656 - contains_ig
1657 - contains_tr
1658 - contains_paired_chain
1659 - contains_schema_rearrangement
1660 - contains_schema_clone
1661 - contains_schema_cell
1662 - contains_schema_receptor
1663 description: >
1664 Keywords describing properties of one or more data sets in a study. "contains_schema" keywords indicate that
1665 the study contains data objects from the AIRR Schema of that type (Rearrangement, Clone, Cell, Receptor) while
1666 the other keywords indicate that the study design considers the type of data indicated (e.g. it is possible to have
1667 a study that "contains_paired_chain" but does not "contains_schema_cell").
1668 title: Keywords for study
1669 example:
1670 - contains_ig
1671 - contains_schema_rearrangement
1672 - contains_schema_clone
1673 - contains_schema_cell
1674 x-airr:
1675 miairr: important
1676 nullable: true
1677 adc-query-support: true
1678 set: 1
1679 subset: study
1680 name: Keywords for study
1681 format: controlled_vocabulary
1682 adc_publish_date:
1683 type: string
1684 format: date-time
1685 description: >
1686 Date the study was first published in the AIRR Data Commons.
1687 title: ADC Publish Date
1688 example: "2021-02-02"
1689 x-airr:
1690 nullable: true
1691 adc-query-support: true
1692 name: ADC Publish Date
1693 adc_update_date:
1694 type: string
1695 format: date-time
1696 description: >
1697 Date the study data was updated in the AIRR Data Commons.
1698 title: ADC Update Date
1699 example: "2021-02-02"
1700 x-airr:
1701 nullable: true
1702 adc-query-support: true
1703 name: ADC Update Date
1704
1705 SubjectGenotype:
1706 type: object
1707 properties:
1708 receptor_genotype_set:
1709 $ref: '#/GenotypeSet'
1710 description: Immune receptor genotype set for this subject.
1711 mhc_genotype_set:
1712 $ref: '#/MHCGenotypeSet'
1713 description: MHC genotype set for this subject.
1714
1715 # 1-to-n relationship between a study and its subjects
1716 # subject_id is unique within a study
1717 Subject:
1718 type: object
1719 required:
1720 - subject_id
1721 - synthetic
1722 - species
1723 - sex
1724 - age_min
1725 - age_max
1726 - age_unit
1727 - age_event
1728 - ancestry_population
1729 - ethnicity
1730 - race
1731 - strain_name
1732 - linked_subjects
1733 - link_type
1734 properties:
1735 subject_id:
1736 type: string
1737 description: >
1738 Subject ID assigned by submitter, unique within study. If possible, a persistent subject ID linked to
1739 an INSDC or similar repository study should be used.
1740 title: Subject ID
1741 example: SUB856413
1742 x-airr:
1743 identifier: true
1744 miairr: important
1745 nullable: true
1746 adc-query-support: true
1747 set: 1
1748 subset: subject
1749 name: Subject ID
1750 synthetic:
1751 type: boolean
1752 description: TRUE for libraries in which the diversity has been synthetically generated (e.g. phage display)
1753 title: Synthetic library
1754 x-airr:
1755 miairr: essential
1756 nullable: false
1757 adc-query-support: true
1758 set: 1
1759 subset: subject
1760 name: Synthetic library
1761 species:
1762 $ref: '#/Ontology'
1763 description: Binomial designation of subject's species
1764 title: Organism
1765 example:
1766 id: NCBITAXON:9606
1767 label: Homo sapiens
1768 x-airr:
1769 miairr: essential
1770 nullable: false
1771 adc-query-support: true
1772 set: 1
1773 subset: subject
1774 name: Organism
1775 format: ontology
1776 ontology:
1777 draft: false
1778 top_node:
1779 id: NCBITAXON:7776
1780 label: Gnathostomata
1781 organism:
1782 $ref: '#/Ontology'
1783 description: Binomial designation of subject's species
1784 x-airr:
1785 deprecated: true
1786 deprecated-description: Field was renamed to species for clarity.
1787 deprecated-replaced-by:
1788 - species
1789 sex:
1790 type: string
1791 enum:
1792 - male
1793 - female
1794 - pooled
1795 - hermaphrodite
1796 - intersex
1797 - null
1798 description: Biological sex of subject
1799 title: Sex
1800 example: female
1801 x-airr:
1802 miairr: important
1803 nullable: true
1804 adc-query-support: true
1805 set: 1
1806 subset: subject
1807 name: Sex
1808 format: controlled_vocabulary
1809 age_min:
1810 type: number
1811 description: Specific age or lower boundary of age range.
1812 title: Age minimum
1813 example: 60
1814 x-airr:
1815 miairr: important
1816 nullable: true
1817 adc-query-support: true
1818 set: 1
1819 subset: subject
1820 name: Age minimum
1821 age_max:
1822 type: number
1823 description: >
1824 Upper boundary of age range or equal to age_min for specific age.
1825 This field should only be null if age_min is null.
1826 title: Age maximum
1827 example: 80
1828 x-airr:
1829 miairr: important
1830 nullable: true
1831 adc-query-support: true
1832 set: 1
1833 subset: subject
1834 name: Age maximum
1835 age_unit:
1836 $ref: '#/Ontology'
1837 description: Unit of age range
1838 title: Age unit
1839 example:
1840 id: UO:0000036
1841 label: year
1842 x-airr:
1843 miairr: important
1844 nullable: true
1845 adc-query-support: true
1846 set: 1
1847 subset: subject
1848 name: Age unit
1849 format: ontology
1850 ontology:
1851 draft: false
1852 top_node:
1853 id: UO:0000003
1854 label: time unit
1855 age_event:
1856 type: string
1857 description: >
1858 Event in the study schedule to which `Age` refers. For NCBI BioSample this MUST be `sampling`. For other
1859 implementations submitters need to be aware that there is currently no mechanism to encode to potential
1860 delta between `Age event` and `Sample collection time`, hence the chosen events should be in temporal proximity.
1861 title: Age event
1862 example: enrollment
1863 x-airr:
1864 miairr: important
1865 nullable: true
1866 adc-query-support: true
1867 set: 1
1868 subset: subject
1869 name: Age event
1870 age:
1871 type: string
1872 x-airr:
1873 deprecated: true
1874 deprecated-description: Split into two fields to specify as an age range.
1875 deprecated-replaced-by:
1876 - age_min
1877 - age_max
1878 - age_unit
1879 ancestry_population:
1880 type: string
1881 description: Broad geographic origin of ancestry (continent)
1882 title: Ancestry population
1883 example: list of continents, mixed or unknown
1884 x-airr:
1885 miairr: important
1886 nullable: true
1887 adc-query-support: true
1888 set: 1
1889 subset: subject
1890 name: Ancestry population
1891 ethnicity:
1892 type: string
1893 description: Ethnic group of subject (defined as cultural/language-based membership)
1894 title: Ethnicity
1895 example: English, Kurds, Manchu, Yakuts (and other fields from Wikipedia)
1896 x-airr:
1897 miairr: important
1898 nullable: true
1899 adc-query-support: true
1900 set: 1
1901 subset: subject
1902 name: Ethnicity
1903 race:
1904 type: string
1905 description: Racial group of subject (as defined by NIH)
1906 title: Race
1907 example: White, American Indian or Alaska Native, Black, Asian, Native Hawaiian or Other Pacific Islander, Other
1908 x-airr:
1909 miairr: important
1910 nullable: true
1911 adc-query-support: true
1912 set: 1
1913 subset: subject
1914 name: Race
1915 strain_name:
1916 type: string
1917 description: Non-human designation of the strain or breed of animal used
1918 title: Strain name
1919 example: C57BL/6J
1920 x-airr:
1921 miairr: important
1922 nullable: true
1923 adc-query-support: true
1924 set: 1
1925 subset: subject
1926 name: Strain name
1927 linked_subjects:
1928 type: string
1929 description: Subject ID to which `Relation type` refers
1930 title: Relation to other subjects
1931 example: SUB1355648
1932 x-airr:
1933 miairr: important
1934 nullable: true
1935 adc-query-support: true
1936 set: 1
1937 subset: subject
1938 name: Relation to other subjects
1939 link_type:
1940 type: string
1941 description: Relation between subject and `linked_subjects`, can be genetic or environmental (e.g.exposure)
1942 title: Relation type
1943 example: father, daughter, household
1944 x-airr:
1945 miairr: important
1946 nullable: true
1947 adc-query-support: true
1948 set: 1
1949 subset: subject
1950 name: Relation type
1951 diagnosis:
1952 type: array
1953 description: Diagnosis information for subject
1954 items:
1955 $ref: '#/Diagnosis'
1956 x-airr:
1957 nullable: false
1958 adc-query-support: true
1959 genotype:
1960 $ref: '#/SubjectGenotype'
1961 title: SubjectGenotype
1962
1963 # 1-to-n relationship between a subject and its diagnoses
1964 Diagnosis:
1965 type: object
1966 required:
1967 - study_group_description
1968 - disease_diagnosis
1969 - disease_length
1970 - disease_stage
1971 - prior_therapies
1972 - immunogen
1973 - intervention
1974 - medical_history
1975 properties:
1976 study_group_description:
1977 type: string
1978 description: Designation of study arm to which the subject is assigned to
1979 title: Study group description
1980 example: control
1981 x-airr:
1982 miairr: important
1983 nullable: true
1984 adc-query-support: true
1985 set: 1
1986 subset: diagnosis and intervention
1987 name: Study group description
1988 disease_diagnosis:
1989 $ref: '#/Ontology'
1990 description: Diagnosis of subject
1991 title: Diagnosis
1992 example:
1993 id: DOID:9538
1994 label: multiple myeloma
1995 x-airr:
1996 miairr: important
1997 nullable: true
1998 adc-query-support: true
1999 set: 1
2000 subset: diagnosis and intervention
2001 name: Diagnosis
2002 format: ontology
2003 ontology:
2004 draft: false
2005 top_node:
2006 id: DOID:4
2007 label: disease
2008 disease_length:
2009 type: string
2010 description: Time duration between initial diagnosis and current intervention
2011 title: Length of disease
2012 example: 23 months
2013 x-airr:
2014 miairr: important
2015 nullable: true
2016 adc-query-support: true
2017 set: 1
2018 subset: diagnosis and intervention
2019 name: Length of disease
2020 format: physical_quantity
2021 disease_stage:
2022 type: string
2023 description: Stage of disease at current intervention
2024 title: Disease stage
2025 example: Stage II
2026 x-airr:
2027 miairr: important
2028 nullable: true
2029 adc-query-support: true
2030 set: 1
2031 subset: diagnosis and intervention
2032 name: Disease stage
2033 prior_therapies:
2034 type: string
2035 description: List of all relevant previous therapies applied to subject for treatment of `Diagnosis`
2036 title: Prior therapies for primary disease under study
2037 example: melphalan/prednisone
2038 x-airr:
2039 miairr: important
2040 nullable: true
2041 adc-query-support: true
2042 set: 1
2043 subset: diagnosis and intervention
2044 name: Prior therapies for primary disease under study
2045 immunogen:
2046 type: string
2047 description: Antigen, vaccine or drug applied to subject at this intervention
2048 title: Immunogen/agent
2049 example: bortezomib
2050 x-airr:
2051 miairr: important
2052 nullable: true
2053 adc-query-support: true
2054 set: 1
2055 subset: diagnosis and intervention
2056 name: Immunogen/agent
2057 intervention:
2058 type: string
2059 description: Description of intervention
2060 title: Intervention definition
2061 example: systemic chemotherapy, 6 cycles, 1.25 mg/m2
2062 x-airr:
2063 miairr: important
2064 nullable: true
2065 adc-query-support: true
2066 set: 1
2067 subset: diagnosis and intervention
2068 name: Intervention definition
2069 medical_history:
2070 type: string
2071 description: Medical history of subject that is relevant to assess the course of disease and/or treatment
2072 title: Other relevant medical history
2073 example: MGUS, first diagnosed 5 years prior
2074 x-airr:
2075 miairr: important
2076 nullable: true
2077 adc-query-support: true
2078 set: 1
2079 subset: diagnosis and intervention
2080 name: Other relevant medical history
2081
2082 # 1-to-n relationship between a subject and its samples
2083 # sample_id is unique within a study
2084 Sample:
2085 type: object
2086 required:
2087 - sample_id
2088 - sample_type
2089 - tissue
2090 - anatomic_site
2091 - disease_state_sample
2092 - collection_time_point_relative
2093 - collection_time_point_relative_unit
2094 - collection_time_point_reference
2095 - biomaterial_provider
2096 properties:
2097 sample_id:
2098 type: string
2099 description: >
2100 Sample ID assigned by submitter, unique within study. If possible, a persistent sample ID linked to
2101 INSDC or similar repository study should be used.
2102 title: Biological sample ID
2103 example: SUP52415
2104 x-airr:
2105 identifier: true
2106 miairr: important
2107 nullable: true
2108 adc-query-support: true
2109 set: 2
2110 subset: sample
2111 name: Biological sample ID
2112 sample_type:
2113 type: string
2114 description: The way the sample was obtained, e.g. fine-needle aspirate, organ harvest, peripheral venous puncture
2115 title: Sample type
2116 example: Biopsy
2117 x-airr:
2118 miairr: important
2119 nullable: true
2120 adc-query-support: true
2121 set: 2
2122 subset: sample
2123 name: Sample type
2124 tissue:
2125 $ref: '#/Ontology'
2126 description: The actual tissue sampled, e.g. lymph node, liver, peripheral blood
2127 title: Tissue
2128 example:
2129 id: UBERON:0002371
2130 label: bone marrow
2131 x-airr:
2132 miairr: important
2133 nullable: true
2134 adc-query-support: true
2135 set: 2
2136 subset: sample
2137 name: Tissue
2138 format: ontology
2139 ontology:
2140 draft: false
2141 top_node:
2142 id: UBERON:0010000
2143 label: multicellular anatomical structure
2144 anatomic_site:
2145 type: string
2146 description: The anatomic location of the tissue, e.g. Inguinal, femur
2147 title: Anatomic site
2148 example: Iliac crest
2149 x-airr:
2150 miairr: important
2151 nullable: true
2152 adc-query-support: true
2153 set: 2
2154 subset: sample
2155 name: Anatomic site
2156 disease_state_sample:
2157 type: string
2158 description: Histopathologic evaluation of the sample
2159 title: Disease state of sample
2160 example: Tumor infiltration
2161 x-airr:
2162 miairr: important
2163 nullable: true
2164 adc-query-support: true
2165 set: 2
2166 subset: sample
2167 name: Disease state of sample
2168 collection_time_point_relative:
2169 type: number
2170 description: Time point at which sample was taken, relative to `Collection time event`
2171 title: Sample collection time
2172 example: 14
2173 x-airr:
2174 miairr: important
2175 nullable: true
2176 adc-query-support: true
2177 set: 2
2178 subset: sample
2179 name: Sample collection time
2180 collection_time_point_relative_unit:
2181 $ref: '#/Ontology'
2182 description: Unit of Sample collection time
2183 title: Sample collection time unit
2184 example:
2185 id: UO:0000033
2186 label: day
2187 x-airr:
2188 miairr: important
2189 nullable: true
2190 adc-query-support: true
2191 set: 2
2192 subset: sample
2193 name: Sample collection time unit
2194 format: ontology
2195 ontology:
2196 draft: false
2197 top_node:
2198 id: UO:0000003
2199 label: time unit
2200 collection_time_point_reference:
2201 type: string
2202 description: Event in the study schedule to which `Sample collection time` relates to
2203 title: Collection time event
2204 example: Primary vaccination
2205 x-airr:
2206 miairr: important
2207 nullable: true
2208 adc-query-support: true
2209 set: 2
2210 subset: sample
2211 name: Collection time event
2212 biomaterial_provider:
2213 type: string
2214 description: Name and address of the entity providing the sample
2215 title: Biomaterial provider
2216 example: Tissues-R-Us, Tampa, FL, USA
2217 x-airr:
2218 miairr: important
2219 nullable: true
2220 adc-query-support: true
2221 set: 2
2222 subset: sample
2223 name: Biomaterial provider
2224
2225 # 1-to-n relationship between a sample and processing of its cells
2226 CellProcessing:
2227 type: object
2228 required:
2229 - tissue_processing
2230 - cell_subset
2231 - cell_phenotype
2232 - single_cell
2233 - cell_number
2234 - cells_per_reaction
2235 - cell_storage
2236 - cell_quality
2237 - cell_isolation
2238 - cell_processing_protocol
2239 properties:
2240 tissue_processing:
2241 type: string
2242 description: Enzymatic digestion and/or physical methods used to isolate cells from sample
2243 title: Tissue processing
2244 example: Collagenase A/Dnase I digested, followed by Percoll gradient
2245 x-airr:
2246 miairr: important
2247 nullable: true
2248 adc-query-support: true
2249 set: 3
2250 subset: process (cell)
2251 name: Tissue processing
2252 cell_subset:
2253 $ref: '#/Ontology'
2254 description: Commonly-used designation of isolated cell population
2255 title: Cell subset
2256 example:
2257 id: CL:0000972
2258 label: class switched memory B cell
2259 x-airr:
2260 miairr: important
2261 nullable: true
2262 adc-query-support: true
2263 set: 3
2264 subset: process (cell)
2265 name: Cell subset
2266 format: ontology
2267 ontology:
2268 draft: false
2269 top_node:
2270 id: CL:0000542
2271 label: lymphocyte
2272 cell_phenotype:
2273 type: string
2274 description: List of cellular markers and their expression levels used to isolate the cell population
2275 title: Cell subset phenotype
2276 example: CD19+ CD38+ CD27+ IgM- IgD-
2277 x-airr:
2278 miairr: important
2279 nullable: true
2280 adc-query-support: true
2281 set: 3
2282 subset: process (cell)
2283 name: Cell subset phenotype
2284 cell_species:
2285 $ref: '#/Ontology'
2286 description: >
2287 Binomial designation of the species from which the analyzed cells originate. Typically, this value
2288 should be identical to `species`, in which case it SHOULD NOT be set explicitly. However, there are
2289 valid experimental setups in which the two might differ, e.g., chimeric animal models. If set, this
2290 key will overwrite the `species` information for all lower layers of the schema.
2291 title: Cell species
2292 example:
2293 id: NCBITAXON:9606
2294 label: Homo sapiens
2295 x-airr:
2296 miairr: defined
2297 nullable: true
2298 adc-query-support: true
2299 set: 3
2300 subset: process (cell)
2301 name: Cell species
2302 format: ontology
2303 ontology:
2304 draft: false
2305 top_node:
2306 id: NCBITAXON:7776
2307 label: Gnathostomata
2308 single_cell:
2309 type: boolean
2310 description: TRUE if single cells were isolated into separate compartments
2311 title: Single-cell sort
2312 x-airr:
2313 miairr: important
2314 nullable: true
2315 adc-query-support: true
2316 set: 3
2317 subset: process (cell)
2318 name: Single-cell sort
2319 cell_number:
2320 type: integer
2321 description: Total number of cells that went into the experiment
2322 title: Number of cells in experiment
2323 example: 1000000
2324 x-airr:
2325 miairr: important
2326 nullable: true
2327 adc-query-support: true
2328 set: 3
2329 subset: process (cell)
2330 name: Number of cells in experiment
2331 cells_per_reaction:
2332 type: integer
2333 description: Number of cells for each biological replicate
2334 title: Number of cells per sequencing reaction
2335 example: 50000
2336 x-airr:
2337 miairr: important
2338 nullable: true
2339 adc-query-support: true
2340 set: 3
2341 subset: process (cell)
2342 name: Number of cells per sequencing reaction
2343 cell_storage:
2344 type: boolean
2345 description: TRUE if cells were cryo-preserved between isolation and further processing
2346 title: Cell storage
2347 example: TRUE
2348 x-airr:
2349 miairr: important
2350 nullable: true
2351 adc-query-support: true
2352 set: 3
2353 subset: process (cell)
2354 name: Cell storage
2355 cell_quality:
2356 type: string
2357 description: Relative amount of viable cells after preparation and (if applicable) thawing
2358 title: Cell quality
2359 example: 90% viability as determined by 7-AAD
2360 x-airr:
2361 miairr: important
2362 nullable: true
2363 adc-query-support: true
2364 set: 3
2365 subset: process (cell)
2366 name: Cell quality
2367 cell_isolation:
2368 type: string
2369 description: Description of the procedure used for marker-based isolation or enrich cells
2370 title: Cell isolation / enrichment procedure
2371 example: >
2372 Cells were stained with fluorochrome labeled antibodies and then sorted on a FlowMerlin (CE) cytometer.
2373 x-airr:
2374 miairr: important
2375 nullable: true
2376 adc-query-support: true
2377 set: 3
2378 subset: process (cell)
2379 name: Cell isolation / enrichment procedure
2380 cell_processing_protocol:
2381 type: string
2382 description: >
2383 Description of the methods applied to the sample including cell preparation/ isolation/enrichment and
2384 nucleic acid extraction. This should closely mirror the Materials and methods section in the manuscript.
2385 title: Processing protocol
2386 example: Stimulated wih anti-CD3/anti-CD28
2387 x-airr:
2388 miairr: important
2389 nullable: true
2390 adc-query-support: true
2391 set: 3
2392 subset: process (cell)
2393 name: Processing protocol
2394
2395 # object for PCR primer targets
2396 PCRTarget:
2397 type: object
2398 required:
2399 - pcr_target_locus
2400 - forward_pcr_primer_target_location
2401 - reverse_pcr_primer_target_location
2402 properties:
2403 pcr_target_locus:
2404 type: string
2405 enum:
2406 - IGH
2407 - IGI
2408 - IGK
2409 - IGL
2410 - TRA
2411 - TRB
2412 - TRD
2413 - TRG
2414 - null
2415 description: >
2416 Designation of the target locus. Note that this field uses a controlled vocubulary that is meant to
2417 provide a generic classification of the locus, not necessarily the correct designation according to
2418 a specific nomenclature.
2419 title: Target locus for PCR
2420 example: IGK
2421 x-airr:
2422 miairr: important
2423 nullable: true
2424 adc-query-support: true
2425 set: 3
2426 subset: process (nucleic acid [pcr])
2427 name: Target locus for PCR
2428 format: controlled_vocabulary
2429 forward_pcr_primer_target_location:
2430 type: string
2431 description: Position of the most distal nucleotide templated by the forward primer or primer mix
2432 title: Forward PCR primer target location
2433 example: IGHV, +23
2434 x-airr:
2435 miairr: important
2436 nullable: true
2437 adc-query-support: true
2438 set: 3
2439 subset: process (nucleic acid [pcr])
2440 name: Forward PCR primer target location
2441 reverse_pcr_primer_target_location:
2442 type: string
2443 description: Position of the most proximal nucleotide templated by the reverse primer or primer mix
2444 title: Reverse PCR primer target location
2445 example: IGHG, +57
2446 x-airr:
2447 miairr: important
2448 nullable: true
2449 adc-query-support: true
2450 set: 3
2451 subset: process (nucleic acid [pcr])
2452 name: Reverse PCR primer target location
2453
2454 # generally, a 1-to-1 relationship between a CellProcessing and processing of its nucleic acid
2455 # but may be 1-to-n for technical replicates.
2456 NucleicAcidProcessing:
2457 type: object
2458 required:
2459 - template_class
2460 - template_quality
2461 - template_amount
2462 - template_amount_unit
2463 - library_generation_method
2464 - library_generation_protocol
2465 - library_generation_kit_version
2466 - complete_sequences
2467 - physical_linkage
2468 properties:
2469 template_class:
2470 type: string
2471 enum:
2472 - DNA
2473 - RNA
2474 description: >
2475 The class of nucleic acid that was used as primary starting material for the following procedures
2476 title: Target substrate
2477 example: RNA
2478 x-airr:
2479 miairr: essential
2480 nullable: false
2481 adc-query-support: true
2482 set: 3
2483 subset: process (nucleic acid)
2484 name: Target substrate
2485 format: controlled_vocabulary
2486 template_quality:
2487 type: string
2488 description: Description and results of the quality control performed on the template material
2489 title: Target substrate quality
2490 example: RIN 9.2
2491 x-airr:
2492 miairr: important
2493 nullable: true
2494 adc-query-support: true
2495 set: 3
2496 subset: process (nucleic acid)
2497 name: Target substrate quality
2498 template_amount:
2499 type: number
2500 description: Amount of template that went into the process
2501 title: Template amount
2502 example: 1000
2503 x-airr:
2504 miairr: important
2505 nullable: true
2506 adc-query-support: true
2507 set: 3
2508 subset: process (nucleic acid)
2509 name: Template amount
2510 template_amount_unit:
2511 $ref: '#/Ontology'
2512 description: Unit of template amount
2513 title: Template amount time unit
2514 example:
2515 id: UO:0000024
2516 label: nanogram
2517 x-airr:
2518 miairr: important
2519 nullable: true
2520 adc-query-support: true
2521 set: 3
2522 subset: process (nucleic acid)
2523 name: Template amount time unit
2524 format: ontology
2525 ontology:
2526 draft: false
2527 top_node:
2528 id: UO:0000002
2529 label: physical quantity
2530 library_generation_method:
2531 type: string
2532 enum:
2533 - "PCR"
2534 - "RT(RHP)+PCR"
2535 - "RT(oligo-dT)+PCR"
2536 - "RT(oligo-dT)+TS+PCR"
2537 - "RT(oligo-dT)+TS(UMI)+PCR"
2538 - "RT(specific)+PCR"
2539 - "RT(specific)+TS+PCR"
2540 - "RT(specific)+TS(UMI)+PCR"
2541 - "RT(specific+UMI)+PCR"
2542 - "RT(specific+UMI)+TS+PCR"
2543 - "RT(specific)+TS"
2544 - "other"
2545 description: Generic type of library generation
2546 title: Library generation method
2547 example: RT(oligo-dT)+TS(UMI)+PCR
2548 x-airr:
2549 miairr: essential
2550 nullable: false
2551 adc-query-support: true
2552 set: 3
2553 subset: process (nucleic acid)
2554 name: Library generation method
2555 format: controlled_vocabulary
2556 library_generation_protocol:
2557 type: string
2558 description: Description of processes applied to substrate to obtain a library that is ready for sequencing
2559 title: Library generation protocol
2560 example: cDNA was generated using
2561 x-airr:
2562 miairr: important
2563 nullable: true
2564 adc-query-support: true
2565 set: 3
2566 subset: process (nucleic acid)
2567 name: Library generation protocol
2568 library_generation_kit_version:
2569 type: string
2570 description: When using a library generation protocol from a commercial provider, provide the protocol version number
2571 title: Protocol IDs
2572 example: v2.1 (2016-09-15)
2573 x-airr:
2574 miairr: important
2575 nullable: true
2576 adc-query-support: true
2577 set: 3
2578 subset: process (nucleic acid)
2579 name: Protocol IDs
2580 pcr_target:
2581 type: array
2582 description: >
2583 If a PCR step was performed that specifically targets the IG/TR loci, the target and primer locations
2584 need to be provided here. This field holds an array of PCRTarget objects, so that multiplex PCR setups
2585 amplifying multiple loci at the same time can be annotated using one record per locus. PCR setups not
2586 targeting any specific locus must not annotate this field but select the appropriate
2587 library_generation_method instead.
2588 items:
2589 $ref: '#/PCRTarget'
2590 x-airr:
2591 nullable: false
2592 adc-query-support: true
2593 complete_sequences:
2594 type: string
2595 enum:
2596 - partial
2597 - complete
2598 - "complete+untemplated"
2599 - mixed
2600 description: >
2601 To be considered `complete`, the procedure used for library construction MUST generate sequences that
2602 1) include the first V gene codon that encodes the mature polypeptide chain (i.e. after the
2603 leader sequence) and 2) include the last complete codon of the J gene (i.e. 1 bp 5' of the J->C
2604 splice site) and 3) provide sequence information for all positions between 1) and 2). To be considered
2605 `complete & untemplated`, the sections of the sequences defined in points 1) to 3) of the previous
2606 sentence MUST be untemplated, i.e. MUST NOT overlap with the primers used in library preparation.
2607 `mixed` should only be used if the procedure used for library construction will likely produce multiple
2608 categories of sequences in the given experiment. It SHOULD NOT be used as a replacement of a NULL value.
2609 title: Complete sequences
2610 example: partial
2611 x-airr:
2612 miairr: essential
2613 nullable: false
2614 adc-query-support: true
2615 set: 3
2616 subset: process (nucleic acid)
2617 name: Complete sequences
2618 format: controlled_vocabulary
2619 physical_linkage:
2620 type: string
2621 enum:
2622 - none
2623 - hetero_head-head
2624 - hetero_tail-head
2625 - hetero_prelinked
2626 description: >
2627 In case an experimental setup is used that physically links nucleic acids derived from distinct
2628 `Rearrangements` before library preparation, this field describes the mode of that linkage. All
2629 `hetero_*` terms indicate that in case of paired-read sequencing, the two reads should be expected
2630 to map to distinct IG/TR loci. `*_head-head` refers to techniques that link the 5' ends of transcripts
2631 in a single-cell context. `*_tail-head` refers to techniques that link the 3' end of one transcript to
2632 the 5' end of another one in a single-cell context. This term does not provide any information whether
2633 a continuous reading-frame between the two is generated. `*_prelinked` refers to constructs in which
2634 the linkage was already present on the DNA level (e.g. scFv).
2635 title: Physical linkage of different rearrangements
2636 example: hetero_head-head
2637 x-airr:
2638 miairr: essential
2639 nullable: false
2640 adc-query-support: true
2641 set: 3
2642 subset: process (nucleic acid)
2643 name: Physical linkage of different rearrangements
2644 format: controlled_vocabulary
2645
2646 # 1-to-n relationship between a NucleicAcidProcessing and SequencingRun with resultant raw sequence file(s)
2647 SequencingRun:
2648 type: object
2649 required:
2650 - sequencing_run_id
2651 - total_reads_passing_qc_filter
2652 - sequencing_platform
2653 - sequencing_facility
2654 - sequencing_run_date
2655 - sequencing_kit
2656 properties:
2657 sequencing_run_id:
2658 type: string
2659 description: ID of sequencing run assigned by the sequencing facility
2660 title: Batch number
2661 example: 160101_M01234
2662 x-airr:
2663 identifier: true
2664 miairr: important
2665 nullable: true
2666 adc-query-support: true
2667 set: 3
2668 subset: process (sequencing)
2669 name: Batch number
2670 total_reads_passing_qc_filter:
2671 type: integer
2672 description: Number of usable reads for analysis
2673 title: Total reads passing QC filter
2674 example: 10365118
2675 x-airr:
2676 miairr: important
2677 nullable: true
2678 adc-query-support: true
2679 set: 3
2680 subset: process (sequencing)
2681 name: Total reads passing QC filter
2682 sequencing_platform:
2683 type: string
2684 description: Designation of sequencing instrument used
2685 title: Sequencing platform
2686 example: Alumina LoSeq 1000
2687 x-airr:
2688 miairr: important
2689 nullable: true
2690 adc-query-support: true
2691 set: 3
2692 subset: process (sequencing)
2693 name: Sequencing platform
2694 sequencing_facility:
2695 type: string
2696 description: Name and address of sequencing facility
2697 title: Sequencing facility
2698 example: Seqs-R-Us, Vancouver, BC, Canada
2699 x-airr:
2700 miairr: important
2701 nullable: true
2702 adc-query-support: true
2703 set: 3
2704 subset: process (sequencing)
2705 name: Sequencing facility
2706 sequencing_run_date:
2707 type: string
2708 description: Date of sequencing run
2709 title: Date of sequencing run
2710 format: date
2711 example: 2016-12-16
2712 x-airr:
2713 miairr: important
2714 nullable: true
2715 adc-query-support: true
2716 set: 3
2717 subset: process (sequencing)
2718 name: Date of sequencing run
2719 sequencing_kit:
2720 type: string
2721 description: Name, manufacturer, order and lot numbers of sequencing kit
2722 title: Sequencing kit
2723 example: "FullSeq 600, Alumina, #M123456C0, 789G1HK"
2724 x-airr:
2725 miairr: important
2726 nullable: true
2727 adc-query-support: true
2728 set: 3
2729 subset: process (sequencing)
2730 name: Sequencing kit
2731 sequencing_files:
2732 $ref: '#/SequencingData'
2733 description: Set of sequencing files produced by the sequencing run
2734 x-airr:
2735 nullable: false
2736 adc-query-support: true
2737
2738 # Resultant raw sequencing files from a SequencingRun
2739 SequencingData:
2740 type: object
2741 required:
2742 - sequencing_data_id
2743 - file_type
2744 - filename
2745 - read_direction
2746 - read_length
2747 - paired_filename
2748 - paired_read_direction
2749 - paired_read_length
2750 properties:
2751 sequencing_data_id:
2752 type: string
2753 description: >
2754 Persistent identifier of raw data stored in an archive (e.g. INSDC run ID). Data archive should
2755 be identified in the CURIE prefix.
2756 title: Raw sequencing data persistent identifier
2757 example: "SRA:SRR11610494"
2758 x-airr:
2759 identifier: true
2760 miairr: important
2761 nullable: true
2762 adc-query-support: true
2763 set: 4
2764 subset: data (raw reads)
2765 format: CURIE
2766 file_type:
2767 type: string
2768 description: File format for the raw reads or sequences
2769 title: Raw sequencing data file type
2770 enum:
2771 - fasta
2772 - fastq
2773 - null
2774 x-airr:
2775 miairr: important
2776 nullable: true
2777 adc-query-support: true
2778 set: 4
2779 subset: data (raw reads)
2780 name: Raw sequencing data file type
2781 format: controlled_vocabulary
2782 filename:
2783 type: string
2784 description: File name for the raw reads or sequences. The first file in paired-read sequencing.
2785 title: Raw sequencing data file name
2786 example: MS10R-NMonson-C7JR9_S1_R1_001.fastq
2787 x-airr:
2788 miairr: important
2789 nullable: true
2790 adc-query-support: true
2791 set: 4
2792 subset: data (raw reads)
2793 name: Raw sequencing data file name
2794 read_direction:
2795 type: string
2796 description: Read direction for the raw reads or sequences. The first file in paired-read sequencing.
2797 title: Read direction
2798 example: forward
2799 enum:
2800 - forward
2801 - reverse
2802 - mixed
2803 - null
2804 x-airr:
2805 miairr: important
2806 nullable: true
2807 adc-query-support: true
2808 set: 4
2809 subset: data (raw reads)
2810 name: Read direction
2811 format: controlled_vocabulary
2812 read_length:
2813 type: integer
2814 description: Read length in bases for the first file in paired-read sequencing
2815 title: Forward read length
2816 example: 300
2817 x-airr:
2818 miairr: important
2819 nullable: true
2820 adc-query-support: true
2821 set: 4
2822 subset: data (raw reads)
2823 name: Forward read length
2824 paired_filename:
2825 type: string
2826 description: File name for the second file in paired-read sequencing
2827 title: Paired raw sequencing data file name
2828 example: MS10R-NMonson-C7JR9_S1_R2_001.fastq
2829 x-airr:
2830 miairr: important
2831 nullable: true
2832 adc-query-support: true
2833 set: 4
2834 subset: data (raw reads)
2835 name: Paired raw sequencing data file name
2836 paired_read_direction:
2837 type: string
2838 description: Read direction for the second file in paired-read sequencing
2839 title: Paired read direction
2840 example: reverse
2841 enum:
2842 - forward
2843 - reverse
2844 - mixed
2845 - null
2846 x-airr:
2847 miairr: important
2848 nullable: true
2849 adc-query-support: true
2850 set: 4
2851 subset: data (raw reads)
2852 name: Paired read direction
2853 format: controlled_vocabulary
2854 paired_read_length:
2855 type: integer
2856 description: Read length in bases for the second file in paired-read sequencing
2857 title: Paired read length
2858 example: 300
2859 x-airr:
2860 miairr: important
2861 nullable: true
2862 adc-query-support: true
2863 set: 4
2864 subset: data (raw reads)
2865 name: Paired read length
2866 index_filename:
2867 type: string
2868 description: File name for the index file
2869 title: Sequencing index file name
2870 example: MS10R-NMonson-C7JR9_S1_R3_001.fastq
2871 x-airr:
2872 nullable: true
2873 adc-query-support: true
2874 index_length:
2875 type: integer
2876 description: Read length in bases for the index file
2877 title: Index read length
2878 example: 8
2879 x-airr:
2880 nullable: true
2881 adc-query-support: true
2882
2883 # 1-to-n relationship between a repertoire and data processing
2884 #
2885 # Set of annotated rearrangement sequences produced by
2886 # data processing upon the raw sequence data for a repertoire.
2887 DataProcessing:
2888 type: object
2889 required:
2890 - software_versions
2891 - paired_reads_assembly
2892 - quality_thresholds
2893 - primer_match_cutoffs
2894 - collapsing_method
2895 - data_processing_protocols
2896 - germline_database
2897 properties:
2898 data_processing_id:
2899 type: string
2900 description: Identifier for the data processing object.
2901 title: Data processing ID
2902 x-airr:
2903 identifier: true
2904 nullable: true
2905 name: Data processing ID
2906 adc-query-support: true
2907 primary_annotation:
2908 type: boolean
2909 default: false
2910 description: >
2911 If true, indicates this is the primary or default data processing for
2912 the repertoire and its rearrangements. If false, indicates this is a secondary
2913 or additional data processing.
2914 title: Primary annotation
2915 x-airr:
2916 nullable: false
2917 adc-query-support: true
2918 identifier: true
2919 software_versions:
2920 type: string
2921 description: Version number and / or date, include company pipelines
2922 title: Software tools and version numbers
2923 example: IgBLAST 1.6
2924 x-airr:
2925 miairr: important
2926 nullable: true
2927 adc-query-support: true
2928 set: 5
2929 subset: process (computational)
2930 name: Software tools and version numbers
2931 paired_reads_assembly:
2932 type: string
2933 description: How paired end reads were assembled into a single receptor sequence
2934 title: Paired read assembly
2935 example: PandaSeq (minimal overlap 50, threshold 0.8)
2936 x-airr:
2937 miairr: important
2938 nullable: true
2939 adc-query-support: true
2940 set: 5
2941 subset: process (computational)
2942 name: Paired read assembly
2943 quality_thresholds:
2944 type: string
2945 description: How/if sequences were removed from (4) based on base quality scores
2946 title: Quality thresholds
2947 example: Average Phred score >=20
2948 x-airr:
2949 miairr: important
2950 nullable: true
2951 adc-query-support: true
2952 set: 5
2953 subset: process (computational)
2954 name: Quality thresholds
2955 primer_match_cutoffs:
2956 type: string
2957 description: How primers were identified in the sequences, were they removed/masked/etc?
2958 title: Primer match cutoffs
2959 example: Hamming distance <= 2
2960 x-airr:
2961 miairr: important
2962 nullable: true
2963 adc-query-support: true
2964 set: 5
2965 subset: process (computational)
2966 name: Primer match cutoffs
2967 collapsing_method:
2968 type: string
2969 description: The method used for combining multiple sequences from (4) into a single sequence in (5)
2970 title: Collapsing method
2971 example: MUSCLE 3.8.31
2972 x-airr:
2973 miairr: important
2974 nullable: true
2975 adc-query-support: true
2976 set: 5
2977 subset: process (computational)
2978 name: Collapsing method
2979 data_processing_protocols:
2980 type: string
2981 description: General description of how QC is performed
2982 title: Data processing protocols
2983 example: Data was processed using [...]
2984 x-airr:
2985 miairr: important
2986 nullable: true
2987 adc-query-support: true
2988 set: 5
2989 subset: process (computational)
2990 name: Data processing protocols
2991 data_processing_files:
2992 type: array
2993 items:
2994 type: string
2995 description: Array of file names for data produced by this data processing.
2996 title: Processed data file names
2997 example:
2998 - 'ERR1278153_aa.txz'
2999 - 'ERR1278153_ab.txz'
3000 - 'ERR1278153_ac.txz'
3001 x-airr:
3002 nullable: true
3003 adc-query-support: true
3004 name: Processed data file names
3005 germline_database:
3006 type: string
3007 description: Source of germline V(D)J genes with version number or date accessed.
3008 title: V(D)J germline reference database
3009 example: ENSEMBL, Homo sapiens build 90, 2017-10-01
3010 x-airr:
3011 miairr: important
3012 nullable: true
3013 adc-query-support: true
3014 set: 5
3015 subset: data (processed sequence)
3016 name: V(D)J germline reference database
3017 germline_set_ref:
3018 type: string
3019 description: Unique identifier of the germline set and version, in standardized form (Repo:Label:Version)
3020 example: OGRDB:Human_IGH:2021.11
3021 x-airr:
3022 nullable: true
3023 adc-query-support: true
3024 analysis_provenance_id:
3025 type: string
3026 description: Identifier for machine-readable PROV model of analysis provenance
3027 title: Analysis provenance ID
3028 x-airr:
3029 nullable: true
3030 adc-query-support: true
3031
3032 SampleProcessing:
3033 allOf:
3034 - type: object
3035 properties:
3036 sample_processing_id:
3037 type: string
3038 description: >
3039 Identifier for the sample processing object. This field should be unique within the repertoire.
3040 This field can be used to uniquely identify the combination of sample, cell processing,
3041 nucleic acid processing and sequencing run information for the repertoire.
3042 title: Sample processing ID
3043 x-airr:
3044 identifier: true
3045 nullable: true
3046 name: Sample processing ID
3047 adc-query-support: true
3048 - $ref: '#/Sample'
3049 - $ref: '#/CellProcessing'
3050 - $ref: '#/NucleicAcidProcessing'
3051 - $ref: '#/SequencingRun'
3052
3053
3054 # The composite schema for the repertoire object
3055 #
3056 # This represents a sample repertoire as defined by the study
3057 # and experimentally observed by raw sequence data. A repertoire
3058 # can only be for one subject but may include multiple samples.
3059 Repertoire:
3060 type: object
3061 required:
3062 - study
3063 - subject
3064 - sample
3065 - data_processing
3066 properties:
3067 repertoire_id:
3068 type: string
3069 description: >
3070 Identifier for the repertoire object. This identifier should be globally unique so that repertoires
3071 from multiple studies can be combined together without conflict. The repertoire_id is used to link
3072 other AIRR data to a Repertoire. Specifically, the Rearrangements Schema includes repertoire_id for
3073 referencing the specific Repertoire for that Rearrangement.
3074 title: Repertoire ID
3075 x-airr:
3076 nullable: true
3077 adc-query-support: true
3078 identifier: true
3079 repertoire_name:
3080 type: string
3081 description: Short generic display name for the repertoire
3082 title: Repertoire name
3083 x-airr:
3084 nullable: true
3085 name: Repertoire name
3086 adc-query-support: true
3087 repertoire_description:
3088 type: string
3089 description: Generic repertoire description
3090 title: Repertoire description
3091 x-airr:
3092 nullable: true
3093 name: Repertoire description
3094 adc-query-support: true
3095 study:
3096 $ref: '#/Study'
3097 description: Study object
3098 x-airr:
3099 nullable: false
3100 adc-query-support: true
3101 subject:
3102 $ref: '#/Subject'
3103 description: Subject object
3104 x-airr:
3105 nullable: false
3106 adc-query-support: true
3107 sample:
3108 type: array
3109 description: List of Sample Processing objects
3110 items:
3111 $ref: '#/SampleProcessing'
3112 x-airr:
3113 nullable: false
3114 adc-query-support: true
3115 data_processing:
3116 type: array
3117 description: List of Data Processing objects
3118 items:
3119 $ref: '#/DataProcessing'
3120 x-airr:
3121 nullable: false
3122 adc-query-support: true
3123
3124 # A collection of repertoires for analysis purposes, includes optional time course
3125 RepertoireGroup:
3126 type: object
3127 required:
3128 - repertoire_group_id
3129 - repertoires
3130 properties:
3131 repertoire_group_id:
3132 type: string
3133 description: Identifier for this repertoire collection
3134 x-airr:
3135 identifier: true
3136 repertoire_group_name:
3137 type: string
3138 description: Short display name for this repertoire collection
3139 repertoire_group_description:
3140 type: string
3141 description: Repertoire collection description
3142 repertoires:
3143 type: array
3144 description: >
3145 List of repertoires in this collection with an associated description and time point designation
3146 items:
3147 type: object
3148 properties:
3149 repertoire_id:
3150 type: string
3151 description: Identifier to the repertoire
3152 x-airr:
3153 nullable: false
3154 adc-query-support: true
3155 repertoire_description:
3156 type: string
3157 description: Description of this repertoire within the group
3158 x-airr:
3159 nullable: true
3160 adc-query-support: true
3161 time_point:
3162 $ref: '#/TimePoint'
3163 description: Time point designation for this repertoire within the group
3164 x-airr:
3165 nullable: true
3166 adc-query-support: true
3167
3168
3169 Alignment:
3170 type: object
3171 required:
3172 - sequence_id
3173 - segment
3174 - call
3175 - score
3176 - cigar
3177 properties:
3178 sequence_id:
3179 type: string
3180 description: >
3181 Unique query sequence identifier within the file. Most often this will be the input sequence
3182 header or a substring thereof, but may also be a custom identifier defined by the tool in
3183 cases where query sequences have been combined in some fashion prior to alignment.
3184 x-airr:
3185 identifier: true
3186 segment:
3187 type: string
3188 description: >
3189 The segment for this alignment. One of V, D, J or C.
3190 rev_comp:
3191 type: boolean
3192 description: >
3193 Alignment result is from the reverse complement of the query sequence.
3194 call:
3195 type: string
3196 description: >
3197 Gene assignment with allele.
3198 score:
3199 type: number
3200 description: >
3201 Alignment score.
3202 identity:
3203 type: number
3204 description: >
3205 Alignment fractional identity.
3206 support:
3207 type: number
3208 description: >
3209 Alignment E-value, p-value, likelihood, probability or other similar measure of
3210 support for the gene assignment as defined by the alignment tool.
3211 cigar:
3212 type: string
3213 description: >
3214 Alignment CIGAR string.
3215 sequence_start:
3216 type: integer
3217 description: >
3218 Start position of the segment in the query sequence (1-based closed interval).
3219 sequence_end:
3220 type: integer
3221 description: >
3222 End position of the segment in the query sequence (1-based closed interval).
3223 germline_start:
3224 type: integer
3225 description: >
3226 Alignment start position in the reference sequence (1-based closed interval).
3227 germline_end:
3228 type: integer
3229 description: >
3230 Alignment end position in the reference sequence (1-based closed interval).
3231 rank:
3232 type: integer
3233 description: >
3234 Alignment rank.
3235 rearrangement_id:
3236 type: string
3237 description: >
3238 Identifier for the Rearrangement object. May be identical to sequence_id,
3239 but will usually be a universally unique record locator for database applications.
3240 x-airr:
3241 deprecated: true
3242 deprecated-description: Field has been merged with sequence_id to avoid confusion.
3243 deprecated-replaced-by:
3244 - sequence_id
3245 data_processing_id:
3246 type: string
3247 description: >
3248 Identifier to the data processing object in the repertoire metadata
3249 for this rearrangement. If this field is empty than the primary data processing object is assumed.
3250 germline_database:
3251 type: string
3252 description: Source of germline V(D)J genes with version number or date accessed.
3253 example: ENSEMBL, Homo sapiens build 90, 2017-10-01
3254 x-airr:
3255 deprecated: true
3256 deprecated-description: Field was moved up to the DataProcessing level to avoid data duplication.
3257 deprecated-replaced-by:
3258 - "DataProcessing:germline_database"
3259
3260
3261 # The extended rearrangement object
3262 Rearrangement:
3263 type: object
3264 required:
3265 - sequence_id
3266 - sequence
3267 - rev_comp
3268 - productive
3269 - v_call
3270 - d_call
3271 - j_call
3272 - sequence_alignment
3273 - germline_alignment
3274 - junction
3275 - junction_aa
3276 - v_cigar
3277 - d_cigar
3278 - j_cigar
3279 properties:
3280 sequence_id:
3281 type: string
3282 description: >
3283 Unique query sequence identifier for the Rearrangement. Most often this will be the input sequence
3284 header or a substring thereof, but may also be a custom identifier defined by the tool in
3285 cases where query sequences have been combined in some fashion prior to alignment. When
3286 downloaded from an AIRR Data Commons repository, this will usually be a universally unique
3287 record locator for linking with other objects in the AIRR Data Model.
3288 x-airr:
3289 adc-query-support: true
3290 identifier: true
3291 sequence:
3292 type: string
3293 description: >
3294 The query nucleotide sequence. Usually, this is the unmodified input sequence, which may be
3295 reverse complemented if necessary. In some cases, this field may contain consensus sequences or
3296 other types of collapsed input sequences if these steps are performed prior to alignment.
3297 quality:
3298 type: string
3299 description: >
3300 The Sanger/Phred quality scores for assessment of sequence quality.
3301 Phred quality scores from 0 to 93 are encoded using ASCII 33 to 126 (Used by Illumina from v1.8.)
3302 sequence_aa:
3303 type: string
3304 description: >
3305 Amino acid translation of the query nucleotide sequence.
3306 rev_comp:
3307 type: boolean
3308 description: >
3309 True if the alignment is on the opposite strand (reverse complemented) with respect to the
3310 query sequence. If True then all output data, such as alignment coordinates and sequences,
3311 are based on the reverse complement of 'sequence'.
3312 productive:
3313 type: boolean
3314 description: >
3315 True if the V(D)J sequence is predicted to be productive.
3316 x-airr:
3317 adc-query-support: true
3318 vj_in_frame:
3319 type: boolean
3320 description: True if the V and J gene alignments are in-frame.
3321 stop_codon:
3322 type: boolean
3323 description: True if the aligned sequence contains a stop codon.
3324 complete_vdj:
3325 type: boolean
3326 description: >
3327 True if the sequence alignment spans the entire V(D)J region. Meaning,
3328 sequence_alignment includes both the first V gene codon that encodes the
3329 mature polypeptide chain (i.e., after the leader sequence) and the last
3330 complete codon of the J gene (i.e., before the J-C splice site).
3331 This does not require an absence of deletions within the internal
3332 FWR and CDR regions of the alignment.
3333 locus:
3334 type: string
3335 enum:
3336 - IGH
3337 - IGI
3338 - IGK
3339 - IGL
3340 - TRA
3341 - TRB
3342 - TRD
3343 - TRG
3344 - null
3345 description: >
3346 Gene locus (chain type). Note that this field uses a controlled vocabulary that is meant to provide a
3347 generic classification of the locus, not necessarily the correct designation according to a specific
3348 nomenclature.
3349 title: Gene locus
3350 example: IGH
3351 x-airr:
3352 nullable: true
3353 adc-query-support: true
3354 name: Gene locus
3355 format: controlled_vocabulary
3356 v_call:
3357 type: string
3358 description: >
3359 V gene with allele. If referring to a known reference sequence in a database
3360 the relevant gene/allele nomenclature should be followed (e.g., IGHV4-59*01 if using IMGT/GENE-DB).
3361 title: V gene with allele
3362 example: IGHV4-59*01
3363 x-airr:
3364 miairr: important
3365 nullable: true
3366 adc-query-support: true
3367 set: 6
3368 subset: data (processed sequence)
3369 name: V gene with allele
3370 d_call:
3371 type: string
3372 description: >
3373 First or only D gene with allele. If referring to a known reference sequence in a database
3374 the relevant gene/allele nomenclature should be followed (e.g., IGHD3-10*01 if using IMGT/GENE-DB).
3375 title: D gene with allele
3376 example: IGHD3-10*01
3377 x-airr:
3378 miairr: important
3379 nullable: true
3380 adc-query-support: true
3381 set: 6
3382 subset: data (processed sequence)
3383 name: D gene with allele
3384 d2_call:
3385 type: string
3386 description: >
3387 Second D gene with allele. If referring to a known reference sequence in a database the relevant
3388 gene/allele nomenclature should be followed (e.g., IGHD3-10*01 if using IMGT/GENE-DB).
3389 example: IGHD3-10*01
3390 j_call:
3391 type: string
3392 description: >
3393 J gene with allele. If referring to a known reference sequence in a database the relevant
3394 gene/allele nomenclature should be followed (e.g., IGHJ4*02 if using IMGT/GENE-DB).
3395 title: J gene with allele
3396 example: IGHJ4*02
3397 x-airr:
3398 miairr: important
3399 nullable: true
3400 adc-query-support: true
3401 set: 6
3402 subset: data (processed sequence)
3403 name: J gene with allele
3404 c_call:
3405 type: string
3406 description: >
3407 Constant region gene with allele. If referring to a known reference sequence in a database the
3408 relevant gene/allele nomenclature should be followed (e.g., IGHG1*01 if using IMGT/GENE-DB).
3409 title: C region
3410 example: IGHG1*01
3411 x-airr:
3412 miairr: important
3413 nullable: true
3414 adc-query-support: true
3415 set: 6
3416 subset: data (processed sequence)
3417 name: C region
3418 sequence_alignment:
3419 type: string
3420 description: >
3421 Aligned portion of query sequence, including any indel corrections or numbering spacers,
3422 such as IMGT-gaps. Typically, this will include only the V(D)J region, but that is not
3423 a requirement.
3424 quality_alignment:
3425 type: string
3426 description: >
3427 Sanger/Phred quality scores for assessment of sequence_alignment quality.
3428 Phred quality scores from 0 to 93 are encoded using ASCII 33 to 126 (Used by Illumina from v1.8.)
3429 sequence_alignment_aa:
3430 type: string
3431 description: >
3432 Amino acid translation of the aligned query sequence.
3433 germline_alignment:
3434 type: string
3435 description: >
3436 Assembled, aligned, full-length inferred germline sequence spanning the same region
3437 as the sequence_alignment field (typically the V(D)J region) and including the same set
3438 of corrections and spacers (if any).
3439 germline_alignment_aa:
3440 type: string
3441 description: >
3442 Amino acid translation of the assembled germline sequence.
3443 junction:
3444 type: string
3445 description: >
3446 Junction region nucleotide sequence, where the junction is defined as
3447 the CDR3 plus the two flanking conserved codons.
3448 title: IMGT-JUNCTION nucleotide sequence
3449 example: TGTGCAAGAGCGGGAGTTTACGACGGATATACTATGGACTACTGG
3450 x-airr:
3451 miairr: important
3452 nullable: true
3453 set: 6
3454 subset: data (processed sequence)
3455 name: IMGT-JUNCTION nucleotide sequence
3456 junction_aa:
3457 type: string
3458 description: >
3459 Amino acid translation of the junction.
3460 title: IMGT-JUNCTION amino acid sequence
3461 example: CARAGVYDGYTMDYW
3462 x-airr:
3463 miairr: important
3464 nullable: true
3465 adc-query-support: true
3466 set: 6
3467 subset: data (processed sequence)
3468 name: IMGT-JUNCTION amino acid sequence
3469 np1:
3470 type: string
3471 description: >
3472 Nucleotide sequence of the combined N/P region between the V gene and
3473 first D gene alignment or between the V gene and J gene alignments.
3474 np1_aa:
3475 type: string
3476 description: >
3477 Amino acid translation of the np1 field.
3478 np2:
3479 type: string
3480 description: >
3481 Nucleotide sequence of the combined N/P region between either the first D gene and J gene
3482 alignments or the first D gene and second D gene alignments.
3483 np2_aa:
3484 type: string
3485 description: >
3486 Amino acid translation of the np2 field.
3487 np3:
3488 type: string
3489 description: >
3490 Nucleotide sequence of the combined N/P region between the second D gene
3491 and J gene alignments.
3492 np3_aa:
3493 type: string
3494 description: >
3495 Amino acid translation of the np3 field.
3496 cdr1:
3497 type: string
3498 description: >
3499 Nucleotide sequence of the aligned CDR1 region.
3500 cdr1_aa:
3501 type: string
3502 description: >
3503 Amino acid translation of the cdr1 field.
3504 cdr2:
3505 type: string
3506 description: >
3507 Nucleotide sequence of the aligned CDR2 region.
3508 cdr2_aa:
3509 type: string
3510 description: >
3511 Amino acid translation of the cdr2 field.
3512 cdr3:
3513 type: string
3514 description: >
3515 Nucleotide sequence of the aligned CDR3 region.
3516 cdr3_aa:
3517 type: string
3518 description: >
3519 Amino acid translation of the cdr3 field.
3520 fwr1:
3521 type: string
3522 description: >
3523 Nucleotide sequence of the aligned FWR1 region.
3524 fwr1_aa:
3525 type: string
3526 description: >
3527 Amino acid translation of the fwr1 field.
3528 fwr2:
3529 type: string
3530 description: >
3531 Nucleotide sequence of the aligned FWR2 region.
3532 fwr2_aa:
3533 type: string
3534 description: >
3535 Amino acid translation of the fwr2 field.
3536 fwr3:
3537 type: string
3538 description: >
3539 Nucleotide sequence of the aligned FWR3 region.
3540 fwr3_aa:
3541 type: string
3542 description: >
3543 Amino acid translation of the fwr3 field.
3544 fwr4:
3545 type: string
3546 description: >
3547 Nucleotide sequence of the aligned FWR4 region.
3548 fwr4_aa:
3549 type: string
3550 description: >
3551 Amino acid translation of the fwr4 field.
3552 v_score:
3553 type: number
3554 description: Alignment score for the V gene.
3555 v_identity:
3556 type: number
3557 description: Fractional identity for the V gene alignment.
3558 v_support:
3559 type: number
3560 description: >
3561 V gene alignment E-value, p-value, likelihood, probability or other similar measure of
3562 support for the V gene assignment as defined by the alignment tool.
3563 v_cigar:
3564 type: string
3565 description: CIGAR string for the V gene alignment.
3566 d_score:
3567 type: number
3568 description: Alignment score for the first or only D gene alignment.
3569 d_identity:
3570 type: number
3571 description: Fractional identity for the first or only D gene alignment.
3572 d_support:
3573 type: number
3574 description: >
3575 D gene alignment E-value, p-value, likelihood, probability or other similar measure of
3576 support for the first or only D gene as defined by the alignment tool.
3577 d_cigar:
3578 type: string
3579 description: CIGAR string for the first or only D gene alignment.
3580 d2_score:
3581 type: number
3582 description: Alignment score for the second D gene alignment.
3583 d2_identity:
3584 type: number
3585 description: Fractional identity for the second D gene alignment.
3586 d2_support:
3587 type: number
3588 description: >
3589 D gene alignment E-value, p-value, likelihood, probability or other similar measure of
3590 support for the second D gene as defined by the alignment tool.
3591 d2_cigar:
3592 type: string
3593 description: CIGAR string for the second D gene alignment.
3594 j_score:
3595 type: number
3596 description: Alignment score for the J gene alignment.
3597 j_identity:
3598 type: number
3599 description: Fractional identity for the J gene alignment.
3600 j_support:
3601 type: number
3602 description: >
3603 J gene alignment E-value, p-value, likelihood, probability or other similar measure of
3604 support for the J gene assignment as defined by the alignment tool.
3605 j_cigar:
3606 type: string
3607 description: CIGAR string for the J gene alignment.
3608 c_score:
3609 type: number
3610 description: Alignment score for the C gene alignment.
3611 c_identity:
3612 type: number
3613 description: Fractional identity for the C gene alignment.
3614 c_support:
3615 type: number
3616 description: >
3617 C gene alignment E-value, p-value, likelihood, probability or other similar measure of
3618 support for the C gene assignment as defined by the alignment tool.
3619 c_cigar:
3620 type: string
3621 description: CIGAR string for the C gene alignment.
3622 v_sequence_start:
3623 type: integer
3624 description: >
3625 Start position of the V gene in the query sequence (1-based closed interval).
3626 v_sequence_end:
3627 type: integer
3628 description: >
3629 End position of the V gene in the query sequence (1-based closed interval).
3630 v_germline_start:
3631 type: integer
3632 description: >
3633 Alignment start position in the V gene reference sequence (1-based closed interval).
3634 v_germline_end:
3635 type: integer
3636 description: >
3637 Alignment end position in the V gene reference sequence (1-based closed interval).
3638 v_alignment_start:
3639 type: integer
3640 description: >
3641 Start position of the V gene alignment in both the sequence_alignment and germline_alignment
3642 fields (1-based closed interval).
3643 v_alignment_end:
3644 type: integer
3645 description: >
3646 End position of the V gene alignment in both the sequence_alignment and germline_alignment
3647 fields (1-based closed interval).
3648 d_sequence_start:
3649 type: integer
3650 description: >
3651 Start position of the first or only D gene in the query sequence.
3652 (1-based closed interval).
3653 d_sequence_end:
3654 type: integer
3655 description: >
3656 End position of the first or only D gene in the query sequence.
3657 (1-based closed interval).
3658 d_germline_start:
3659 type: integer
3660 description: >
3661 Alignment start position in the D gene reference sequence for the first or only
3662 D gene (1-based closed interval).
3663 d_germline_end:
3664 type: integer
3665 description: >
3666 Alignment end position in the D gene reference sequence for the first or only
3667 D gene (1-based closed interval).
3668 d_alignment_start:
3669 type: integer
3670 description: >
3671 Start position of the first or only D gene in both the sequence_alignment
3672 and germline_alignment fields (1-based closed interval).
3673 d_alignment_end:
3674 type: integer
3675 description: >
3676 End position of the first or only D gene in both the sequence_alignment
3677 and germline_alignment fields (1-based closed interval).
3678 d2_sequence_start:
3679 type: integer
3680 description: >
3681 Start position of the second D gene in the query sequence (1-based closed interval).
3682 d2_sequence_end:
3683 type: integer
3684 description: >
3685 End position of the second D gene in the query sequence (1-based closed interval).
3686 d2_germline_start:
3687 type: integer
3688 description: >
3689 Alignment start position in the second D gene reference sequence (1-based closed interval).
3690 d2_germline_end:
3691 type: integer
3692 description: >
3693 Alignment end position in the second D gene reference sequence (1-based closed interval).
3694 d2_alignment_start:
3695 type: integer
3696 description: >
3697 Start position of the second D gene alignment in both the sequence_alignment and
3698 germline_alignment fields (1-based closed interval).
3699 d2_alignment_end:
3700 type: integer
3701 description: >
3702 End position of the second D gene alignment in both the sequence_alignment and
3703 germline_alignment fields (1-based closed interval).
3704 j_sequence_start:
3705 type: integer
3706 description: >
3707 Start position of the J gene in the query sequence (1-based closed interval).
3708 j_sequence_end:
3709 type: integer
3710 description: >
3711 End position of the J gene in the query sequence (1-based closed interval).
3712 j_germline_start:
3713 type: integer
3714 description: >
3715 Alignment start position in the J gene reference sequence (1-based closed interval).
3716 j_germline_end:
3717 type: integer
3718 description: >
3719 Alignment end position in the J gene reference sequence (1-based closed interval).
3720 j_alignment_start:
3721 type: integer
3722 description: >
3723 Start position of the J gene alignment in both the sequence_alignment and germline_alignment
3724 fields (1-based closed interval).
3725 j_alignment_end:
3726 type: integer
3727 description: >
3728 End position of the J gene alignment in both the sequence_alignment and germline_alignment
3729 fields (1-based closed interval).
3730 c_sequence_start:
3731 type: integer
3732 description: >
3733 Start position of the C gene in the query sequence (1-based closed interval).
3734 c_sequence_end:
3735 type: integer
3736 description: >
3737 End position of the C gene in the query sequence (1-based closed interval).
3738 c_germline_start:
3739 type: integer
3740 description: >
3741 Alignment start position in the C gene reference sequence (1-based closed interval).
3742 c_germline_end:
3743 type: integer
3744 description: >
3745 Alignment end position in the C gene reference sequence (1-based closed interval).
3746 c_alignment_start:
3747 type: integer
3748 description: >
3749 Start position of the C gene alignment in both the sequence_alignment and germline_alignment
3750 fields (1-based closed interval).
3751 c_alignment_end:
3752 type: integer
3753 description: >
3754 End position of the C gene alignment in both the sequence_alignment and germline_alignment
3755 fields (1-based closed interval).
3756 cdr1_start:
3757 type: integer
3758 description: CDR1 start position in the query sequence (1-based closed interval).
3759 cdr1_end:
3760 type: integer
3761 description: CDR1 end position in the query sequence (1-based closed interval).
3762 cdr2_start:
3763 type: integer
3764 description: CDR2 start position in the query sequence (1-based closed interval).
3765 cdr2_end:
3766 type: integer
3767 description: CDR2 end position in the query sequence (1-based closed interval).
3768 cdr3_start:
3769 type: integer
3770 description: CDR3 start position in the query sequence (1-based closed interval).
3771 cdr3_end:
3772 type: integer
3773 description: CDR3 end position in the query sequence (1-based closed interval).
3774 fwr1_start:
3775 type: integer
3776 description: FWR1 start position in the query sequence (1-based closed interval).
3777 fwr1_end:
3778 type: integer
3779 description: FWR1 end position in the query sequence (1-based closed interval).
3780 fwr2_start:
3781 type: integer
3782 description: FWR2 start position in the query sequence (1-based closed interval).
3783 fwr2_end:
3784 type: integer
3785 description: FWR2 end position in the query sequence (1-based closed interval).
3786 fwr3_start:
3787 type: integer
3788 description: FWR3 start position in the query sequence (1-based closed interval).
3789 fwr3_end:
3790 type: integer
3791 description: FWR3 end position in the query sequence (1-based closed interval).
3792 fwr4_start:
3793 type: integer
3794 description: FWR4 start position in the query sequence (1-based closed interval).
3795 fwr4_end:
3796 type: integer
3797 description: FWR4 end position in the query sequence (1-based closed interval).
3798 v_sequence_alignment:
3799 type: string
3800 description: >
3801 Aligned portion of query sequence assigned to the V gene, including any
3802 indel corrections or numbering spacers.
3803 v_sequence_alignment_aa:
3804 type: string
3805 description: >
3806 Amino acid translation of the v_sequence_alignment field.
3807 d_sequence_alignment:
3808 type: string
3809 description: >
3810 Aligned portion of query sequence assigned to the first or only D gene, including any
3811 indel corrections or numbering spacers.
3812 d_sequence_alignment_aa:
3813 type: string
3814 description: >
3815 Amino acid translation of the d_sequence_alignment field.
3816 d2_sequence_alignment:
3817 type: string
3818 description: >
3819 Aligned portion of query sequence assigned to the second D gene, including any
3820 indel corrections or numbering spacers.
3821 d2_sequence_alignment_aa:
3822 type: string
3823 description: >
3824 Amino acid translation of the d2_sequence_alignment field.
3825 j_sequence_alignment:
3826 type: string
3827 description: >
3828 Aligned portion of query sequence assigned to the J gene, including any
3829 indel corrections or numbering spacers.
3830 j_sequence_alignment_aa:
3831 type: string
3832 description: >
3833 Amino acid translation of the j_sequence_alignment field.
3834 c_sequence_alignment:
3835 type: string
3836 description: >
3837 Aligned portion of query sequence assigned to the constant region, including
3838 any indel corrections or numbering spacers.
3839 c_sequence_alignment_aa:
3840 type: string
3841 description: >
3842 Amino acid translation of the c_sequence_alignment field.
3843 v_germline_alignment:
3844 type: string
3845 description: >
3846 Aligned V gene germline sequence spanning the same region
3847 as the v_sequence_alignment field and including the same set
3848 of corrections and spacers (if any).
3849 v_germline_alignment_aa:
3850 type: string
3851 description: >
3852 Amino acid translation of the v_germline_alignment field.
3853 d_germline_alignment:
3854 type: string
3855 description: >
3856 Aligned D gene germline sequence spanning the same region
3857 as the d_sequence_alignment field and including the same set
3858 of corrections and spacers (if any).
3859 d_germline_alignment_aa:
3860 type: string
3861 description: >
3862 Amino acid translation of the d_germline_alignment field.
3863 d2_germline_alignment:
3864 type: string
3865 description: >
3866 Aligned D gene germline sequence spanning the same region
3867 as the d2_sequence_alignment field and including the same set
3868 of corrections and spacers (if any).
3869 d2_germline_alignment_aa:
3870 type: string
3871 description: >
3872 Amino acid translation of the d2_germline_alignment field.
3873 j_germline_alignment:
3874 type: string
3875 description: >
3876 Aligned J gene germline sequence spanning the same region
3877 as the j_sequence_alignment field and including the same set
3878 of corrections and spacers (if any).
3879 j_germline_alignment_aa:
3880 type: string
3881 description: >
3882 Amino acid translation of the j_germline_alignment field.
3883 c_germline_alignment:
3884 type: string
3885 description: >
3886 Aligned constant region germline sequence spanning the same region
3887 as the c_sequence_alignment field and including the same set
3888 of corrections and spacers (if any).
3889 c_germline_alignment_aa:
3890 type: string
3891 description: >
3892 Amino acid translation of the c_germline_aligment field.
3893 junction_length:
3894 type: integer
3895 description: Number of nucleotides in the junction sequence.
3896 junction_aa_length:
3897 type: integer
3898 description: Number of amino acids in the junction sequence.
3899 x-airr:
3900 adc-query-support: true
3901 np1_length:
3902 type: integer
3903 description: >
3904 Number of nucleotides between the V gene and first D gene alignments or
3905 between the V gene and J gene alignments.
3906 np2_length:
3907 type: integer
3908 description: >
3909 Number of nucleotides between either the first D gene and J gene alignments
3910 or the first D gene and second D gene alignments.
3911 np3_length:
3912 type: integer
3913 description: >
3914 Number of nucleotides between the second D gene and J gene alignments.
3915 n1_length:
3916 type: integer
3917 description: Number of untemplated nucleotides 5' of the first or only D gene alignment.
3918 n2_length:
3919 type: integer
3920 description: Number of untemplated nucleotides 3' of the first or only D gene alignment.
3921 n3_length:
3922 type: integer
3923 description: Number of untemplated nucleotides 3' of the second D gene alignment.
3924 p3v_length:
3925 type: integer
3926 description: Number of palindromic nucleotides 3' of the V gene alignment.
3927 p5d_length:
3928 type: integer
3929 description: Number of palindromic nucleotides 5' of the first or only D gene alignment.
3930 p3d_length:
3931 type: integer
3932 description: Number of palindromic nucleotides 3' of the first or only D gene alignment.
3933 p5d2_length:
3934 type: integer
3935 description: Number of palindromic nucleotides 5' of the second D gene alignment.
3936 p3d2_length:
3937 type: integer
3938 description: Number of palindromic nucleotides 3' of the second D gene alignment.
3939 p5j_length:
3940 type: integer
3941 description: Number of palindromic nucleotides 5' of the J gene alignment.
3942 v_frameshift:
3943 type: boolean
3944 description: >
3945 True if the V gene in the query nucleotide sequence contains a translational
3946 frameshift relative to the frame of the V gene reference sequence.
3947 j_frameshift:
3948 type: boolean
3949 description: >
3950 True if the J gene in the query nucleotide sequence contains a translational
3951 frameshift relative to the frame of the J gene reference sequence.
3952 d_frame:
3953 type: integer
3954 description: >
3955 Numerical reading frame (1, 2, 3) of the first or only D gene in the query nucleotide sequence,
3956 where frame 1 is relative to the first codon of D gene reference sequence.
3957 d2_frame:
3958 type: integer
3959 description: >
3960 Numerical reading frame (1, 2, 3) of the second D gene in the query nucleotide sequence,
3961 where frame 1 is relative to the first codon of D gene reference sequence.
3962 consensus_count:
3963 type: integer
3964 description: >
3965 Number of reads contributing to the UMI consensus or contig assembly for this sequence.
3966 For example, the sum of the number of reads for all UMIs that contribute to
3967 the query sequence.
3968 duplicate_count:
3969 type: integer
3970 description: >
3971 Copy number or number of duplicate observations for the query sequence.
3972 For example, the number of identical reads observed for this sequence.
3973 title: Read count
3974 example: 123
3975 x-airr:
3976 miairr: important
3977 nullable: true
3978 set: 6
3979 subset: data (processed sequence)
3980 name: Read count
3981 umi_count:
3982 type: integer
3983 description: >
3984 Number of distinct UMIs represented by this sequence.
3985 For example, the total number of UMIs that contribute to
3986 the contig assembly for the query sequence.
3987 cell_id:
3988 type: string
3989 description: >
3990 Identifier defining the cell of origin for the query sequence.
3991 title: Cell index
3992 example: W06_046_091
3993 x-airr:
3994 miairr: important
3995 nullable: true
3996 adc-query-support: true
3997 identifier: true
3998 set: 6
3999 subset: data (processed sequence)
4000 name: Cell index
4001 clone_id:
4002 type: string
4003 description: Clonal cluster assignment for the query sequence.
4004 x-airr:
4005 nullable: true
4006 adc-query-support: true
4007 identifier: true
4008 repertoire_id:
4009 type: string
4010 description: Identifier to the associated repertoire in study metadata.
4011 x-airr:
4012 nullable: true
4013 adc-query-support: true
4014 identifier: true
4015 sample_processing_id:
4016 type: string
4017 description: >
4018 Identifier to the sample processing object in the repertoire metadata
4019 for this rearrangement. If the repertoire has a single sample then
4020 this field may be empty or missing. If the repertoire has multiple samples then
4021 this field may be empty or missing if the sample cannot be differentiated or
4022 the relationship is not maintained by the data processing.
4023 x-airr:
4024 nullable: true
4025 adc-query-support: true
4026 identifier: true
4027 data_processing_id:
4028 type: string
4029 description: >
4030 Identifier to the data processing object in the repertoire metadata
4031 for this rearrangement. If this field is empty than the primary data processing object is assumed.
4032 x-airr:
4033 nullable: true
4034 adc-query-support: true
4035 identifier: true
4036 rearrangement_id:
4037 type: string
4038 description: >
4039 Identifier for the Rearrangement object. May be identical to sequence_id,
4040 but will usually be a universally unique record locator for database applications.
4041 x-airr:
4042 deprecated: true
4043 deprecated-description: Field has been merged with sequence_id to avoid confusion.
4044 deprecated-replaced-by:
4045 - sequence_id
4046 rearrangement_set_id:
4047 type: string
4048 description: >
4049 Identifier for grouping Rearrangement objects.
4050 x-airr:
4051 deprecated: true
4052 deprecated-description: Field has been replaced by other specialized identifiers.
4053 deprecated-replaced-by:
4054 - repertoire_id
4055 - sample_processing_id
4056 - data_processing_id
4057 germline_database:
4058 type: string
4059 description: Source of germline V(D)J genes with version number or date accessed.
4060 example: ENSEMBL, Homo sapiens build 90, 2017-10-01
4061 x-airr:
4062 deprecated: true
4063 deprecated-description: Field was moved up to the DataProcessing level to avoid data duplication.
4064 deprecated-replaced-by:
4065 - "DataProcessing:germline_database"
4066
4067 # A unique inferred clone object that has been constructed within a single data processing
4068 # for a single repertoire and a subset of its sequences and/or rearrangements.
4069 Clone:
4070 type: object
4071 required:
4072 - clone_id
4073 - germline_alignment
4074 properties:
4075 clone_id:
4076 type: string
4077 description: Identifier for the clone.
4078 x-airr:
4079 identifier: true
4080 repertoire_id:
4081 type: string
4082 description: Identifier to the associated repertoire in study metadata.
4083 x-airr:
4084 nullable: true
4085 adc-query-support: true
4086 data_processing_id:
4087 type: string
4088 description: Identifier of the data processing object in the repertoire metadata for this clone.
4089 x-airr:
4090 nullable: true
4091 adc-query-support: true
4092 sequences:
4093 type: array
4094 items:
4095 type: string
4096 description: >
4097 List sequence_id strings that act as keys to the Rearrangement records for members of the clone.
4098 v_call:
4099 type: string
4100 description: >
4101 V gene with allele of the inferred ancestral of the clone. For example, IGHV4-59*01.
4102 example: IGHV4-59*01
4103 d_call:
4104 type: string
4105 description: >
4106 D gene with allele of the inferred ancestor of the clone. For example, IGHD3-10*01.
4107 example: IGHD3-10*01
4108 j_call:
4109 type: string
4110 description: >
4111 J gene with allele of the inferred ancestor of the clone. For example, IGHJ4*02.
4112 example: IGHJ4*02
4113 junction:
4114 type: string
4115 description: >
4116 Nucleotide sequence for the junction region of the inferred ancestor of the clone,
4117 where the junction is defined as the CDR3 plus the two flanking conserved codons.
4118 junction_aa:
4119 type: string
4120 description: >
4121 Amino acid translation of the junction.
4122 junction_length:
4123 type: integer
4124 description: Number of nucleotides in the junction.
4125 junction_aa_length:
4126 type: integer
4127 description: Number of amino acids in junction_aa.
4128 germline_alignment:
4129 type: string
4130 description: >
4131 Assembled, aligned, full-length inferred ancestor of the clone spanning the same region
4132 as the sequence_alignment field of nodes (typically the V(D)J region) and including the
4133 same set of corrections and spacers (if any).
4134 germline_alignment_aa:
4135 type: string
4136 description: >
4137 Amino acid translation of germline_alignment.
4138 v_alignment_start:
4139 type: integer
4140 description: >
4141 Start position in the V gene alignment in both the sequence_alignment and germline_alignment
4142 fields (1-based closed interval).
4143 v_alignment_end:
4144 type: integer
4145 description: >
4146 End position in the V gene alignment in both the sequence_alignment and germline_alignment
4147 fields (1-based closed interval).
4148 d_alignment_start:
4149 type: integer
4150 description: >
4151 Start position of the D gene alignment in both the sequence_alignment and germline_alignment
4152 fields (1-based closed interval).
4153 d_alignment_end:
4154 type: integer
4155 description: >
4156 End position of the D gene alignment in both the sequence_alignment and germline_alignment
4157 fields (1-based closed interval).
4158 j_alignment_start:
4159 type: integer
4160 description: >
4161 Start position of the J gene alignment in both the sequence_alignment and germline_alignment
4162 fields (1-based closed interval).
4163 j_alignment_end:
4164 type: integer
4165 description: >
4166 End position of the J gene alignment in both the sequence_alignment and germline_alignment
4167 fields (1-based closed interval).
4168 junction_start:
4169 type: integer
4170 description: Junction region start position in the alignment (1-based closed interval).
4171 junction_end:
4172 type: integer
4173 description: Junction region end position in the alignment (1-based closed interval).
4174 umi_count:
4175 type: integer
4176 description: >
4177 Number of distinct UMIs observed across all sequences (Rearrangement records) in this clone.
4178 clone_count:
4179 type: integer
4180 description: >
4181 Absolute count of the size (number of members) of this clone in the repertoire.
4182 This could simply be the number of sequences (Rearrangement records) observed in this clone,
4183 the number of distinct cell barcodes (unique cell_id values),
4184 or a more sophisticated calculation appropriate to the experimental protocol.
4185 Absolute count is provided versus a frequency so that downstream analysis tools can perform their own normalization.
4186 seed_id:
4187 type: string
4188 description: sequence_id of the seed sequence. Empty string (or null) if there is no seed sequence.
4189
4190 # 1-to-n relationship for a clone to its trees.
4191 Tree:
4192 type: object
4193 required:
4194 - tree_id
4195 - clone_id
4196 - newick
4197 properties:
4198 tree_id:
4199 type: string
4200 description: Identifier for the tree.
4201 x-airr:
4202 identifier: true
4203 clone_id:
4204 type: string
4205 description: Identifier for the clone.
4206 newick:
4207 type: string
4208 description: Newick string of the tree edges.
4209 nodes:
4210 type: object
4211 description: Dictionary of nodes in the tree, keyed by sequence_id string
4212 additionalProperties:
4213 $ref: '#/Node'
4214
4215 # 1-to-n relationship between a tree and its nodes
4216 Node:
4217 type: object
4218 required:
4219 - sequence_id
4220 properties:
4221 sequence_id:
4222 type: string
4223 description: >
4224 Identifier for this node that matches the identifier in the newick string and, where possible,
4225 the sequence_id in the source repertoire.
4226 x-airr:
4227 identifier: true
4228 sequence_alignment:
4229 type: string
4230 description: >
4231 Nucleotide sequence of the node, aligned to the germline_alignment for this clone, including
4232 including any indel corrections or spacers.
4233 junction:
4234 type: string
4235 description: >
4236 Junction region nucleotide sequence for the node, where the junction is defined as
4237 the CDR3 plus the two flanking conserved codons.
4238 junction_aa:
4239 type: string
4240 description: >
4241 Amino acid translation of the junction.
4242
4243 # The cell object acts as point of reference for all data that can be related
4244 # to an individual cell, either by direct observation or inference.
4245 Cell:
4246 type: object
4247 required:
4248 - cell_id
4249 - rearrangements
4250 - repertoire_id
4251 - virtual_pairing
4252 properties:
4253 cell_id:
4254 type: string
4255 description: >
4256 Identifier defining the cell of origin for the query sequence.
4257 title: Cell index
4258 example: W06_046_091
4259 x-airr:
4260 identifier: true
4261 miairr: defined
4262 nullable: false
4263 adc-query-support: true
4264 name: Cell index
4265 rearrangements:
4266 type: array
4267 description: >
4268 Array of sequence identifiers defined for the Rearrangement object
4269 title: Cell-associated rearrangements
4270 items:
4271 type: string
4272 example: [id1, id2] #empty vs NULL?
4273 x-airr:
4274 miairr: defined
4275 nullable: true
4276 adc-query-support: true
4277 name: Cell-associated rearrangements
4278 receptors:
4279 type: array
4280 description: >
4281 Array of receptor identifiers defined for the Receptor object
4282 title: Cell-associated receptors
4283 items:
4284 type: string
4285 example: [id1, id2] #empty vs NULL?
4286 x-airr:
4287 miairr: defined
4288 nullable: true
4289 adc-query-support: true
4290 name: Cell-associated receptors
4291 repertoire_id:
4292 type: string
4293 description: Identifier to the associated repertoire in study metadata.
4294 title: Parental repertoire of cell
4295 x-airr:
4296 miairr: defined
4297 nullable: true
4298 adc-query-support: true
4299 name: Parental repertoire of cell
4300 data_processing_id:
4301 type: string
4302 description: Identifier of the data processing object in the repertoire metadata for this clone.
4303 title: Data processing for cell
4304 x-airr:
4305 miairr: defined
4306 nullable: true
4307 adc-query-support: true
4308 name: Data processing for cell
4309 expression_study_method:
4310 type: string
4311 enum:
4312 - flow_cytometry
4313 - single-cell_transcriptome
4314 - null
4315 description: >
4316 Keyword describing the methodology used to assess expression. This values for this field MUST
4317 come from a controlled vocabulary.
4318 x-airr:
4319 miairr: defined
4320 nullable: true
4321 adc-query-support: true
4322 expression_raw_doi:
4323 type: string
4324 description: >
4325 DOI of raw data set containing the current event
4326 x-airr:
4327 miairr: defined
4328 nullable: true
4329 adc-query-support: true
4330 expression_index:
4331 type: string
4332 description: >
4333 Index addressing the current event within the raw data set.
4334 x-airr:
4335 miairr: defined
4336 nullable: true
4337 virtual_pairing:
4338 type: boolean
4339 description: >
4340 boolean to indicate if pairing was inferred.
4341 title: Virtual pairing
4342 x-airr:
4343 miairr: defined
4344 nullable: true
4345 adc-query-support: true
4346 name: Virtual pairing
4347
4348 # The CellExpression object acts as a container to hold a single expression level measurement from
4349 # an experiment. Expression data is associated with a cell_id and the related repertoire_id and
4350 # data_processing_id as cell_id is not guaranteed to be unique outside the data processing for
4351 # a single repertoire.
4352 CellExpression:
4353 type: object
4354 required:
4355 - expression_id
4356 - repertoire_id
4357 - data_processing_id
4358 - cell_id
4359 - property
4360 - property_type
4361 - value
4362 properties:
4363 expression_id:
4364 type: string
4365 description: >
4366 Identifier of this expression property measurement.
4367 title: Expression property measurement identifier
4368 x-airr:
4369 identifier: true
4370 miairr: defined
4371 nullable: false
4372 adc-query-support: true
4373 name: Expression measurement identifier
4374 cell_id:
4375 type: string
4376 description: >
4377 Identifier of the cell to which this expression data is related.
4378 title: Cell identifier
4379 example: W06_046_091
4380 x-airr:
4381 miairr: defined
4382 nullable: false
4383 adc-query-support: true
4384 name: Cell identifier
4385 repertoire_id:
4386 type: string
4387 description: Identifier for the associated repertoire in study metadata.
4388 title: Parental repertoire of cell
4389 x-airr:
4390 miairr: defined
4391 nullable: true
4392 adc-query-support: true
4393 name: Parental repertoire of cell
4394 data_processing_id:
4395 type: string
4396 description: Identifier of the data processing object in the repertoire metadata for this clone.
4397 title: Data processing for cell
4398 x-airr:
4399 miairr: defined
4400 nullable: true
4401 adc-query-support: true
4402 name: Data processing for cell
4403 property_type:
4404 type: string
4405 description: >
4406 Keyword describing the property type and detection method used to measure the property value.
4407 The following keywords are recommended, but custom property types are also valid:
4408 "mrna_expression_by_read_count",
4409 "protein_expression_by_fluorescence_intensity", "antigen_bait_binding_by_fluorescence_intensity",
4410 "protein_expression_by_dna_barcode_count" and "antigen_bait_binding_by_dna_barcode_count".
4411 title: Property type and detection method
4412 x-airr:
4413 miairr: defined
4414 nullable: false
4415 adc-query-support: true
4416 name: Property type and detection method
4417 property:
4418 $ref: '#/Ontology'
4419 title: Property information
4420 description: >
4421 Name of the property observed, typically a gene or antibody identifier (and label) from a
4422 canonical resource such as Ensembl (e.g. ENSG00000275747, IGHV3-79) or
4423 Antibody Registry (ABREG:1236456, Purified anti-mouse/rat/human CD27 antibody).
4424 example:
4425 id: ENSG:ENSG00000275747
4426 label: IGHV3-79
4427 x-airr:
4428 miairr: defined
4429 adc-query-support: true
4430 format: ontology
4431 name: Property information
4432 value:
4433 type: number
4434 description: Level at which the property was observed in the experiment (non-normalized).
4435 title: Property value
4436 example: 3
4437 x-airr:
4438 miairr: defined
4439 nullable: true
4440 adc-query-support: true
4441 name: Property value
4442
4443
4444 # The Receptor object hold information about a receptor and its reactivity.
4445 #
4446 Receptor:
4447 type: object
4448 required:
4449 - receptor_id
4450 - receptor_hash
4451 - receptor_type
4452 - receptor_variable_domain_1_aa
4453 - receptor_variable_domain_1_locus
4454 - receptor_variable_domain_2_aa
4455 - receptor_variable_domain_2_locus
4456 properties:
4457 receptor_id:
4458 type: string
4459 description: ID of the current Receptor object, unique within the local repository.
4460 title: Receptor ID
4461 example: TCR-MM-012345
4462 x-airr:
4463 identifier: true
4464 nullable: false
4465 adc-query-support: true
4466 receptor_hash:
4467 type: string
4468 description: >
4469 The SHA256 hash of the receptor amino acid sequence, calculated on the concatenated
4470 ``receptor_variable_domain_*_aa`` sequences and represented as base16-encoded string.
4471 title: Receptor hash ID
4472 example: aa1c4b77a6f4927611ab39f5267415beaa0ba07a952c233d803b07e52261f026
4473 x-airr:
4474 nullable: false
4475 adc-query-support: true
4476 receptor_type:
4477 type: string
4478 enum:
4479 - Ig
4480 - TCR
4481 description: The top-level receptor type, either Immunoglobulin (Ig) or T Cell Receptor (TCR).
4482 x-airr:
4483 nullable: false
4484 adc-query-support: true
4485 receptor_variable_domain_1_aa:
4486 type: string
4487 description: >
4488 Complete amino acid sequence of the mature variable domain of the Ig heavy, TCR beta or TCR delta chain.
4489 The mature variable domain is defined as encompassing all AA from and including first AA after the the
4490 signal peptide to and including the last AA that is completely encoded by the J gene.
4491 example: >
4492 QVQLQQPGAELVKPGASVKLSCKASGYTFTSYWMHWVKQRPGRGLEWIGRIDPNSGGTKYNEKFKSKATLTVDKPSSTAYMQLSSLTSEDSAVYYCARYDYYGSSYFDYWGQGTTLTVSS
4493 x-airr:
4494 nullable: false
4495 adc-query-support: true
4496 receptor_variable_domain_1_locus:
4497 type: string
4498 enum:
4499 - IGH
4500 - TRB
4501 - TRD
4502 description: Locus from which the variable domain in receptor_variable_domain_1_aa originates
4503 example: IGH
4504 x-airr:
4505 nullable: false
4506 adc-query-support: true
4507 receptor_variable_domain_2_aa:
4508 type: string
4509 description: >
4510 Complete amino acid sequence of the mature variable domain of the Ig light, TCR alpha or TCR gamma chain.
4511 The mature variable domain is defined as encompassing all AA from and including first AA after the the
4512 signal peptide to and including the last AA that is completely encoded by the J gene.
4513 example: >
4514 QAVVTQESALTTSPGETVTLTCRSSTGAVTTSNYANWVQEKPDHLFTGLIGGTNNRAPGVPARFSGSLIGDKAALTITGAQTEDEAIYFCALWYSNHWVFGGGTKLTVL
4515 x-airr:
4516 nullable: false
4517 adc-query-support: true
4518 receptor_variable_domain_2_locus:
4519 type: string
4520 enum:
4521 - IGI
4522 - IGK
4523 - IGL
4524 - TRA
4525 - TRG
4526 description: Locus from which the variable domain in receptor_variable_domain_2_aa originates
4527 example: IGL
4528 x-airr:
4529 nullable: false
4530 adc-query-support: true
4531 receptor_ref:
4532 type: array
4533 description: Array of receptor identifiers defined for the Receptor object
4534 title: Receptor cross-references
4535 items:
4536 type: string
4537 example: ["IEDB_RECEPTOR:10"]
4538 x-airr:
4539 nullable: true
4540 adc-query-support: true
4541 reactivity_measurements:
4542 type: array
4543 description: Records of reactivity measurement
4544 items:
4545 $ref: '#/ReceptorReactivity'
4546 x-airr:
4547 nullable: true
4548
4549
4550 ReceptorReactivity:
4551 type: object
4552 required:
4553 - ligand_type
4554 - antigen_type
4555 - antigen
4556 - reactivity_method
4557 - reactivity_readout
4558 - reactivity_value
4559 - reactivity_unit
4560 properties:
4561 ligand_type:
4562 type: string
4563 enum:
4564 - "MHC:peptide"
4565 - "MHC:non-peptide"
4566 - protein
4567 - peptide
4568 - non-peptidic
4569 description: Classification of ligand binding to receptor
4570 example: non-peptide
4571 x-airr:
4572 nullable: false
4573 antigen_type:
4574 type: string
4575 enum:
4576 - protein
4577 - peptide
4578 - non-peptidic
4579 description: >
4580 The type of antigen before processing by the immune system.
4581 example: protein
4582 x-airr:
4583 nullable: false
4584 antigen:
4585 $ref: '#/Ontology'
4586 description: >
4587 The substance against which the receptor was tested. This can be any substance that
4588 stimulates an adaptive immune response in the host, either through antibody production
4589 or by T cell activation after presentation via an MHC molecule.
4590 title: Antigen
4591 example:
4592 id: UNIPROT:P19597
4593 label: Circumsporozoite protein
4594 x-airr:
4595 nullable: false
4596 adc-query-support: true
4597 format: ontology
4598 antigen_source_species:
4599 $ref: '#/Ontology'
4600 description: The species from which the antigen was isolated
4601 title: Source species of antigen
4602 example:
4603 id: NCBITAXON:5843
4604 label: Plasmodium falciparum NF54
4605 x-airr:
4606 nullable: true
4607 format: ontology
4608 ontology:
4609 draft: true
4610 top_node:
4611 id: NCBITAXON:1
4612 label: root
4613 peptide_start:
4614 type: integer
4615 description: Start position of the peptide within the reference protein sequence
4616 x-airr:
4617 nullable: true
4618 peptide_end:
4619 type: integer
4620 description: End position of the peptide within the reference protein sequence
4621 x-airr:
4622 nullable: true
4623 mhc_class:
4624 type: string
4625 enum:
4626 - MHC-I
4627 - MHC-II
4628 - MHC-nonclassical
4629 - null
4630 description: Class of MHC molecule, only present for MHC:x ligand types
4631 example: MHC-II
4632 x-airr:
4633 nullable: true
4634 mhc_gene_1:
4635 $ref: '#/Ontology'
4636 description: The MHC gene to which the mhc_allele_1 belongs
4637 title: MHC gene 1
4638 example:
4639 id: MRO:0000055
4640 label: HLA-DRA
4641 x-airr:
4642 nullable: true
4643 format: ontology
4644 ontology:
4645 draft: true
4646 top_node:
4647 id: MRO:0000004
4648 label: MHC gene
4649 mhc_allele_1:
4650 type: string
4651 description: Allele designation of the MHC alpha chain
4652 example: HLA-DRA
4653 x-airr:
4654 nullable: true
4655 mhc_gene_2:
4656 $ref: '#/Ontology'
4657 description: The MHC gene to which the mhc_allele_2 belongs
4658 title: MHC gene 2
4659 example:
4660 id: MRO:0000057
4661 label: HLA-DRB1
4662 x-airr:
4663 nullable: true
4664 format: ontology
4665 ontology:
4666 draft: true
4667 top_node:
4668 id: MRO:0000004
4669 label: MHC gene
4670 mhc_allele_2:
4671 type: string
4672 description: >
4673 Allele designation of the MHC class II beta chain or the invariant beta2-microglobin chain
4674 example: HLA-DRB1*04:01
4675 x-airr:
4676 nullable: true
4677 reactivity_method:
4678 type: string
4679 enum:
4680 - SPR
4681 - ITC
4682 - ELISA
4683 - cytometry
4684 - biological_activity
4685 description: The methodology used to assess expression (assay implemented in experiment)
4686 x-airr:
4687 nullable: false
4688 reactivity_readout:
4689 type: string
4690 enum:
4691 - binding_strength
4692 - cytokine_release
4693 - dissociation_constant_kd
4694 - on_rate
4695 - off_rate
4696 - pathogen_inhibition
4697 description: Reactivity measurement read-out
4698 example: cytokine release
4699 x-airr:
4700 nullable: false
4701 reactivity_value:
4702 type: number
4703 description: The absolute (processed) value of the measurement
4704 example: 162.26
4705 x-airr:
4706 nullable: false
4707 reactivity_unit:
4708 type: string
4709 description: The unit of the measurement
4710 example: pg/ml
4711 x-airr:
4712 nullable: false