.. _dataset_section: Dataset Section =============== The configuration section for a dataset follows the general INI format. Its name must be ``dataset`` - this will indicate that it is a dataset configuration section. This configuration section must properly describe one dataset. Either this section or the `ref:` section must be present in the config file. Example Configuration --------------------- .. code-block:: ini [dataset] enabled = yes name = Dataset id = dataset studies = study description = %(work_dir)s/data/description.md hasDenovo = yes hasTransmitted = no hasComplex = no hasCNV = no commonReport = True genotypeBrowser = True phenotypeBrowser = True enrichmentTool = False phenotypeTool = False [dataset] --------- The properties for this section are explained below. name ____ .. code-block:: ini name = Name which will be used as a display name for the dataset. The default value is the value of the ``id`` property from the dataset. id __ .. code-block:: ini id = Identifier of the dataset. studies _______ .. code-block:: ini studies = This property defines which studies are in the dataset. It's format is a comma-separated list of study ids. You can see the study section configuration :ref:`here `. description ___________ .. code-block:: ini description = This property shows if the ``Dataset Description`` tab is enabled for the dataset. It can contain a description as a string in markdown format or as an absolute or relative path to a markdown file. You can see more about the ``Dataset Description`` tab :ref:`here `. phenoDB _______ .. code-block:: ini phenoDB = The corresponding :ref:`pheno DB ` for the dataset. It must be a valid pheno DB id. hasDenovo _________ .. FIXME: Remove this property after implementing getting of its value from the study backend. .. code-block:: ini hasDenovo = This property shows if the study contains variants with ``denovo`` inheritance. It has default value if it is defined in all of the dataset's defined studies and its value is ``True`` only if at least one of the studies' :ref:`hasDenovo ` property is ``True`` as well. This property takes a :ref:`boolean ` value. hasTransmitted ______________ .. FIXME: Remove this property after implementing getting of its value from the study backend. .. code-block:: ini hasTransmitted = This property shows if the study contains variants with ``transmitted`` inheritance. It has default value if it is defined in all of the dataset's defined studies and its value is ``True`` only if at least one of the studies' :ref:`hasTransmitted ` property is ``True`` as well. This property takes a :ref:`boolean ` value. hasComplex __________ .. FIXME: Remove this property after implementing getting of its value from the study backend. .. code-block:: ini hasComplex = This property shows if the study contains variants with ``complex`` variant type. It has default value if it is defined in all of the dataset's defined studies and its value is ``True`` only if at least one of the studies' :ref:`hasComplex ` property is ``True`` as well. This property takes a :ref:`boolean ` value. hasCNV ______ .. FIXME: Remove this property after implementing getting of its value from the study backend. .. code-block:: ini hasCNV = This property shows if the study contains variants with ``CNV``, ``CNV+`` or ``CNV-`` effect types or ``CNV`` variant type. It has default value if it is defined in all of the dataset's defined studies and its value is ``True`` only if at least one of the studies' :ref:`hasCNV ` property is ``True`` as well. This property takes a :ref:`boolean ` value. commonReport ____________ .. code-block:: ini commonReport = This property shows if ``Dataset Statistics`` tab is enabled for the dataset. You can see more about ``Dataset Statistics`` tab :ref:`here `. It has default value if it is defined in all of the dataset's defined studies and its value is ``True`` only if all of the studies' :ref:`commonReport ` properties are ``True`` as well. This property takes a :ref:`boolean ` value. genotypeBrowser _______________ .. code-block:: ini genotypeBrowser = This property shows if ``Genotype Browser`` tab is enabled for the study. You can see more about ``Genotype Browser`` tab :ref:`here `. It has default value if it is defined in all of the dataset's defined studies and its value is ``True`` only if all of the studies' :ref:`genotypeBrowser ` properties are ``True`` as well. This property takes a :ref:`boolean ` value. phenotypeBrowser ________________ .. code-block:: ini phenotypeBrowser = This property shows if ``Phenotype Browser`` tab is enabled for the study. You can see more about ``Phenotype Browser`` tab :ref:`here `. It has default value if it is defined in all of the dataset's defined studies and its value is ``True`` only if all of the studies' :ref:`phenotypeBrowser ` properties are ``True`` as well. This property takes a :ref:`boolean ` value. enrichmentTool ______________ .. code-block:: ini enrichmentTool = This property shows if ``Enrichment Tool`` tab is enabled for the study. You can see more about ``Enrichment Tool`` tab :ref:`here `. It has default value if it is defined in all of the dataset's defined studies and its value is ``True`` only if all of the studies' :ref:`enrichmentTool ` properties are ``True`` as well. This property takes a :ref:`boolean ` value. phenotypeTool _____________ .. code-block:: ini phenotypeTool = This property shows if ``Phenotype Tool`` tab is enabled for the study. You can see more about ``Phenotype Tool`` tab :ref:`here `. It has default value if it is defined in all of the dataset's defined studies and its value is ``True`` only if all of the studies' :ref:`phenotypeTool ` properties are ``True`` as well. This property takes a :ref:`boolean ` value. enabled _______ .. code-block:: ini enabled = DEFAULT ``True`` This property enables the dataset. This property takes a :ref:`boolean ` value.