Skip to content

Sample and Individual annotation

Jacobo Coll Moragón edited this page Nov 19, 2015 · 2 revisions

Overview

One of the more useful features of Catalog is the sample and individual annotation. You can define your sets of variables and fill this variables many times for samples or individuals.

1- Create a Variable Set

[
  {
    "id": "KEY_boolean",
    "type": "BOOLEAN",
    "defaultValue": false,
    "required": true,
    "rank": 0,
    "description": "A boolean variable"
  }, {
    "id": "KEY_cat",
    "type": "CATEGORICAL",
    "defaultValue": "VAL1",
    "required": false,
    "multiValue": true,
    "allowedValues": [
      "VAL1", "VAL2", "VAL3"
    ],
    "rank": 1,
    "description": "An array of categorical values"
  }, {
    "id": "KEY_numeric",
    "type": "NUMERIC",
    "required": false,
    "allowedValues": [
      "VAL1", "VAL2", "VAL3"
    ],
    "rank": 2,
    "dependsOn" : "KEY_boolean",
    "description": "A numeric only allowed when \"KEY_boolean\" is true"
  }
]

2- Annotate a Sample or Individual

3- Update Annotations

4- Delete Annotations

5- Loading a Pedigree file

Clone this wiki locally