Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
/**
* Autogenerated by Avro
*
* DO NOT EDIT DIRECTLY
*/
package org.gel.models.report.avro;
@SuppressWarnings("all")
/** A interpreted genome for the rare disease program. This holds the list of candidate variants reported by an
interpretation service together with all the relevant information that identify the case and how these conclusions were reached. */
@org.apache.avro.specific.AvroGenerated
public class InterpretedGenome extends org.apache.avro.specific.SpecificRecordBase implements org.apache.avro.specific.SpecificRecord {
public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"record\",\"name\":\"InterpretedGenome\",\"namespace\":\"org.gel.models.report.avro\",\"doc\":\"A interpreted genome for the rare disease program. This holds the list of candidate variants reported by an\\n interpretation service together with all the relevant information that identify the case and how these conclusions were reached.\",\"fields\":[{\"name\":\"versionControl\",\"type\":{\"type\":\"record\",\"name\":\"ReportVersionControl\",\"fields\":[{\"name\":\"gitVersionControl\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"This is the version for the entire set of data models as referred to the Git release tag\",\"default\":\"6.1.1\"}]},\"doc\":\"Model version number\"},{\"name\":\"interpretationRequestId\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"Identifier for this interpretation request\"},{\"name\":\"interpretationRequestVersion\",\"type\":\"int\",\"doc\":\"Version for this interpretation request\"},{\"name\":\"interpretationService\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"Name of the interpretation service\"},{\"name\":\"reportUrl\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"URL where the results can be accessed in the company's web interface\"},{\"name\":\"variants\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"record\",\"name\":\"SmallVariant\",\"doc\":\"A reported variant\",\"fields\":[{\"name\":\"variantCoordinates\",\"type\":{\"type\":\"record\",\"name\":\"VariantCoordinates\",\"doc\":\"The variant coordinates representing uniquely a small variant.\\n No multi-allelic variant supported, alternate only represents one alternate allele.\",\"fields\":[{\"name\":\"chromosome\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"Chromosome without \\\"chr\\\" prefix (e.g. X rather than chrX)\"},{\"name\":\"position\",\"type\":\"int\",\"doc\":\"Genomic position\"},{\"name\":\"reference\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"The reference bases.\"},{\"name\":\"alternate\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"The alternate bases\"},{\"name\":\"assembly\",\"type\":{\"type\":\"enum\",\"name\":\"Assembly\",\"doc\":\"The reference genome assembly\",\"symbols\":[\"GRCh38\",\"GRCh37\"]},\"doc\":\"The assembly to which this variant corresponds\"}]},\"doc\":\"The variant coordinates. Chromosome is either 1-22, X, Y, MT or any other contif in the reference genome,\\n no \\\"chr\\\" prefix is expected. Position is 1- based. Reference and alternate should never be empty or any\\n character representing emptiness (e.g.: . or -), a VCF-like indel representation is expected.\"},{\"name\":\"variantCalls\",\"type\":{\"type\":\"array\",\"items\":{\"type\":\"record\",\"name\":\"VariantCall\",\"doc\":\"This is intended to hold the genotypes for the family members. This assumes that varinats have been split before.\\n In principle it is a phased zygosity as in VCF spec and called by the analysis provider if further phasing is conducted\",\"fields\":[{\"name\":\"participantId\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"Participant id\"},{\"name\":\"sampleId\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"Sample Id\"},{\"name\":\"zygosity\",\"type\":{\"type\":\"enum\",\"name\":\"Zygosity\",\"doc\":\"It is a representation of the zygosity\\n\\n* `reference_homozygous`: 0/0, 0|0\\n* `heterozygous`: 0/1, 1/0, 1|0, 0|1\\n* `alternate_homozygous`: 1/1, 1|1\\n* `missing`: ./., .|.\\n* `half_missing_reference`: ./0, 0/., 0|., .|0\\n* `half_missing_alternate`: ./1, 1/., 1|., .|1\\n* `alternate_hemizigous`: 1\\n* `reference_hemizigous`: 0\\n* `unk`: Anything unexpected\",\"symbols\":[\"reference_homozygous\",\"heterozygous\",\"alternate_homozygous\",\"missing\",\"half_missing_reference\",\"half_missing_alternate\",\"alternate_hemizigous\",\"reference_hemizigous\",\"unk\",\"na\"]},\"doc\":\"Zygosity. For somatic variants, or variants without zygosity use `na`\"},{\"name\":\"phaseGenotype\",\"type\":[\"null\",{\"type\":\"record\",\"name\":\"PhaseGenotype\",\"fields\":[{\"name\":\"sortedAlleles\",\"type\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}},{\"name\":\"phaseSet\",\"type\":\"int\"}]}],\"doc\":\"phase alleles for those in phase\"},{\"name\":\"sampleVariantAlleleFrequency\",\"type\":[\"null\",\"double\"],\"doc\":\"Sample Variant Allele Frequency\"},{\"name\":\"depthReference\",\"type\":[\"null\",\"int\"],\"doc\":\"Depth for Reference Allele\"},{\"name\":\"depthAlternate\",\"type\":[\"null\",\"int\"],\"doc\":\"Depth for Alternate Allele\"},{\"name\":\"numberOfCopies\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"record\",\"name\":\"NumberOfCopies\",\"fields\":[{\"name\":\"numberOfCopies\",\"type\":\"int\",\"doc\":\"Number of copies given by the caller in one of the allele\"},{\"name\":\"confidenceIntervalMaximum\",\"type\":[\"null\",\"int\"]},{\"name\":\"confidenceIntervalMinimum\",\"type\":[\"null\",\"int\"]}]}}],\"doc\":\"Alleles for copy number variation - add doc\"},{\"name\":\"alleleOrigins\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"enum\",\"name\":\"AlleleOrigin\",\"doc\":\"Allele origin.\\n\\n* `SO_0001781`: de novo variant. http://purl.obolibrary.org/obo/SO_0001781\\n* `SO_0001778`: germline variant. http://purl.obolibrary.org/obo/SO_0001778\\n* `SO_0001775`: maternal variant. http://purl.obolibrary.org/obo/SO_0001775\\n* `SO_0001776`: paternal variant. http://purl.obolibrary.org/obo/SO_0001776\\n* `SO_0001779`: pedigree specific variant. http://purl.obolibrary.org/obo/SO_0001779\\n* `SO_0001780`: population specific variant. http://purl.obolibrary.org/obo/SO_0001780\\n* `SO_0001777`: somatic variant. http://purl.obolibrary.org/obo/SO_0001777\",\"symbols\":[\"de_novo_variant\",\"germline_variant\",\"maternal_variant\",\"paternal_variant\",\"pedigree_specific_variant\",\"population_specific_variant\",\"somatic_variant\"]}}],\"doc\":\"Describe whether this is a somatic or Germline variant\"},{\"name\":\"supportingReadTypes\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"enum\",\"name\":\"SupportingReadType\",\"symbols\":[\"spanning\",\"flanking\",\"inrepeat\"]}}]}]}},\"doc\":\"List of variant calls across all samples under analysis for this variant\"},{\"name\":\"reportEvents\",\"type\":{\"type\":\"array\",\"items\":{\"type\":\"record\",\"name\":\"ReportEvent\",\"doc\":\"A report event holds all the information about why a given variant is relevant to report. The same variant may have\\n several report events. For instance, we may have two report events from the tiering process when two panels are\\n analysed, a positive report from a Genomic Medicine Centre (GMC) will correspond to an additional report event.\",\"fields\":[{\"name\":\"reportEventId\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"Unique identifier for each report event, this is unique across the whole report. A report having more than one\\n report event with the same identifier is invalid. Repeating report event identifiers between different reports\\n is valid. The uniqueness of this field will be checked in report validation\"},{\"name\":\"phenotypes\",\"type\":{\"type\":\"record\",\"name\":\"Phenotypes\",\"doc\":\"Oontology term based on the OBO format (see an example here http://snapshot.geneontology.org/ontology/go-basic.obo)\",\"fields\":[{\"name\":\"nonStandardPhenotype\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}],\"doc\":\"The non standardised phenotypes (i.e.: may be free text)\"},{\"name\":\"standardPhenotypes\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"record\",\"name\":\"StandardPhenotype\",\"doc\":\"Standard phenotype term based on the OBO format (see an example here http://snapshot.geneontology.org/ontology/go-basic.obo)\",\"fields\":[{\"name\":\"id\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"}},{\"name\":\"name\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}]},{\"name\":\"namespace\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}]},{\"name\":\"definition\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}]},{\"name\":\"comment\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}]},{\"name\":\"alternativeIds\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}]},{\"name\":\"synonyms\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}]},{\"name\":\"isA\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}]},{\"name\":\"ontology\",\"type\":{\"type\":\"record\",\"name\":\"Ontology\",\"doc\":\"The ontology to which a standard term belongs\",\"fields\":[{\"name\":\"name\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"}},{\"name\":\"version\",\"type\":{","\"type\":\"string\",\"avro.java.string\":\"String\"}}]},\"doc\":\"The ontology (e.g.: HPO, OMIM, SNOMED CT)\"},{\"name\":\"matchScore\",\"type\":[\"null\",\"float\"],\"doc\":\"The match between the non standard phenotype and this term when in silico\"}]}}],\"doc\":\"The standardised phenotypes (i.e.: controlled terminology)\"}]},\"doc\":\"The list of phenotypes\"},{\"name\":\"variantConsequences\",\"type\":{\"type\":\"array\",\"items\":{\"type\":\"record\",\"name\":\"VariantConsequence\",\"doc\":\"A variant consequence as defined by the Sequence Ontology (SO) (e.g.: id = SO:0001816 ; name = non synonymous)\\n NOTE: this record is equivalent to OpenCB's `ConsequenceType`, but we want to avoid naming collisions\",\"fields\":[{\"name\":\"id\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"The SO term identifier (e.g.: SO:0001816)\"},{\"name\":\"name\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"The SO term name (e.g.: non synonymous)\"}]}},\"doc\":\"Sequence Ontology terms for relevant consequence types for this report event\"},{\"name\":\"genePanel\",\"type\":[\"null\",{\"type\":\"record\",\"name\":\"GenePanel\",\"doc\":\"A panel of genes\",\"fields\":[{\"name\":\"panelIdentifier\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"Panel name used\"},{\"name\":\"panelName\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"Panel name used\"},{\"name\":\"panelVersion\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"Panel version\"},{\"name\":\"source\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"source i.e, PanelApp\"}]}],\"doc\":\"The panel of genes to which this report corresponds\"},{\"name\":\"modeOfInheritance\",\"type\":{\"type\":\"enum\",\"name\":\"ModeOfInheritance\",\"doc\":\"An enumeration for the different mode of inheritances:\\n\\n* `monoallelic_not_imprinted`: MONOALLELIC, autosomal or pseudoautosomal, not imprinted\\n* `monoallelic_maternally_imprinted`: MONOALLELIC, autosomal or pseudoautosomal, maternally imprinted (paternal allele expressed)\\n* `monoallelic_paternally_imprinted`: MONOALLELIC, autosomal or pseudoautosomal, paternally imprinted (maternal allele expressed)\\n* `monoallelic`: MONOALLELIC, autosomal or pseudoautosomal, imprinted status unknown\\n* `biallelic`: BIALLELIC, autosomal or pseudoautosomal\\n* `monoallelic_and_biallelic`: BOTH monoallelic and biallelic, autosomal or pseudoautosomal\\n* `monoallelic_and_more_severe_biallelic`: BOTH monoallelic and biallelic, autosomal or pseudoautosomal (but BIALLELIC mutations cause a more SEVERE disease form), autosomal or pseudoautosomal\\n* `xlinked_biallelic`: X-LINKED: hemizygous mutation in males, biallelic mutations in females\\n* `xlinked_monoallelic`: X linked: hemizygous mutation in males, monoallelic mutations in females may cause disease (may be less severe, later onset than males)\\n* `mitochondrial`: MITOCHONDRIAL\\n* `unknown`: Unknown\",\"symbols\":[\"monoallelic\",\"monoallelic_not_imprinted\",\"monoallelic_maternally_imprinted\",\"monoallelic_paternally_imprinted\",\"biallelic\",\"monoallelic_and_biallelic\",\"monoallelic_and_more_severe_biallelic\",\"xlinked_biallelic\",\"xlinked_monoallelic\",\"mitochondrial\",\"unknown\",\"na\"]},\"doc\":\"Mode of inheritance used to analyse the family\"},{\"name\":\"genomicEntities\",\"type\":{\"type\":\"array\",\"items\":{\"type\":\"record\",\"name\":\"GenomicEntity\",\"doc\":\"A genomic feature\",\"fields\":[{\"name\":\"type\",\"type\":{\"type\":\"enum\",\"name\":\"GenomicEntityType\",\"doc\":\"Types of genomic features:\\n\\n* `regulatory_region`: a regulatory region\\n* `gene`: a gene\\n* `transcript`: a transcript\\n* `intergenic`: an intergenic region\",\"symbols\":[\"regulatory_region\",\"gene\",\"transcript\",\"intergenic\",\"gene_fusion\",\"genomic_region\",\"cytobands\"]},\"doc\":\"The type of the genomic entity\"},{\"name\":\"ensemblId\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"Ensembl identifier for the feature (e.g, ENST00000544455)\"},{\"name\":\"geneSymbol\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"The HGNC gene symbol. This field is optional, BUT it should be filled if possible\"},{\"name\":\"otherIds\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"record\",\"name\":\"Identifier\",\"fields\":[{\"name\":\"source\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"Source i.e, esenmbl\"},{\"name\":\"identifier\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"identifier\"}]}}],\"doc\":\"Others identifiers for this genomic feature\"}]}},\"doc\":\"The list of genomic features of interest for this report event. Please note that one variant can overlap more\\n that one gene/transcript. If more than one gene/transcript is considered interesting for this particular\\n variant, should be reported in two different ReportEvents\"},{\"name\":\"segregationPattern\",\"type\":[\"null\",{\"type\":\"enum\",\"name\":\"SegregationPattern\",\"symbols\":[\"UniparentalIsodisomy\",\"SimpleRecessive\",\"CompoundHeterozygous\",\"deNovo\",\"InheritedAutosomalDominant\",\"InheritedAutosomalDominantMaternallyImprinted\",\"InheritedAutosomalDominantPaternallyImprinted\",\"XLinkedCompoundHeterozygous\",\"XLinkedSimpleRecessive\",\"XLinkedMonoallelic\",\"MitochondrialGenome\"]}],\"doc\":\"Segregation pattern if any calculated using the genotypes information of a family\"},{\"name\":\"penetrance\",\"type\":[\"null\",{\"type\":\"enum\",\"name\":\"Penetrance\",\"namespace\":\"org.gel.models.participant.avro\",\"doc\":\"Penetrance assumed in the analysis\",\"symbols\":[\"complete\",\"incomplete\"]}],\"doc\":\"This is the penetrance assumed for scoring or classifying this variant\"},{\"name\":\"deNovoQualityScore\",\"type\":[\"null\",\"float\"],\"doc\":\"Likelihood of being a de novo variant\"},{\"name\":\"fullyExplainsPhenotype\",\"type\":[\"null\",\"boolean\"],\"doc\":\"Flag to indicate if this variant using this mode of inheritance can fully explain the phenotype\"},{\"name\":\"groupOfVariants\",\"type\":[\"null\",\"int\"],\"doc\":\"This value groups variants that together could explain the phenotype according to the mode of inheritance used.\\n (e.g.: compound heterozygous). All the variants in the same report sharing the same value will be considered in\\n the same group (i.e.: reported together). This value is an integer unique in the whole report.\\n These values are only relevant within the same report.\"},{\"name\":\"eventJustification\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"This is the description of why this variant would be reported, for example that it affects the protein in this way\\n and that this gene has been implicated in this disorder in these publications. Publications should be provided as PMIDs\\n using the format [PMID:8075643]. Other sources can be used in the same manner, e.g. [OMIM:163500]. Brackets need to be included.\"},{\"name\":\"roleInCancer\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"enum\",\"name\":\"RoleInCancer\",\"doc\":\"The role of a given genomic feature in cancer\\n\\n* `NCIT_C16936`: oncogene. A gene that is a mutated (changed) form of a gene involved in normal cell growth. Oncogenes may cause the growth of cancer cells. Mutations in genes that become oncogenes can be inherited or caused by being exposed to substances in the environment that cause cancer. http://purl.obolibrary.org/obo/NCIT_C16936\\n* `NCIT_C17362`: tumor_suppressor_gene. A type of gene that makes a protein called a tumor suppressor protein that helps control cell growth. Mutations (changes in DNA) in antioncogenes may lead to cancer. http://purl.obolibrary.org/obo/NCIT_C17362\",\"symbols\":[\"oncogene\",\"tumor_suppressor_gene\",\"both\"]}}],\"doc\":\"The role of this variant in cancer if any\"},{\"name\":\"actions\",\"type\":[\"null\",{\"type\":\"record\",\"name\":\"Actions\",\"doc\":\"Clinical actions\",\"fields\":[{\"name\":\"trials\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"record\",\"name\":\"Trial\",\"fields\":[{\"name\":\"studyUrl\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"URL where reference information for this trail can be found\"},{\"name\":\"studyIdentifier\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"Trail/Study indetifier\"},{\"name\":\"startDate\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"Start date of the study\"},{\"name\":\"estimateCompletionDate\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"Completion date of the st","udy\"},{\"name\":\"title\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"Title of the study\"},{\"name\":\"phase\",\"type\":[\"null\",{\"type\":\"enum\",\"name\":\"StudyPhase\",\"doc\":\"N/A: Trials without phases (for example, studies of devices or behavioural interventions).\\n Early Phase 1 (Formerly listed as \\\"Phase 0\\\"): Exploratory trials, involving very limited human exposure, with no therapeutic or diagnostic intent (e.g., screening studies, microdose studies). See FDA guidance on exploratory IND studies for more information.\\n Phase 1: Includes initial studies to determine the metabolism and pharmacologic actions of drugs in humans, the side effects associated with increasing doses, and to gain early evidence of effectiveness; may include healthy participants and/or patients.\\n Phase 1/Phase 2: Trials that are a combination of phases 1 and 2.\\n Phase 2: Includes controlled clinical studies conducted to evaluate the effectiveness of the drug for a particular indication or indications in participants with the disease or condition under study and to determine the common short-term side effects and risks.\\n Phase 2/Phase 3: Trials that are a combination of phases 2 and 3.\\n Phase 3: Includes trials conducted after preliminary evidence suggesting effectiveness of the drug has been obtained, and are intended to gather additional information to evaluate the overall benefit-risk relationship of the drug.\\n Phase 4: Studies of FDA-approved drugs to delineate additional information including the drug's risks, benefits, and optimal use.\",\"symbols\":[\"na\",\"early_phase1\",\"phase1\",\"phase1_phase2\",\"phase2\",\"phase2_phase3\",\"phase3\",\"phase4\"]}],\"doc\":\"Study Phase\"},{\"name\":\"interventions\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"record\",\"name\":\"Intervention\",\"doc\":\"A process or action that is the focus of a clinical study.\\n Ref. https://prsinfo.clinicaltrials.gov/definitions.html\",\"fields\":[{\"name\":\"interventionType\",\"type\":{\"type\":\"enum\",\"name\":\"InterventionType\",\"doc\":\"For each intervention studied in the clinical study, the general type of intervention\\n\\n* `drug`: Including placebo\\n* `device`: Including sham\\n* `biological`: Vaccine\\n* `procedure`: Surgery\\n* `radiation`\\n* `behavioral`: For example, psychotherapy, lifestyle counselling\\n* `genetic`: Including gene transfer, stem cell and recombinant DNA\\n* `dietary_supplement`: For example, vitamins, minerals\\n* `combination_product`: Combining a drug and device, a biological product and device; a drug and biological product; or a drug, biological product, and device\\n* `diagnostic_test`: For example, imaging, in-vitro\\n* `other`\\n\\n Ref. https://prsinfo.clinicaltrials.gov/definitions.htm\",\"symbols\":[\"drug\",\"device\",\"procedure\",\"biological\",\"radiation\",\"behavioral\",\"genetic\",\"dietary_supplement\",\"combination_product\",\"diagnostic_test\",\"other\"]},\"doc\":\"Intervention type, i.e drug\"},{\"name\":\"interventionName\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"Intervention name: Placebo\"}]}}],\"doc\":\"Interventions\"},{\"name\":\"conditions\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}],\"doc\":\"Conditions\"},{\"name\":\"primaryPurpose\",\"type\":[\"null\",{\"type\":\"enum\",\"name\":\"PrimaryPurpose\",\"doc\":\"Treatment: One or more interventions are being evaluated for treating a disease, syndrome, or condition.\\n Prevention: One or more interventions are being assessed for preventing the development of a specific disease or health condition.\\n Diagnostic: One or more interventions are being evaluated for identifying a disease or health condition.\\n Supportive Care: One or more interventions are evaluated for maximizing comfort, minimizing side effects, or mitigating against a decline in the participant's health or function.\\n Screening: One or more interventions are assessed or examined for identifying a condition, or risk factors for a condition, in people who are not yet known to have the condition or risk factor.\\n Health Services Research: One or more interventions for evaluating the delivery, processes, management, organization, or financing of healthcare.\\n Basic Science: One or more interventions for examining the basic mechanism of action (for example, physiology or biomechanics of an intervention).\\n Device Feasibility: An intervention of a device product is being evaluated in a small clinical trial (generally fewer than 10 participants) to determine the feasibility of the product; or a clinical trial to test a prototype device for feasibility and not health outcomes. Such studies are conducted to confirm the design and operating specifications of a device before beginning a full clinical trial.\\n Other: None of the other options applies.\\n\\n Ref. https://prsinfo.clinicaltrials.gov/definitions.htm\",\"symbols\":[\"treatment\",\"prevention\",\"diagnostic\",\"supportive_care\",\"screening\",\"health_services_research\",\"basic_science\",\"device_feasibility\",\"other\"]}],\"doc\":\"Primary Purpose of the study\"},{\"name\":\"studyType\",\"type\":[\"null\",{\"type\":\"enum\",\"name\":\"StudyType\",\"doc\":\"* `Interventional (clinical trial)`: Participants are assigned prospectively to an intervention or interventions\\naccording to a protocol to evaluate the effect of the intervention(s) on biomedical or other health related outcomes.\\n* `Observational`: Studies in human beings in which biomedical and/or health outcomes are assessed in pre-defined groups\\nof individuals. Participants in the study may receive diagnostic, therapeutic, or other interventions, but the\\ninvestigator does not assign specific interventions to the study participants. This includes when participants\\nreceive interventions as part of routine medical care, and a researcher studies the effect of the intervention.\\n* `Expanded Access`: An investigational drug product (including biological product)\\navailable through expanded access for patients who do not qualify for enrollment in a clinical trial.\\nExpanded Access includes all expanded access types under section 561 of the Federal Food, Drug, and\\nCosmetic Act: (1) for individual patients, including emergency use; (2) for intermediate-size patient populations;\\nand (3) under a treatment IND or treatment protocol. (For more information on data requirements for this Study Type,\\nsee Expanded Access Data Element Definitions).\",\"symbols\":[\"interventional\",\"observational\",\"patient_registry\",\"expanded_access\"]}],\"doc\":\"Study Type\"},{\"name\":\"demogrphicElegibilityCriteria\",\"type\":[\"null\",{\"type\":\"record\",\"name\":\"DemographicElegibilityCriteria\",\"fields\":[{\"name\":\"sex\",\"type\":{\"type\":\"enum\",\"name\":\"Sex\",\"namespace\":\"org.gel.models.participant.avro\",\"doc\":\"Sex\",\"symbols\":[\"MALE\",\"FEMALE\",\"UNKNOWN\"]}},{\"name\":\"ageRange\",\"type\":[\"null\",{\"type\":\"record\",\"name\":\"AgeRange\",\"fields\":[{\"name\":\"minimumAge\",\"type\":\"int\"},{\"name\":\"maximumAge\",\"type\":\"int\"},{\"name\":\"timeunit\",\"type\":{\"type\":\"enum\",\"name\":\"TimeUnit\",\"symbols\":[\"years\",\"months\",\"weeks\",\"days\",\"hours\",\"minutes\",\"na\"]}}]}]}]}],\"doc\":\"Elegigility Criteria based on Age and Sex\"},{\"name\":\"locations\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"record\",\"name\":\"TrialLocation\",\"fields\":[{\"name\":\"name\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}]},{\"name\":\"city\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}]},{\"name\":\"country\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}]},{\"name\":\"zip\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}]}]}}],\"doc\":\"List with all of the locations where participant can enrolle\"},{\"name\":\"variantActionable\",\"type\":\"boolean\",\"doc\":\"If true, the association was made using the variant information,\\n if not the association was made at Genomic Entity level\"}]}}]},{\"name\":\"prognosis\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"record\",\"name\":\"Prognosis\",\"fields\":[{\"name\":\"referenceUrl\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"URL where reference information for this prognosis can be found\"},{\"name\":\"prognosis\",\"type\":[\"null\",{\"type\":\"enum\",\"name\":\"PrognosisClassification\",\"symbols\":[\"altered_prognosis\",\"favourable_prognosis\",\"unfavourable_prognosis\"]}],\"doc\":\"Prognosis class","ification (defined as favourable or unfavourable),\\n in the case that the direction of the prognosis is not known altered_prognosis should be used\"},{\"name\":\"source\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"Source if known\"},{\"name\":\"references\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}],\"doc\":\"References\"},{\"name\":\"conditions\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}],\"doc\":\"Conditions\"},{\"name\":\"description\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"Full description of the associated prognosis\"},{\"name\":\"variantActionable\",\"type\":\"boolean\",\"doc\":\"If true, the association was made at the variant level, if not the association was made at Genomic Entity level\"}]}}]},{\"name\":\"therapies\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"record\",\"name\":\"Therapy\",\"fields\":[{\"name\":\"referenceUrl\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"URL where reference information for this therapy association can be found\"},{\"name\":\"source\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"Source\"},{\"name\":\"references\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}],\"doc\":\"References\"},{\"name\":\"conditions\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}],\"doc\":\"Conditions\"},{\"name\":\"drugResponse\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"record\",\"name\":\"DrugResponse\",\"fields\":[{\"name\":\"TreatmentAgent\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"Treatment agent\"},{\"name\":\"drugResponseClassification\",\"type\":{\"type\":\"enum\",\"name\":\"DrugResponseClassification\",\"symbols\":[\"altered_sensitivity\",\"reduced_sensitivity\",\"increased_sensitivity\",\"altered_resistance\",\"increased_resistance\",\"reduced_resistance\",\"increased_risk_of_toxicity\",\"reduced_risk_of_toxicity\",\"altered_toxicity\",\"adverse_drug_reaction\",\"indication\",\"contraindication\",\"dosing_alteration\",\"increased_dose\",\"reduced_dose\",\"increased_monitoring\",\"increased_efficacy\",\"reduced_efficacy\",\"altered_efficacy\"]},\"doc\":\"associated effect of the drug\"}]}}],\"doc\":\"Drug responses\"},{\"name\":\"otherInterventions\",\"type\":[\"null\",{\"type\":\"array\",\"items\":\"Intervention\"}],\"doc\":\"Any other clinical intervention\"},{\"name\":\"variantActionable\",\"type\":\"boolean\",\"doc\":\"If true, the association was made at the variant level, if not the association was made at Genomic Entity level\"}]}}]},{\"name\":\"diagnostic\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"record\",\"name\":\"Diagnostic\",\"fields\":[{\"name\":\"referenceUrl\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"URL where reference information for this prognosis can be found\"},{\"name\":\"sources\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}],\"doc\":\"Sources if known\"},{\"name\":\"references\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}],\"doc\":\"References\"},{\"name\":\"biomarkers\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}],\"doc\":\"Biomarkers\"},{\"name\":\"conditions\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}],\"doc\":\"Associated conditions\"},{\"name\":\"diagnosis\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"Diagnosis\"},{\"name\":\"diagnosisStatus\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"Diagnosis status\"},{\"name\":\"otherCondition\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"Other condition\"},{\"name\":\"variantActionable\",\"type\":\"boolean\",\"doc\":\"If true, the association was made at the variant level, if not the association was made at Genomic Entity level\"}]}}]},{\"name\":\"otherAction\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"record\",\"name\":\"OtherAction\",\"fields\":[{\"name\":\"referenceUrl\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"URL where reference information for this action can be found\"},{\"name\":\"identifier\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"Action identifier\"},{\"name\":\"sources\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}],\"doc\":\"Sources if known\"},{\"name\":\"actionType\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"Action type\"},{\"name\":\"conditions\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}],\"doc\":\"Associated conditions\"},{\"name\":\"otherAttributes\",\"type\":[\"null\",{\"type\":\"map\",\"values\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"avro.java.string\":\"String\"}],\"doc\":\"Other attributes\"},{\"name\":\"variantActionable\",\"type\":\"boolean\",\"doc\":\"If true, the association was made at the variant level, if not the association was made at Genomic Entity level\"}]}}]}]}],\"doc\":\"Actions can be taken on the variant if any\"},{\"name\":\"score\",\"type\":[\"null\",\"float\"],\"doc\":\"This is the score provided to reflect a variant's likelihood of explaining the phenotype using a specific\\n mode of Inheritance. This may be the result of different scoring systems\"},{\"name\":\"vendorSpecificScores\",\"type\":[\"null\",{\"type\":\"map\",\"values\":\"float\",\"avro.java.string\":\"String\"}],\"doc\":\"Other scores that the interpretation provider may add (for example phenotypically informed or family\\n informed scores)\"},{\"name\":\"variantClassification\",\"type\":[\"null\",{\"type\":\"record\",\"name\":\"VariantClassification\",\"doc\":\"The variant classification according to different properties.\",\"fields\":[{\"name\":\"clinicalSignificance\",\"type\":[\"null\",{\"type\":\"enum\",\"name\":\"ClinicalSignificance\",\"symbols\":[\"benign\",\"likely_benign\",\"likely_pathogenic\",\"pathogenic\",\"uncertain_significance\",\"excluded\"]}],\"doc\":\"The variant's clinical significance.\"},{\"name\":\"drugResponseClassification\",\"type\":[\"null\",\"DrugResponseClassification\"],\"doc\":\"The variant's pharmacogenomics classification.\"},{\"name\":\"traitAssociation\",\"type\":[\"null\",{\"type\":\"enum\",\"name\":\"TraitAssociation\",\"symbols\":[\"established_risk_allele\",\"likely_risk_allele\",\"uncertain_risk_allele\",\"protective\"]}],\"doc\":\"The variant's trait association.\"},{\"name\":\"tumorigenesisClassification\",\"type\":[\"null\",{\"type\":\"enum\",\"name\":\"TumorigenesisClassification\",\"symbols\":[\"driver\",\"passenger\",\"modifier\"]}],\"doc\":\"The variant's tumorigenesis classification.\"},{\"name\":\"functionalEffect\",\"type\":[\"null\",{\"type\":\"enum\",\"name\":\"VariantFunctionalEffect\",\"symbols\":[\"dominant_negative_variant\",\"gain_of_function_variant\",\"lethal_variant\",\"loss_of_function_variant\",\"loss_of_heterozygosity\",\"null_variant\"]}],\"doc\":\"The variant functional effect\"}]}],\"doc\":\"Variant classification\"},{\"name\":\"guidelineBasedVariantClassification\",\"type\":[\"null\",{\"type\":\"record\",\"name\":\"GuidelineBasedVariantClassification\",\"doc\":\"Variant classification based on guidlines, AMP and ACMG are supported\",\"fields\":[{\"name\":\"acmgVariantClassification\",\"type\":[\"null\",{\"type\":\"record\",\"name\":\"AcmgVariantClassification\",\"doc\":\"Full record for the ACMG variant clasiffication, including all selectedd evidences and the final classification.\",\"fields\":[{\"name\":\"acmgEvidences\",\"type\":{\"type\":\"array\",\"items\":{\"type\":\"record\",\"name\":\"AcmgEvidence\",\"doc\":\"AcmgEvidence. This should be buit for each one of the evidences assing to a variants following the ACMG guidelines.\\n An AcmgEvidence, should map with one of the criteria defined, i.e, PVS1, BA1, PM1...\",\"fields\":[{\"name\":\"category\",\"type\":{\"type\":\"enum\",\"name\":\"AcmgEvidenceCategory\",\"doc\":\"Each ACMG criterion is classified in one of these categories\",\"symbols\":[\"population_data\",\"computational_and_predictive_data\",\"functional_data\",\"segregation_data\",\"de_novo_data\",\"allelic_data\",\"other_database\",\"other_data\"]},\"doc\":\"Evidence category as defined in ACMG guidelines\"},{\"name\":\"type\",\"type\":{\"type\":\"enum\",\"name\":\"AcmgEvidenceType\",\"doc\":\"Each ACMG cirterion will be classifed as benign or pathogenic\",\"symbols\":[\"benign\",\"pathogenic\"]},\"doc\":\"Evidence type: benign or pathogenic\"},{\"name\":\"weight\",\"type\":{\"type\":\"enum\",\"name\":\"AcmgEvidenceWeight\",\"doc\":\"Each ACMG criterion is weighted using the following terms:\\n\\n* `s","tand_alone`: `A`, stand-alone applied for benign variant critieria `(BA1)`\\n* `supporting`: `P`, supporting applied for benign variant critieria `(BP1-6)` and pathogenic variant criteria `(PP1-5)`\\n* `moderate`: `M`, moderate applied for pathogenic variant critieria (PM1-6)\\n* `strong`: `S`, strong applied for pathogenic variant critieria (PS1-4)\\n* `very_strong`: `S`, Very Stong applied for pathogenic variant critieria (PVS1)\",\"symbols\":[\"stand_alone\",\"supporting\",\"moderate\",\"strong\",\"very_strong\"]},\"doc\":\"Default strength for criterion as defined in Table 3 of ACMG guidelines (Richards et al 2015). e.g. PM2 would be \\\"moderate\\\"\"},{\"name\":\"modifier\",\"type\":\"int\",\"doc\":\"The number suffix at the end of the ACMG criteria code e.g PM2 would be 2\"},{\"name\":\"activationStrength\",\"type\":{\"type\":\"enum\",\"name\":\"ActivationStrength\",\"doc\":\"Activation Strength enumeration:\\n* `strong`\\n* `moderate`\\n* `supporting`\\n* `very_strong`\\n* `stand_alone`\",\"symbols\":[\"strong\",\"moderate\",\"supporting\",\"very_strong\",\"stand_alone\"]},\"doc\":\"The strength this criterion has been used at in this interpretation. e.g. if PM2 was only used at \\\"supporting\\\" rather than \\\"moderate\\\", the activation strength would be \\\"supporting\\\"\"},{\"name\":\"description\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"The description of the evidence as described in ACMG guidelines e.g. for PM2 the description would be \\\"Absent from controls (or at extremely low frequency if recessive) in Exome Sequencing Project, 1000 Genomes Project, or Exome Aggregation Consortium\\\"\"},{\"name\":\"comments\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"record\",\"name\":\"UserComment\",\"fields\":[{\"name\":\"comment\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"Comment text\"},{\"name\":\"user\",\"type\":[\"null\",{\"type\":\"record\",\"name\":\"User\",\"fields\":[{\"name\":\"userid\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"Azure Active Directory immutable user OID\"},{\"name\":\"email\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"User email address\"},{\"name\":\"username\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"Username\"},{\"name\":\"role\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}]},{\"name\":\"groups\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}]}]}],\"doc\":\"User who created comment\"},{\"name\":\"timestamp\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"Date and time comment was created (ISO 8601 datetime with seconds and timezone e.g. 2020-11-23T15:52:36+00:00)\"}]}}],\"doc\":\"User comments attached to this ACMG criteria in this case\"}]}},\"doc\":\"Details of ACMG criteria used to score this variant\"},{\"name\":\"clinicalSignificance\",\"type\":\"ClinicalSignificance\",\"doc\":\"Final classification selected by user\"},{\"name\":\"calculatedClinicalSignificance\",\"type\":[\"null\",\"ClinicalSignificance\"],\"doc\":\"Classification computed from ACMG scores\"},{\"name\":\"assessment\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}]},{\"name\":\"noAcmgEvidence\",\"type\":[\"null\",{\"type\":\"array\",\"items\":\"AcmgEvidenceCategory\"}],\"doc\":\"ACMG evidence categories for which the user has indicated there is no evidence available\"}]}],\"doc\":\"Variant classification using ACMG framework\"},{\"name\":\"ampVariantClassification\",\"type\":[\"null\",{\"type\":\"record\",\"name\":\"AmpVariantClassification\",\"doc\":\"Full Variant classification acording to AMP guideline, including all supporting evidences and the final\\n assessment\",\"fields\":[{\"name\":\"ampEvidences\",\"type\":{\"type\":\"array\",\"items\":{\"type\":\"record\",\"name\":\"AmpEvidence\",\"doc\":\"Evidences as defined in AMP guidelines, they are composed by a evidence type (first column in the evidence table of\\n the guidlines) and a assessment of the evicence, this last one will define the streght of the evidence, supporting\\n the variant to be classified as TierI-IV\",\"fields\":[{\"name\":\"type\",\"type\":{\"type\":\"enum\",\"name\":\"AmpEvidenceType\",\"doc\":\"Type of evidence in the AMP guideline\",\"symbols\":[\"mutation_type\",\"therapies\",\"variant_frequencies\",\"potential_germline\",\"population_database_presence\",\"germline_database_presence\",\"somatic_database_presence\",\"impact_predictive_software\",\"pathway_involvement\",\"publications\"]},\"doc\":\"AMP evidence type according to Guidlines, i.e germline_database_presence\"},{\"name\":\"evidenceAssessment\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"Assessment for AMP evidence, i.e Present in ClinVar\"}]}},\"doc\":\"List of AMP evidences\"},{\"name\":\"ampTier\",\"type\":{\"type\":\"enum\",\"name\":\"AmpTier\",\"doc\":\"AMP tier:\\n* `TierI`: Variants of Strong Clinical Significance\\n* `TierII`: Variants of Potential Clinical Significance\\n* `TierIII`: Variants of Unknown Clinical Significance\\n* `TierIV`: Benign or Likely Benign Variants\",\"symbols\":[\"tierI\",\"tierII\",\"tierIII\",\"tierIV\"]},\"doc\":\"Final Clasification taken in account the evidences\"},{\"name\":\"ampClincialOrExperimentalEvidence\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"record\",\"name\":\"AmpClincialOrExperimentalEvidence\",\"doc\":\"Amp Clinical or Experimental Evidence, the level will define the overal clasification of the variant together with\\n the tiering.\",\"fields\":[{\"name\":\"category\",\"type\":{\"type\":\"enum\",\"name\":\"AmpClinicalOrExperimentalEvidenceCategory\",\"doc\":\"Categories of Clinical and/or Experimental Evidence as defined in AMP guidelines\",\"symbols\":[\"therapeutic\",\"diagnosis\",\"prognosis\"]},\"doc\":\"As denined in AMP guidelines: therapeutic, diagnosis or prognosis\"},{\"name\":\"level\",\"type\":{\"type\":\"enum\",\"name\":\"AmpClinicalOrExperimentalEvidenceLevel\",\"doc\":\"Levels for categories of Clinical and/or Experimental Evidence as defined in AMP guidelines\",\"symbols\":[\"levelA\",\"levelB\",\"levelC\",\"levelD\"]},\"doc\":\"As denined in AMP guidelines: levelA, levelB, levelC, levelD\"},{\"name\":\"description\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"Description of the evidence\"}]}}],\"doc\":\"Clinical or Experimental evicence\"},{\"name\":\"assessment\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"Final Assessment\"}]}],\"doc\":\"Variant classification using AMP framework\"}]}],\"doc\":\"Guidelines based Variant classification\"},{\"name\":\"algorithmBasedVariantClassifications\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"record\",\"name\":\"AlgorithmBasedVariantClassification\",\"fields\":[{\"name\":\"algorithmName\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"Name of the applied algorithm\"},{\"name\":\"classification\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"classification\"},{\"name\":\"rank\",\"type\":[\"null\",\"int\"],\"doc\":\"rank\"},{\"name\":\"score\",\"type\":[\"null\",\"int\"],\"doc\":\"Score\"}]}}],\"doc\":\"Algorithm based variant classifications\"},{\"name\":\"tier\",\"type\":[\"null\",{\"type\":\"enum\",\"name\":\"Tier\",\"doc\":\"Variant tiers as defined by Genomics England\",\"symbols\":[\"NONE\",\"TIER1\",\"TIER2\",\"TIER3\",\"TIER4\",\"TIER5\",\"TIERA\",\"TIERB\"]}],\"doc\":\"The tier where this variant has been classified. Tier is a property of the model of inheritance and therefore\\n is subject to change depending on the inheritance assumptions\"},{\"name\":\"domain\",\"type\":[\"null\",{\"type\":\"enum\",\"name\":\"Domain\",\"symbols\":[\"DOMAIN1\",\"DOMAIN2\",\"DOMAIN3\",\"DOMAIN4\",\"NONE\"]}],\"doc\":\"The Domain where this variant has been classified.\"}]}},\"doc\":\"The list of report events for this variant across multiple modes of inheritance and panels\"},{\"name\":\"variantAttributes\",\"type\":[\"null\",{\"type\":\"record\",\"name\":\"VariantAttributes\",\"doc\":\"Some additional variant attributes\",\"fields\":[{\"name\":\"genomicChanges\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}],\"doc\":\"gDNA change, HGVS nomenclature (e.g.: g.476A>T)\"},{\"name\":\"cdnaChanges\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}],\"doc\":\"cDNA change, HGVS nomenclature (e.g.: c.76A>T)\"},{\"name\":\"proteinChanges\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}],\"doc\":\"Protein change, HGVS nomenclature (e.g.: p.Lys76Asn)\"},{\"name\":\"additionalTextualVariantAnnotations\",\"type\":[\"null\",{\"type\":\"map\",\"values\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"avro.java.str","ing\":\"String\"}],\"doc\":\"Any additional information in a free text field. For example a quote from a paper\"},{\"name\":\"references\",\"type\":[\"null\",{\"type\":\"map\",\"values\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"avro.java.string\":\"String\"}],\"doc\":\"Additional references for ths variant. For example HGMD ID or Pubmed Id\"},{\"name\":\"variantIdentifiers\",\"type\":[\"null\",{\"type\":\"record\",\"name\":\"VariantIdentifiers\",\"fields\":[{\"name\":\"dbSnpId\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"Variant identifier in dbSNP\"},{\"name\":\"cosmicIds\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}],\"doc\":\"Variant identifier in Cosmic\"},{\"name\":\"clinVarIds\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}],\"doc\":\"Variant identifier in ClinVar\"},{\"name\":\"otherIds\",\"type\":[\"null\",{\"type\":\"array\",\"items\":\"Identifier\"}]}]}]},{\"name\":\"alleleFrequencies\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"record\",\"name\":\"AlleleFrequency\",\"doc\":\"The population allele frequency of a given variant in a given study and optionally population\",\"fields\":[{\"name\":\"study\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"The study from where this data comes from\"},{\"name\":\"population\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"The specific population where this allele frequency belongs\"},{\"name\":\"alternateFrequency\",\"type\":\"float\",\"doc\":\"The frequency of the alternate allele\"}]}}],\"doc\":\"A list of population allele frequencies\"},{\"name\":\"additionalNumericVariantAnnotations\",\"type\":[\"null\",{\"type\":\"map\",\"values\":\"float\",\"avro.java.string\":\"String\"}],\"doc\":\"Additional numeric variant annotations for this variant. For Example (Allele Frequency, sift, polyphen,\\n mutationTaster, CADD. ..)\"},{\"name\":\"comments\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}],\"doc\":\"Comments\"},{\"name\":\"alleleOrigins\",\"type\":[\"null\",{\"type\":\"array\",\"items\":\"AlleleOrigin\"}],\"doc\":\"List of allele origins for this variant in this report\"},{\"name\":\"ihp\",\"type\":[\"null\",\"int\"],\"doc\":\"Largest reference interrupted homopolymer length intersecting with the indel\"},{\"name\":\"recurrentlyReported\",\"type\":[\"null\",\"boolean\"],\"doc\":\"Flag indicating if the variant is recurrently reported\"},{\"name\":\"fdp50\",\"type\":[\"null\",\"float\"],\"doc\":\"Average tier1 number of basecalls filtered from original read depth within 50 bases\"},{\"name\":\"others\",\"type\":[\"null\",{\"type\":\"map\",\"values\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"avro.java.string\":\"String\"}],\"doc\":\"Map of other attributes where keys are the attribute names and values are the attributes\"}]}]}]}}],\"doc\":\"List of small reported variants\"},{\"name\":\"structuralVariants\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"record\",\"name\":\"StructuralVariant\",\"fields\":[{\"name\":\"variantType\",\"type\":{\"type\":\"enum\",\"name\":\"StructuralVariantType\",\"symbols\":[\"ins\",\"dup\",\"inv\",\"amplification\",\"deletion\",\"dup_tandem\",\"del_me\",\"ins_me\"]},\"doc\":\"Structural Variant Type as would appear in VCF\"},{\"name\":\"coordinates\",\"type\":{\"type\":\"record\",\"name\":\"Coordinates\",\"fields\":[{\"name\":\"assembly\",\"type\":\"Assembly\",\"doc\":\"The assembly to which this variant corresponds\"},{\"name\":\"chromosome\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"Chromosome without \\\"chr\\\" prefix (e.g. X rather than chrX)\"},{\"name\":\"start\",\"type\":\"int\",\"doc\":\"Start genomic position for variant (1-based)\"},{\"name\":\"end\",\"type\":\"int\",\"doc\":\"End genomic position for variant\"},{\"name\":\"ciStart\",\"type\":[\"null\",{\"type\":\"record\",\"name\":\"ConfidenceInterval\",\"fields\":[{\"name\":\"left\",\"type\":\"int\"},{\"name\":\"right\",\"type\":\"int\"}]}]},{\"name\":\"ciEnd\",\"type\":[\"null\",\"ConfidenceInterval\"]}]}},{\"name\":\"leftInsSeq\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}]},{\"name\":\"rightInsSeq\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}]},{\"name\":\"reportEvents\",\"type\":{\"type\":\"array\",\"items\":\"ReportEvent\"}},{\"name\":\"variantCalls\",\"type\":{\"type\":\"array\",\"items\":\"VariantCall\"},\"doc\":\"array of genotypes for the samples\"},{\"name\":\"variantAttributes\",\"type\":[\"null\",\"VariantAttributes\"]}]}}],\"doc\":\"List of simple structural reported variants (duplications, deletions, insertions, inversions, CNVs)\"},{\"name\":\"chromosomalRearrangements\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"record\",\"name\":\"ChromosomalRearrangement\",\"fields\":[{\"name\":\"breakPoints\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"record\",\"name\":\"BreakPoint\",\"fields\":[{\"name\":\"coordinates\",\"type\":\"Coordinates\"},{\"name\":\"reference\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}]},{\"name\":\"alternate\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}]},{\"name\":\"info\",\"type\":[\"null\",{\"type\":\"map\",\"values\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"avro.java.string\":\"String\"}]}]}}]},{\"name\":\"rearrangements\",\"type\":{\"type\":\"array\",\"items\":{\"type\":\"record\",\"name\":\"Rearrangement\",\"fields\":[{\"name\":\"leftCoordinates\",\"type\":\"Coordinates\"},{\"name\":\"rightCoordinates\",\"type\":\"Coordinates\"},{\"name\":\"orientation\",\"type\":{\"type\":\"enum\",\"name\":\"Orientation\",\"symbols\":[\"start_start\",\"start_end\",\"end_end\"]}},{\"name\":\"leftInsSeq\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}]},{\"name\":\"rightInsSeq\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}]}]}}},{\"name\":\"reportEvents\",\"type\":{\"type\":\"array\",\"items\":\"ReportEvent\"}},{\"name\":\"variantCalls\",\"type\":{\"type\":\"array\",\"items\":\"VariantCall\"},\"doc\":\"array of genotypes for the samples\"},{\"name\":\"variantAttributes\",\"type\":[\"null\",\"VariantAttributes\"]}]}}],\"doc\":\"List of complex structural reported variants (chomosomal rearrangement)\"},{\"name\":\"shortTandemRepeats\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"record\",\"name\":\"ShortTandemRepeat\",\"fields\":[{\"name\":\"coordinates\",\"type\":\"Coordinates\"},{\"name\":\"reportEvents\",\"type\":{\"type\":\"array\",\"items\":\"ReportEvent\"}},{\"name\":\"variantCalls\",\"type\":{\"type\":\"array\",\"items\":\"VariantCall\"},\"doc\":\"array of genotypes for the samples\"},{\"name\":\"variantAttributes\",\"type\":[\"null\",\"VariantAttributes\"]},{\"name\":\"shortTandemRepeatReferenceData\",\"type\":[\"null\",{\"type\":\"record\",\"name\":\"ShortTandemRepeatReferenceData\",\"fields\":[{\"name\":\"repeatedSequence\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"}},{\"name\":\"pathogenic_number_of_repeats_threshold\",\"type\":\"int\"},{\"name\":\"normal_number_of_repeats_threshold\",\"type\":\"int\"}]}]}]}}],\"doc\":\"List of short tandem repeat variants\"},{\"name\":\"uniparentalDisomies\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"record\",\"name\":\"UniparentalDisomy\",\"fields\":[{\"name\":\"assembly\",\"type\":\"Assembly\",\"doc\":\"The assembly\"},{\"name\":\"chromosome\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"Chromosome where two homologues were inherited from one parent\"},{\"name\":\"complete\",\"type\":[\"null\",\"boolean\"],\"doc\":\"indicates Whether the UPD event involves an entire chromosome or part of a chromosome\"},{\"name\":\"origin\",\"type\":{\"type\":\"enum\",\"name\":\"UniparentalDisomyOrigin\",\"symbols\":[\"paternal\",\"maternal\",\"unknown\"]},\"doc\":\"The parent who contributed two chromosomes was the mother (maternal) or the father (paternal)\"},{\"name\":\"uniparentalDisomyFragments\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"record\",\"name\":\"UniparentalDisomyFragment\",\"fields\":[{\"name\":\"coordinates\",\"type\":[\"null\",\"Coordinates\"],\"doc\":\"Coordinates can be specified to indicate the part of the chromosome affected\"},{\"name\":\"uniparentalDisomyType\",\"type\":{\"type\":\"enum\",\"name\":\"UniparentalDisomyType\",\"symbols\":[\"isodisomy\",\"heterodisomy\",\"both\"]},\"doc\":\"indicates whether the UPD event involves `isodisomy`, `heterodisomy` or `both`\"}]}}],\"doc\":\"List of all of the UPD fragments for this UPD event\"},{\"name\":\"participantId\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"Participant affected by this UPD\"},{\"name\":\"uniparentalDisomyEvidences\",\"type\":[\"null\",{\"type\":\"record\",\"name\":\"UniparentalDisomyEvidences\",\"fields\":[{\"name\":\"ibds\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"record\",\"name\":\"IdentityByDescent\",\"fields\":[{\"name\":\"relatedSample\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"}},{\"name\":\"ibd0\",\"type\":\"float\"},{\"name\":\"ibd","1\",\"type\":\"float\"},{\"name\":\"ibd2\",\"type\":\"float\"},{\"name\":\"pihat\",\"type\":\"float\"}]}}]}]}],\"doc\":\"Evidences for the UPD call\"}]}}],\"doc\":\"List of uniparental disomies across all the individuals in this report\"},{\"name\":\"karyotypes\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"record\",\"name\":\"Karyotype\",\"fields\":[{\"name\":\"iscn\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"International System for Human Cytogenetic Nomenclature (e.g.: \\\"46,XY\\\", \\\"46,XY,-5,-12,+t(5pl2p),+t(5ql2q)\\\")\"},{\"name\":\"description\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"Full description of the karyotype\"},{\"name\":\"aneuploidies\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"record\",\"name\":\"Aneuploidy\",\"fields\":[{\"name\":\"iscn\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"International System for Human Cytogenetic Nomenclature (.e.g: \\\"+14p+\\\", \\\"+t(13q21 q)\\\")\"},{\"name\":\"assembly\",\"type\":\"Assembly\",\"doc\":\"The assembly\"},{\"name\":\"chromosome\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"Chromosome involved in the aneuploidy\"},{\"name\":\"complete\",\"type\":\"boolean\",\"doc\":\"Wheter the aneuploidy is for the whole chromosme or just a fragment\"},{\"name\":\"coordinates\",\"type\":[\"null\",\"Coordinates\"],\"doc\":\"Coordinates can be specified to indicate the part of the chromosome affected\"},{\"name\":\"numberOfCopies\",\"type\":\"int\",\"doc\":\"Number of copies\"}]}}],\"doc\":\"List of aneuploidies\"},{\"name\":\"numberOfChromosomes\",\"type\":\"int\",\"doc\":\"Total number of chromosomes\"},{\"name\":\"personKaryotipicSex\",\"type\":{\"type\":\"enum\",\"name\":\"PersonKaryotipicSex\",\"namespace\":\"org.gel.models.participant.avro\",\"doc\":\"Karyotipic Sex\",\"symbols\":[\"UNKNOWN\",\"XX\",\"XY\",\"XO\",\"XXY\",\"XXX\",\"XXYY\",\"XXXY\",\"XXXX\",\"XYY\",\"OTHER\"]},\"doc\":\"Kariotypic sex\"},{\"name\":\"participantId\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"Participant identifier\"}]}}],\"doc\":\"List of inferred karyotypes across all the individuals in this report\"},{\"name\":\"referenceDatabasesVersions\",\"type\":{\"type\":\"map\",\"values\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"avro.java.string\":\"String\"},\"doc\":\"This map contains the versions of the different databases used in the process, being the database names the\\n keys and the versions the values.\"},{\"name\":\"softwareVersions\",\"type\":{\"type\":\"map\",\"values\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"avro.java.string\":\"String\"},\"doc\":\"This map contains the versions of the different software systems used in the process, being the software\\n names the keys and the versions the values.\"},{\"name\":\"comments\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}],\"doc\":\"Comments about the report\"}]}");
public static org.apache.avro.Schema getClassSchema() { return SCHEMA$; }
/** Model version number */
private org.gel.models.report.avro.ReportVersionControl versionControl;
/** Identifier for this interpretation request */
private java.lang.String interpretationRequestId;
/** Version for this interpretation request */
private int interpretationRequestVersion;
/** Name of the interpretation service */
private java.lang.String interpretationService;
/** URL where the results can be accessed in the company's web interface */
private java.lang.String reportUrl;
/** List of small reported variants */
private java.util.List variants;
/** List of simple structural reported variants (duplications, deletions, insertions, inversions, CNVs) */
private java.util.List structuralVariants;
/** List of complex structural reported variants (chomosomal rearrangement) */
private java.util.List chromosomalRearrangements;
/** List of short tandem repeat variants */
private java.util.List shortTandemRepeats;
/** List of uniparental disomies across all the individuals in this report */
private java.util.List uniparentalDisomies;
/** List of inferred karyotypes across all the individuals in this report */
private java.util.List karyotypes;
/** This map contains the versions of the different databases used in the process, being the database names the
keys and the versions the values. */
private java.util.Map referenceDatabasesVersions;
/** This map contains the versions of the different software systems used in the process, being the software
names the keys and the versions the values. */
private java.util.Map softwareVersions;
/** Comments about the report */
private java.util.List comments;
/**
* Default constructor. Note that this does not initialize fields
* to their default values from the schema. If that is desired then
* one should use newBuilder().
*/
public InterpretedGenome() {}
/**
* All-args constructor.
*/
public InterpretedGenome(org.gel.models.report.avro.ReportVersionControl versionControl, java.lang.String interpretationRequestId, java.lang.Integer interpretationRequestVersion, java.lang.String interpretationService, java.lang.String reportUrl, java.util.List variants, java.util.List structuralVariants, java.util.List chromosomalRearrangements, java.util.List shortTandemRepeats, java.util.List uniparentalDisomies, java.util.List karyotypes, java.util.Map referenceDatabasesVersions, java.util.Map softwareVersions, java.util.List comments) {
this.versionControl = versionControl;
this.interpretationRequestId = interpretationRequestId;
this.interpretationRequestVersion = interpretationRequestVersion;
this.interpretationService = interpretationService;
this.reportUrl = reportUrl;
this.variants = variants;
this.structuralVariants = structuralVariants;
this.chromosomalRearrangements = chromosomalRearrangements;
this.shortTandemRepeats = shortTandemRepeats;
this.uniparentalDisomies = uniparentalDisomies;
this.karyotypes = karyotypes;
this.referenceDatabasesVersions = referenceDatabasesVersions;
this.softwareVersions = softwareVersions;
this.comments = comments;
}
public org.apache.avro.Schema getSchema() { return SCHEMA$; }
// Used by DatumWriter. Applications should not call.
public java.lang.Object get(int field$) {
switch (field$) {
case 0: return versionControl;
case 1: return interpretationRequestId;
case 2: return interpretationRequestVersion;
case 3: return interpretationService;
case 4: return reportUrl;
case 5: return variants;
case 6: return structuralVariants;
case 7: return chromosomalRearrangements;
case 8: return shortTandemRepeats;
case 9: return uniparentalDisomies;
case 10: return karyotypes;
case 11: return referenceDatabasesVersions;
case 12: return softwareVersions;
case 13: return comments;
default: throw new org.apache.avro.AvroRuntimeException("Bad index");
}
}
// Used by DatumReader. Applications should not call.
@SuppressWarnings(value="unchecked")
public void put(int field$, java.lang.Object value$) {
switch (field$) {
case 0: versionControl = (org.gel.models.report.avro.ReportVersionControl)value$; break;
case 1: interpretationRequestId = (java.lang.String)value$; break;
case 2: interpretationRequestVersion = (java.lang.Integer)value$; break;
case 3: interpretationService = (java.lang.String)value$; break;
case 4: reportUrl = (java.lang.String)value$; break;
case 5: variants = (java.util.List)value$; break;
case 6: structuralVariants = (java.util.List)value$; break;
case 7: chromosomalRearrangements = (java.util.List)value$; break;
case 8: shortTandemRepeats = (java.util.List)value$; break;
case 9: uniparentalDisomies = (java.util.List)value$; break;
case 10: karyotypes = (java.util.List)value$; break;
case 11: referenceDatabasesVersions = (java.util.Map)value$; break;
case 12: softwareVersions = (java.util.Map)value$; break;
case 13: comments = (java.util.List)value$; break;
default: throw new org.apache.avro.AvroRuntimeException("Bad index");
}
}
/**
* Gets the value of the 'versionControl' field.
* Model version number */
public org.gel.models.report.avro.ReportVersionControl getVersionControl() {
return versionControl;
}
/**
* Sets the value of the 'versionControl' field.
* Model version number * @param value the value to set.
*/
public void setVersionControl(org.gel.models.report.avro.ReportVersionControl value) {
this.versionControl = value;
}
/**
* Gets the value of the 'interpretationRequestId' field.
* Identifier for this interpretation request */
public java.lang.String getInterpretationRequestId() {
return interpretationRequestId;
}
/**
* Sets the value of the 'interpretationRequestId' field.
* Identifier for this interpretation request * @param value the value to set.
*/
public void setInterpretationRequestId(java.lang.String value) {
this.interpretationRequestId = value;
}
/**
* Gets the value of the 'interpretationRequestVersion' field.
* Version for this interpretation request */
public java.lang.Integer getInterpretationRequestVersion() {
return interpretationRequestVersion;
}
/**
* Sets the value of the 'interpretationRequestVersion' field.
* Version for this interpretation request * @param value the value to set.
*/
public void setInterpretationRequestVersion(java.lang.Integer value) {
this.interpretationRequestVersion = value;
}
/**
* Gets the value of the 'interpretationService' field.
* Name of the interpretation service */
public java.lang.String getInterpretationService() {
return interpretationService;
}
/**
* Sets the value of the 'interpretationService' field.
* Name of the interpretation service * @param value the value to set.
*/
public void setInterpretationService(java.lang.String value) {
this.interpretationService = value;
}
/**
* Gets the value of the 'reportUrl' field.
* URL where the results can be accessed in the company's web interface */
public java.lang.String getReportUrl() {
return reportUrl;
}
/**
* Sets the value of the 'reportUrl' field.
* URL where the results can be accessed in the company's web interface * @param value the value to set.
*/
public void setReportUrl(java.lang.String value) {
this.reportUrl = value;
}
/**
* Gets the value of the 'variants' field.
* List of small reported variants */
public java.util.List getVariants() {
return variants;
}
/**
* Sets the value of the 'variants' field.
* List of small reported variants * @param value the value to set.
*/
public void setVariants(java.util.List value) {
this.variants = value;
}
/**
* Gets the value of the 'structuralVariants' field.
* List of simple structural reported variants (duplications, deletions, insertions, inversions, CNVs) */
public java.util.List getStructuralVariants() {
return structuralVariants;
}
/**
* Sets the value of the 'structuralVariants' field.
* List of simple structural reported variants (duplications, deletions, insertions, inversions, CNVs) * @param value the value to set.
*/
public void setStructuralVariants(java.util.List value) {
this.structuralVariants = value;
}
/**
* Gets the value of the 'chromosomalRearrangements' field.
* List of complex structural reported variants (chomosomal rearrangement) */
public java.util.List getChromosomalRearrangements() {
return chromosomalRearrangements;
}
/**
* Sets the value of the 'chromosomalRearrangements' field.
* List of complex structural reported variants (chomosomal rearrangement) * @param value the value to set.
*/
public void setChromosomalRearrangements(java.util.List value) {
this.chromosomalRearrangements = value;
}
/**
* Gets the value of the 'shortTandemRepeats' field.
* List of short tandem repeat variants */
public java.util.List getShortTandemRepeats() {
return shortTandemRepeats;
}
/**
* Sets the value of the 'shortTandemRepeats' field.
* List of short tandem repeat variants * @param value the value to set.
*/
public void setShortTandemRepeats(java.util.List value) {
this.shortTandemRepeats = value;
}
/**
* Gets the value of the 'uniparentalDisomies' field.
* List of uniparental disomies across all the individuals in this report */
public java.util.List getUniparentalDisomies() {
return uniparentalDisomies;
}
/**
* Sets the value of the 'uniparentalDisomies' field.
* List of uniparental disomies across all the individuals in this report * @param value the value to set.
*/
public void setUniparentalDisomies(java.util.List value) {
this.uniparentalDisomies = value;
}
/**
* Gets the value of the 'karyotypes' field.
* List of inferred karyotypes across all the individuals in this report */
public java.util.List getKaryotypes() {
return karyotypes;
}
/**
* Sets the value of the 'karyotypes' field.
* List of inferred karyotypes across all the individuals in this report * @param value the value to set.
*/
public void setKaryotypes(java.util.List value) {
this.karyotypes = value;
}
/**
* Gets the value of the 'referenceDatabasesVersions' field.
* This map contains the versions of the different databases used in the process, being the database names the
keys and the versions the values. */
public java.util.Map getReferenceDatabasesVersions() {
return referenceDatabasesVersions;
}
/**
* Sets the value of the 'referenceDatabasesVersions' field.
* This map contains the versions of the different databases used in the process, being the database names the
keys and the versions the values. * @param value the value to set.
*/
public void setReferenceDatabasesVersions(java.util.Map value) {
this.referenceDatabasesVersions = value;
}
/**
* Gets the value of the 'softwareVersions' field.
* This map contains the versions of the different software systems used in the process, being the software
names the keys and the versions the values. */
public java.util.Map getSoftwareVersions() {
return softwareVersions;
}
/**
* Sets the value of the 'softwareVersions' field.
* This map contains the versions of the different software systems used in the process, being the software
names the keys and the versions the values. * @param value the value to set.
*/
public void setSoftwareVersions(java.util.Map value) {
this.softwareVersions = value;
}
/**
* Gets the value of the 'comments' field.
* Comments about the report */
public java.util.List getComments() {
return comments;
}
/**
* Sets the value of the 'comments' field.
* Comments about the report * @param value the value to set.
*/
public void setComments(java.util.List value) {
this.comments = value;
}
/** Creates a new InterpretedGenome RecordBuilder */
public static org.gel.models.report.avro.InterpretedGenome.Builder newBuilder() {
return new org.gel.models.report.avro.InterpretedGenome.Builder();
}
/** Creates a new InterpretedGenome RecordBuilder by copying an existing Builder */
public static org.gel.models.report.avro.InterpretedGenome.Builder newBuilder(org.gel.models.report.avro.InterpretedGenome.Builder other) {
return new org.gel.models.report.avro.InterpretedGenome.Builder(other);
}
/** Creates a new InterpretedGenome RecordBuilder by copying an existing InterpretedGenome instance */
public static org.gel.models.report.avro.InterpretedGenome.Builder newBuilder(org.gel.models.report.avro.InterpretedGenome other) {
return new org.gel.models.report.avro.InterpretedGenome.Builder(other);
}
/**
* RecordBuilder for InterpretedGenome instances.
*/
public static class Builder extends org.apache.avro.specific.SpecificRecordBuilderBase
implements org.apache.avro.data.RecordBuilder {
private org.gel.models.report.avro.ReportVersionControl versionControl;
private java.lang.String interpretationRequestId;
private int interpretationRequestVersion;
private java.lang.String interpretationService;
private java.lang.String reportUrl;
private java.util.List variants;
private java.util.List structuralVariants;
private java.util.List chromosomalRearrangements;
private java.util.List shortTandemRepeats;
private java.util.List uniparentalDisomies;
private java.util.List karyotypes;
private java.util.Map referenceDatabasesVersions;
private java.util.Map softwareVersions;
private java.util.List comments;
/** Creates a new Builder */
private Builder() {
super(org.gel.models.report.avro.InterpretedGenome.SCHEMA$);
}
/** Creates a Builder by copying an existing Builder */
private Builder(org.gel.models.report.avro.InterpretedGenome.Builder other) {
super(other);
if (isValidValue(fields()[0], other.versionControl)) {
this.versionControl = data().deepCopy(fields()[0].schema(), other.versionControl);
fieldSetFlags()[0] = true;
}
if (isValidValue(fields()[1], other.interpretationRequestId)) {
this.interpretationRequestId = data().deepCopy(fields()[1].schema(), other.interpretationRequestId);
fieldSetFlags()[1] = true;
}
if (isValidValue(fields()[2], other.interpretationRequestVersion)) {
this.interpretationRequestVersion = data().deepCopy(fields()[2].schema(), other.interpretationRequestVersion);
fieldSetFlags()[2] = true;
}
if (isValidValue(fields()[3], other.interpretationService)) {
this.interpretationService = data().deepCopy(fields()[3].schema(), other.interpretationService);
fieldSetFlags()[3] = true;
}
if (isValidValue(fields()[4], other.reportUrl)) {
this.reportUrl = data().deepCopy(fields()[4].schema(), other.reportUrl);
fieldSetFlags()[4] = true;
}
if (isValidValue(fields()[5], other.variants)) {
this.variants = data().deepCopy(fields()[5].schema(), other.variants);
fieldSetFlags()[5] = true;
}
if (isValidValue(fields()[6], other.structuralVariants)) {
this.structuralVariants = data().deepCopy(fields()[6].schema(), other.structuralVariants);
fieldSetFlags()[6] = true;
}
if (isValidValue(fields()[7], other.chromosomalRearrangements)) {
this.chromosomalRearrangements = data().deepCopy(fields()[7].schema(), other.chromosomalRearrangements);
fieldSetFlags()[7] = true;
}
if (isValidValue(fields()[8], other.shortTandemRepeats)) {
this.shortTandemRepeats = data().deepCopy(fields()[8].schema(), other.shortTandemRepeats);
fieldSetFlags()[8] = true;
}
if (isValidValue(fields()[9], other.uniparentalDisomies)) {
this.uniparentalDisomies = data().deepCopy(fields()[9].schema(), other.uniparentalDisomies);
fieldSetFlags()[9] = true;
}
if (isValidValue(fields()[10], other.karyotypes)) {
this.karyotypes = data().deepCopy(fields()[10].schema(), other.karyotypes);
fieldSetFlags()[10] = true;
}
if (isValidValue(fields()[11], other.referenceDatabasesVersions)) {
this.referenceDatabasesVersions = data().deepCopy(fields()[11].schema(), other.referenceDatabasesVersions);
fieldSetFlags()[11] = true;
}
if (isValidValue(fields()[12], other.softwareVersions)) {
this.softwareVersions = data().deepCopy(fields()[12].schema(), other.softwareVersions);
fieldSetFlags()[12] = true;
}
if (isValidValue(fields()[13], other.comments)) {
this.comments = data().deepCopy(fields()[13].schema(), other.comments);
fieldSetFlags()[13] = true;
}
}
/** Creates a Builder by copying an existing InterpretedGenome instance */
private Builder(org.gel.models.report.avro.InterpretedGenome other) {
super(org.gel.models.report.avro.InterpretedGenome.SCHEMA$);
if (isValidValue(fields()[0], other.versionControl)) {
this.versionControl = data().deepCopy(fields()[0].schema(), other.versionControl);
fieldSetFlags()[0] = true;
}
if (isValidValue(fields()[1], other.interpretationRequestId)) {
this.interpretationRequestId = data().deepCopy(fields()[1].schema(), other.interpretationRequestId);
fieldSetFlags()[1] = true;
}
if (isValidValue(fields()[2], other.interpretationRequestVersion)) {
this.interpretationRequestVersion = data().deepCopy(fields()[2].schema(), other.interpretationRequestVersion);
fieldSetFlags()[2] = true;
}
if (isValidValue(fields()[3], other.interpretationService)) {
this.interpretationService = data().deepCopy(fields()[3].schema(), other.interpretationService);
fieldSetFlags()[3] = true;
}
if (isValidValue(fields()[4], other.reportUrl)) {
this.reportUrl = data().deepCopy(fields()[4].schema(), other.reportUrl);
fieldSetFlags()[4] = true;
}
if (isValidValue(fields()[5], other.variants)) {
this.variants = data().deepCopy(fields()[5].schema(), other.variants);
fieldSetFlags()[5] = true;
}
if (isValidValue(fields()[6], other.structuralVariants)) {
this.structuralVariants = data().deepCopy(fields()[6].schema(), other.structuralVariants);
fieldSetFlags()[6] = true;
}
if (isValidValue(fields()[7], other.chromosomalRearrangements)) {
this.chromosomalRearrangements = data().deepCopy(fields()[7].schema(), other.chromosomalRearrangements);
fieldSetFlags()[7] = true;
}
if (isValidValue(fields()[8], other.shortTandemRepeats)) {
this.shortTandemRepeats = data().deepCopy(fields()[8].schema(), other.shortTandemRepeats);
fieldSetFlags()[8] = true;
}
if (isValidValue(fields()[9], other.uniparentalDisomies)) {
this.uniparentalDisomies = data().deepCopy(fields()[9].schema(), other.uniparentalDisomies);
fieldSetFlags()[9] = true;
}
if (isValidValue(fields()[10], other.karyotypes)) {
this.karyotypes = data().deepCopy(fields()[10].schema(), other.karyotypes);
fieldSetFlags()[10] = true;
}
if (isValidValue(fields()[11], other.referenceDatabasesVersions)) {
this.referenceDatabasesVersions = data().deepCopy(fields()[11].schema(), other.referenceDatabasesVersions);
fieldSetFlags()[11] = true;
}
if (isValidValue(fields()[12], other.softwareVersions)) {
this.softwareVersions = data().deepCopy(fields()[12].schema(), other.softwareVersions);
fieldSetFlags()[12] = true;
}
if (isValidValue(fields()[13], other.comments)) {
this.comments = data().deepCopy(fields()[13].schema(), other.comments);
fieldSetFlags()[13] = true;
}
}
/** Gets the value of the 'versionControl' field */
public org.gel.models.report.avro.ReportVersionControl getVersionControl() {
return versionControl;
}
/** Sets the value of the 'versionControl' field */
public org.gel.models.report.avro.InterpretedGenome.Builder setVersionControl(org.gel.models.report.avro.ReportVersionControl value) {
validate(fields()[0], value);
this.versionControl = value;
fieldSetFlags()[0] = true;
return this;
}
/** Checks whether the 'versionControl' field has been set */
public boolean hasVersionControl() {
return fieldSetFlags()[0];
}
/** Clears the value of the 'versionControl' field */
public org.gel.models.report.avro.InterpretedGenome.Builder clearVersionControl() {
versionControl = null;
fieldSetFlags()[0] = false;
return this;
}
/** Gets the value of the 'interpretationRequestId' field */
public java.lang.String getInterpretationRequestId() {
return interpretationRequestId;
}
/** Sets the value of the 'interpretationRequestId' field */
public org.gel.models.report.avro.InterpretedGenome.Builder setInterpretationRequestId(java.lang.String value) {
validate(fields()[1], value);
this.interpretationRequestId = value;
fieldSetFlags()[1] = true;
return this;
}
/** Checks whether the 'interpretationRequestId' field has been set */
public boolean hasInterpretationRequestId() {
return fieldSetFlags()[1];
}
/** Clears the value of the 'interpretationRequestId' field */
public org.gel.models.report.avro.InterpretedGenome.Builder clearInterpretationRequestId() {
interpretationRequestId = null;
fieldSetFlags()[1] = false;
return this;
}
/** Gets the value of the 'interpretationRequestVersion' field */
public java.lang.Integer getInterpretationRequestVersion() {
return interpretationRequestVersion;
}
/** Sets the value of the 'interpretationRequestVersion' field */
public org.gel.models.report.avro.InterpretedGenome.Builder setInterpretationRequestVersion(int value) {
validate(fields()[2], value);
this.interpretationRequestVersion = value;
fieldSetFlags()[2] = true;
return this;
}
/** Checks whether the 'interpretationRequestVersion' field has been set */
public boolean hasInterpretationRequestVersion() {
return fieldSetFlags()[2];
}
/** Clears the value of the 'interpretationRequestVersion' field */
public org.gel.models.report.avro.InterpretedGenome.Builder clearInterpretationRequestVersion() {
fieldSetFlags()[2] = false;
return this;
}
/** Gets the value of the 'interpretationService' field */
public java.lang.String getInterpretationService() {
return interpretationService;
}
/** Sets the value of the 'interpretationService' field */
public org.gel.models.report.avro.InterpretedGenome.Builder setInterpretationService(java.lang.String value) {
validate(fields()[3], value);
this.interpretationService = value;
fieldSetFlags()[3] = true;
return this;
}
/** Checks whether the 'interpretationService' field has been set */
public boolean hasInterpretationService() {
return fieldSetFlags()[3];
}
/** Clears the value of the 'interpretationService' field */
public org.gel.models.report.avro.InterpretedGenome.Builder clearInterpretationService() {
interpretationService = null;
fieldSetFlags()[3] = false;
return this;
}
/** Gets the value of the 'reportUrl' field */
public java.lang.String getReportUrl() {
return reportUrl;
}
/** Sets the value of the 'reportUrl' field */
public org.gel.models.report.avro.InterpretedGenome.Builder setReportUrl(java.lang.String value) {
validate(fields()[4], value);
this.reportUrl = value;
fieldSetFlags()[4] = true;
return this;
}
/** Checks whether the 'reportUrl' field has been set */
public boolean hasReportUrl() {
return fieldSetFlags()[4];
}
/** Clears the value of the 'reportUrl' field */
public org.gel.models.report.avro.InterpretedGenome.Builder clearReportUrl() {
reportUrl = null;
fieldSetFlags()[4] = false;
return this;
}
/** Gets the value of the 'variants' field */
public java.util.List getVariants() {
return variants;
}
/** Sets the value of the 'variants' field */
public org.gel.models.report.avro.InterpretedGenome.Builder setVariants(java.util.List value) {
validate(fields()[5], value);
this.variants = value;
fieldSetFlags()[5] = true;
return this;
}
/** Checks whether the 'variants' field has been set */
public boolean hasVariants() {
return fieldSetFlags()[5];
}
/** Clears the value of the 'variants' field */
public org.gel.models.report.avro.InterpretedGenome.Builder clearVariants() {
variants = null;
fieldSetFlags()[5] = false;
return this;
}
/** Gets the value of the 'structuralVariants' field */
public java.util.List getStructuralVariants() {
return structuralVariants;
}
/** Sets the value of the 'structuralVariants' field */
public org.gel.models.report.avro.InterpretedGenome.Builder setStructuralVariants(java.util.List value) {
validate(fields()[6], value);
this.structuralVariants = value;
fieldSetFlags()[6] = true;
return this;
}
/** Checks whether the 'structuralVariants' field has been set */
public boolean hasStructuralVariants() {
return fieldSetFlags()[6];
}
/** Clears the value of the 'structuralVariants' field */
public org.gel.models.report.avro.InterpretedGenome.Builder clearStructuralVariants() {
structuralVariants = null;
fieldSetFlags()[6] = false;
return this;
}
/** Gets the value of the 'chromosomalRearrangements' field */
public java.util.List getChromosomalRearrangements() {
return chromosomalRearrangements;
}
/** Sets the value of the 'chromosomalRearrangements' field */
public org.gel.models.report.avro.InterpretedGenome.Builder setChromosomalRearrangements(java.util.List value) {
validate(fields()[7], value);
this.chromosomalRearrangements = value;
fieldSetFlags()[7] = true;
return this;
}
/** Checks whether the 'chromosomalRearrangements' field has been set */
public boolean hasChromosomalRearrangements() {
return fieldSetFlags()[7];
}
/** Clears the value of the 'chromosomalRearrangements' field */
public org.gel.models.report.avro.InterpretedGenome.Builder clearChromosomalRearrangements() {
chromosomalRearrangements = null;
fieldSetFlags()[7] = false;
return this;
}
/** Gets the value of the 'shortTandemRepeats' field */
public java.util.List getShortTandemRepeats() {
return shortTandemRepeats;
}
/** Sets the value of the 'shortTandemRepeats' field */
public org.gel.models.report.avro.InterpretedGenome.Builder setShortTandemRepeats(java.util.List value) {
validate(fields()[8], value);
this.shortTandemRepeats = value;
fieldSetFlags()[8] = true;
return this;
}
/** Checks whether the 'shortTandemRepeats' field has been set */
public boolean hasShortTandemRepeats() {
return fieldSetFlags()[8];
}
/** Clears the value of the 'shortTandemRepeats' field */
public org.gel.models.report.avro.InterpretedGenome.Builder clearShortTandemRepeats() {
shortTandemRepeats = null;
fieldSetFlags()[8] = false;
return this;
}
/** Gets the value of the 'uniparentalDisomies' field */
public java.util.List getUniparentalDisomies() {
return uniparentalDisomies;
}
/** Sets the value of the 'uniparentalDisomies' field */
public org.gel.models.report.avro.InterpretedGenome.Builder setUniparentalDisomies(java.util.List value) {
validate(fields()[9], value);
this.uniparentalDisomies = value;
fieldSetFlags()[9] = true;
return this;
}
/** Checks whether the 'uniparentalDisomies' field has been set */
public boolean hasUniparentalDisomies() {
return fieldSetFlags()[9];
}
/** Clears the value of the 'uniparentalDisomies' field */
public org.gel.models.report.avro.InterpretedGenome.Builder clearUniparentalDisomies() {
uniparentalDisomies = null;
fieldSetFlags()[9] = false;
return this;
}
/** Gets the value of the 'karyotypes' field */
public java.util.List getKaryotypes() {
return karyotypes;
}
/** Sets the value of the 'karyotypes' field */
public org.gel.models.report.avro.InterpretedGenome.Builder setKaryotypes(java.util.List value) {
validate(fields()[10], value);
this.karyotypes = value;
fieldSetFlags()[10] = true;
return this;
}
/** Checks whether the 'karyotypes' field has been set */
public boolean hasKaryotypes() {
return fieldSetFlags()[10];
}
/** Clears the value of the 'karyotypes' field */
public org.gel.models.report.avro.InterpretedGenome.Builder clearKaryotypes() {
karyotypes = null;
fieldSetFlags()[10] = false;
return this;
}
/** Gets the value of the 'referenceDatabasesVersions' field */
public java.util.Map getReferenceDatabasesVersions() {
return referenceDatabasesVersions;
}
/** Sets the value of the 'referenceDatabasesVersions' field */
public org.gel.models.report.avro.InterpretedGenome.Builder setReferenceDatabasesVersions(java.util.Map value) {
validate(fields()[11], value);
this.referenceDatabasesVersions = value;
fieldSetFlags()[11] = true;
return this;
}
/** Checks whether the 'referenceDatabasesVersions' field has been set */
public boolean hasReferenceDatabasesVersions() {
return fieldSetFlags()[11];
}
/** Clears the value of the 'referenceDatabasesVersions' field */
public org.gel.models.report.avro.InterpretedGenome.Builder clearReferenceDatabasesVersions() {
referenceDatabasesVersions = null;
fieldSetFlags()[11] = false;
return this;
}
/** Gets the value of the 'softwareVersions' field */
public java.util.Map getSoftwareVersions() {
return softwareVersions;
}
/** Sets the value of the 'softwareVersions' field */
public org.gel.models.report.avro.InterpretedGenome.Builder setSoftwareVersions(java.util.Map value) {
validate(fields()[12], value);
this.softwareVersions = value;
fieldSetFlags()[12] = true;
return this;
}
/** Checks whether the 'softwareVersions' field has been set */
public boolean hasSoftwareVersions() {
return fieldSetFlags()[12];
}
/** Clears the value of the 'softwareVersions' field */
public org.gel.models.report.avro.InterpretedGenome.Builder clearSoftwareVersions() {
softwareVersions = null;
fieldSetFlags()[12] = false;
return this;
}
/** Gets the value of the 'comments' field */
public java.util.List getComments() {
return comments;
}
/** Sets the value of the 'comments' field */
public org.gel.models.report.avro.InterpretedGenome.Builder setComments(java.util.List value) {
validate(fields()[13], value);
this.comments = value;
fieldSetFlags()[13] = true;
return this;
}
/** Checks whether the 'comments' field has been set */
public boolean hasComments() {
return fieldSetFlags()[13];
}
/** Clears the value of the 'comments' field */
public org.gel.models.report.avro.InterpretedGenome.Builder clearComments() {
comments = null;
fieldSetFlags()[13] = false;
return this;
}
@Override
public InterpretedGenome build() {
try {
InterpretedGenome record = new InterpretedGenome();
record.versionControl = fieldSetFlags()[0] ? this.versionControl : (org.gel.models.report.avro.ReportVersionControl) defaultValue(fields()[0]);
record.interpretationRequestId = fieldSetFlags()[1] ? this.interpretationRequestId : (java.lang.String) defaultValue(fields()[1]);
record.interpretationRequestVersion = fieldSetFlags()[2] ? this.interpretationRequestVersion : (java.lang.Integer) defaultValue(fields()[2]);
record.interpretationService = fieldSetFlags()[3] ? this.interpretationService : (java.lang.String) defaultValue(fields()[3]);
record.reportUrl = fieldSetFlags()[4] ? this.reportUrl : (java.lang.String) defaultValue(fields()[4]);
record.variants = fieldSetFlags()[5] ? this.variants : (java.util.List) defaultValue(fields()[5]);
record.structuralVariants = fieldSetFlags()[6] ? this.structuralVariants : (java.util.List) defaultValue(fields()[6]);
record.chromosomalRearrangements = fieldSetFlags()[7] ? this.chromosomalRearrangements : (java.util.List) defaultValue(fields()[7]);
record.shortTandemRepeats = fieldSetFlags()[8] ? this.shortTandemRepeats : (java.util.List) defaultValue(fields()[8]);
record.uniparentalDisomies = fieldSetFlags()[9] ? this.uniparentalDisomies : (java.util.List) defaultValue(fields()[9]);
record.karyotypes = fieldSetFlags()[10] ? this.karyotypes : (java.util.List) defaultValue(fields()[10]);
record.referenceDatabasesVersions = fieldSetFlags()[11] ? this.referenceDatabasesVersions : (java.util.Map) defaultValue(fields()[11]);
record.softwareVersions = fieldSetFlags()[12] ? this.softwareVersions : (java.util.Map) defaultValue(fields()[12]);
record.comments = fieldSetFlags()[13] ? this.comments : (java.util.List) defaultValue(fields()[13]);
return record;
} catch (Exception e) {
throw new org.apache.avro.AvroRuntimeException(e);
}
}
}
}