.. _genotype_browser_section: Genotype Browser Section ======================== The configuration section for a genotype browser follows the general INI format. Its name must be ``genotypeBrowser`` - this will indicate that it is a genotype browser configuration section. This configuration section must properly describe the genotype browser for the study. This is an optional section. Example Configuration --------------------- .. code-block:: ini [genotypeBrowser] hasCNV = no hasComplex = no hasStudyTypes = no hasStudyFilters = no hasFamilyFilters = yes hasPresentInRole = no hasPresentInChild = no hasPresentInParent = no hasPedigreeSelector = yes hasGraphicalPreview = yes inheritanceTypeFilter = mendelian, denovo selectedInheritanceTypeFilterValues = mendelian, denovo selectedPhenoFiltersValues = continuous phenoFilters.continuous.name = Continuous phenoFilters.continuous.measureType = continuous phenoFilters.continuous.filter = multi:prb selectedPresentInRoleValues = parent presentInRole.parent.name = Parents presentInRole.parent.roles = mom,dad selectedGenotypeColumnValues = family,variant,inchild genotype.family.name = family genotype.family.slots = family:family id,studyName:study genotype.variant.name = variant genotype.variant.slots = location:location,variant:variant genotype.genotype.name = genotype genotype.genotype.source = pedigree genotype.genotype.slots = inChild:in child,fromParent:from parent genotype.inchild.name = in child genotype.inchild.source = inChS genotype.fromparent.name = from parent genotype.fromparent.source = fromParentS selectedPhenoColumnValues = pheno pheno.pheno.name = Measures pheno.pheno.slots = prb:i1.age:Age:%%.2f, prb:i1.iq:Iq:%%.2f selectedInRolesValues = inChild,fromParentS inRoles.inChild.destination = inChS inRoles.inChild.roles = prb,sib inRoles.fromParents.destination = fromParentS inRoles.fromParents.roles = mom,dad previewColumns = family,variant,pheno downloadColumns = family,variant,inchild Columns ------- genotypeBrowser section support different types of columns. These columns are: * Genotype - Here you can define columns from the raw study data columns. Configuration of this columns can be found :ref:`here `. * Phenotype - Here you can define columns from ``phenoDB`` by the ``id`` of the phenotype measure. Configuration of this columns can be found :ref:`here `. * In Roles - Here you can define columns which are based on the pedigree information. They will be added to the variant as new ``genotype columns``. Information that this columns will be containing will be all possible combinations of the role from all of the defined roles list in it with the gender of the people with this role. Configuration of this columns can be found :ref:`here <_in_roles_columns>`. This columns can be used as a genotype columns. * Gene Weights - Here you can define columns which are based on the :ref:`Gene Weights ` data. They will be added to the variant as new ``genotype columns``. This columns can be used as a genotype columns. Only ``Genotype`` and ``Phenotype`` columns can be used as a :ref:`Preview ` and :ref:`Download ` columns. Here you can see example configuration for different column types: .. code-block:: ini [genotypeBrowser] ... # Genotype columns ############################################################################# genotype.family.name = family genotype.family.slots = family:family id,studyName:study genotype.variant.name = variant genotype.variant.slots = location:location,variant:variant genotype.genotype.name = genotype genotype.genotype.source = pedigree genotype.genotype.slots = inChS:in child,fromParentS:from parent # Phenotype columns ############################################################################# pheno.iq.name = Proband IQs pheno.iq.slots = prb:diagnosis_summary.best_nonverbal_iq:NvIQ, prb:diagnosis_summary.best_verbal_iq:vIQ # In Roles columns ############################################################################# inRoles.inChild.destination = inChS inRoles.inChild.roles = prb,sib inRoles.fromParents.destination = fromParentS inRoles.fromParents.roles = mom,dad genotype.inchild.name = in child genotype.inchild.source = inChS genotype.fromparent.name = from parent genotype.fromparent.source = fromParentS # Gene Weights columns ############################################################################# genotype.weights.name = vulnerability/intolerance genotype.weights.slots = LGD_rank:LGD rank:LGD %%d , RVIS_rank:RVIS rank:RVIS %%d,pLI_rank:pLI rank:pLI %%d # Preview and Download columns ############################################################################# previewColumns = family,variant,genotype,weights downloadColumns=family,variant,fromparent,inchild,weights,iq ... [genotypeBrowser] ----------------- The properties for this section are explained below. hasCNV ______ .. code-block:: ini hasCNV = This property determines: * if the ``CNV+`` and ``CNV*`` effect types (part of the ``CNV`` effect group) are present in the ``Effect Types`` filter in the ``Genotype Browser`` for the study. * if the ``CNV``, ``CNV+`` and ``CNV*`` effect types are present in the ``Effect Types`` filter in the ``Phenotype Tool`` for the study. * if the ``CNV`` variant type is present in the ``Variant Types`` filter in the ``Genotype Browser`` for the study. This property takes a :ref:`boolean ` value. hasComplex __________ .. code-block:: ini hasComplex = This property determines whether the ``complex`` variant type is present in the ``Variant Types`` filter in the ``Genotype Browser`` for the study. This property takes a :ref:`boolean ` value. hasStudyTypes _____________ .. code-block:: ini hasStudyTypes = This property determines whether the ``Study Types`` filter is present in the ``Genotype Browser`` for the study. This property takes a :ref:`boolean ` value. hasStudyFilters _______________ .. code-block:: ini hasStudyFilters = This property determines whether the ``Studies`` filter block is present in the ``Genotype Browser`` for the study. This property takes a :ref:`boolean ` value. hasFamilyFilters ________________ .. code-block:: ini hasFamilyFilters = This property determines if the ``Family`` filter block is present in the ``Genotype Browser`` and ``Phenotype Tool`` for the study. This property takes a :ref:`boolean ` value. hasPresentInRole ________________ .. code-block:: ini hasPresentInRole = This property determines if the ``Present in Role`` filter is present in the ``Genotype Browser`` for the study. This property takes a :ref:`boolean ` value. You can see the configuration of ``Present in Role`` :ref:`here `. hasPresentInChild _________________ .. code-block:: ini hasPresentInChild = This property determines if the ``Present in Child`` filter is present in the ``Genotype Browser`` for the study. This property takes a :ref:`boolean ` value. hasPresentInParent __________________ .. code-block:: ini hasPresentInParent = This property determines if the ``Present in Parent`` filter is present in the ``Genotype Browser`` for the study. This property takes a :ref:`boolean ` value. hasPedigreeSelector ___________________ .. code-block:: ini hasPedigreeSelector = This property determines if the ``Pedigree Selector`` filter is present in the ``Genotype Browser`` for the study. This property takes a :ref:`boolean ` value. The ``Pedigree Selector`` filter presents the configured people groups and their values as options to filter variants by. hasGraphicalPreview ___________________ .. code-block:: ini hasGraphicalPreview = This property determines if the user can make a ``Graphical Preview`` request in the ``Genotype Browser`` for the study. This property takes a :ref:`boolean ` value. inheritanceTypeFilter _____________________ .. code-block:: ini inheritanceTypeFilter = This is a list of inheritance types that will be available as filters in the ``Genotype Browser`` for the study. You can see the available values :ref:`here `. selectedInheritanceTypeFilterValues ___________________________________ .. code-block:: ini selectedInheritanceTypeFilterValues = This is a list of inheritance type filters that will be selected by default on a study's page in the ``Genotype Browser``. Note that these values must be present in the ``inheritanceTypeFilter`` property. You can see the available values :ref:`here `. familyFilters _____________ .. FIXME: Fill me .. code-block:: ini familyFilters = <> selectedPhenoFiltersValues __________________________ .. code-block:: ini selectedPhenoFiltersValues = A comma-separated list of selected pheno filters. If this property is missing then all defined pheno filters in this section are selected. phenoFilters..name ___________________________________ .. FIXME: Fill me .. code-block:: ini phenoFilters..name = <> phenoFilters..measureType __________________________________________ .. FIXME: Fill me .. code-block:: ini phenoFilters..measureType = <> phenoFilters..filter _____________________________________ .. code-block:: ini phenoFilters..filter = <::> .. FIXME: Fill me .. _present_in_role_property: selectedPresentInRoleValues ___________________________ .. code-block:: ini selectedPresentInRoleValues = A comma-separated list of selected presentInRole values. If this property is missing then all defined presentInRole values in this section are selected. presentInRole..id ______________________________________ .. code-block:: ini presentInRole..id = Identifier of present in role. Default value is ```` from the present in role property name. presentInRole..name _______________________________________ .. code-block:: ini presentInRole..name = This property defines the display name of the ``Present in Role`` filter in the ``Genotype Browser`` for the study. presentInRole..roles ________________________________________ .. code-block:: ini presentInRole..roles = This property defines which roles are available to the ``Present in Role`` filter in the ``Genotype Browser`` for the study. .. _genotype_columns: selectedGenotypeColumnValues ____________________________ .. code-block:: ini selectedGenotypeColumnValues = A comma-separated list of selected genotype columns. If this property is missing, then all defined genotype columns in this section are selected. genotype..id _________________________________ .. code-block:: ini genotype..id = Identifier of the genotype column. Default value is ```` from the genotype column property name. genotype..name ___________________________________ .. code-block:: ini genotype..name = Display name of the genotype column used in the header of the table in the ``Table Preview`` query in ``Genotype Browser`` for the study. genotype..source _____________________________________ .. code-block:: ini genotype..source = This property defines the source of the values for this column. This is selected from the raw study data column names. genotype..slots ____________________________________ .. code-block:: ini genotype..slots = <: