Differences between revisions 3 and 4
Revision 3 as of 2015-12-23 09:43:11
Size: 2846
Comment:
Revision 4 as of 2015-12-23 10:02:32
Size: 4409
Comment:
Deletions are marked like this. Additions are marked like this.
Line 17: Line 17:
 * '''!AnimInfo Types''' groups related !AnimInfo attributes (see below) together into a coherent logical unit in the !AnimInfo file format. They are indicated by UPPERCASE names.
 * '''!AnimInfo attributes''' holds the actual information of the relevant !AnimInfo type in a list of name/value-pairs, for example ''genotyped="Y"''. The first part, before the equal(=) sign is the name of the attribute, and is in lowercase, and the part after the equal sign and within quotation marks (") is the value of that attribute (see below). An !AnimInfo type can contain from one to several related attributes — some of which are required, others are optional. An attribute can only be specified once for each !AnimInfo type, organization and animal.
 * '''!AnimInfo values''' sets the value of each attribute for each animal. The value must conform to the specification of the attribute, which can be different from attribute to attribute; ranging from a free-form text string, to a set of predefined values, to a defined pattern the value must match.
 * '''!AnimInfo Types''' groups related !AnimInfo attributes (see below) together into a coherent logical unit in the !AnimInfo file format. They are indicated by UPPERCASE names and only alphanumeric characters are allowed, plus underscore(_) and hyphen(-)..
 * '''!AnimInfo Attributes''' holds the actual information of the relevant !AnimInfo type in a list of name/value-pairs, for example ''genotyped="Y"''. The first part, before the equal(=) sign is the name of the attribute, and is in lowercase, and the part after the equal sign and within quotation marks (") is the value of that attribute (see below). As with the types the attribute name can only contain alphanumeric characters, underscore and hyphen. An !AnimInfo type can contain from one to several related attributes — some of which are required, others are optional. An attribute can only be specified once for each !AnimInfo type, organization and animal.
 * '''!AnimInfo Values''' sets the value of each attribute for each animal. The value must conform to the specification of the attribute, which can be different from attribute to attribute; ranging from a free-form text string, to a set of predefined values, to a defined pattern the value must match.

In the ''!AnimInfo -> Types'' page in IDEA you will find an overview of all the available types, attributes and values in the !AnimInfo module. There one finds a bullet list of the !AnimInfo types, in bold, uppercase letters, and with a short description in italic. Below each type, in a sub-listlevel, the type's attributes are listed in lowercase. After each attribute, in parantheses, the attribute value type is specified. Also, there is a short description in italics for each attribute. In the case of attributes with a predefined set of allowed values, these are listed in yet another level of the list, below the relevant attribute.
Below the !AnimInfo types and attribute overview one finds a specification of the value types available, with a description on which pattern the value must conform to.

Here, one can see the specification of the %RH-genes !AnimInfo data structure, where the type is specified as RH_GENES, and it has a single attribute, percent. The percent has the value type ''percent with not available'', which is defined in the list of value types as ''A numerical, integer value between 0 and 100, with the string N/A if not available''. This means that one can upload %RH-genes percent values (which is either a percent value or N/A for missing values) for every animal, using the !AnimInfo file format.

=== Assembling an !AnimInfo file ===

IDEA AnimInfo User Manual

Preface

The IDEA AnimInfo is a module in the Interbull Centre Data Exchange website that allows organizations to upload additional information — like %RH-genes or if the animal is genotyped — tied to animals in the pedigree, and to make this information available to the Interbull Centre and/or to other organizations in the IDEA system. The following is a description on how to, as an end-user, prepare and upload additional animal information to IDEA.

AnimInfo usage

AnimInfo allows storing additional data and information about animals in the pedigree in the IDEA database. The purpose of the AnimInfo is to gather reported data from sources, not to verify or authorize that information. To add data into AnimInfo one prepares an AnimInfo file according to the specification, and uploads it to IDEA. Depending on the type of information uploaded it will be available for viewing and uploading by none, some or all other organizations in IDEA. For some AnimInfo data only the authorized organization may view and upload data, for other data it is possible for some or all organizations to view and/or upload it. If more than one organization uploads the same type of data for the same animal all the uploaded information will be shown when querying that animal, with indications from which organization the different pieces of data come from.

Preparation

In order to add additional information to animals in IDEA one has to know which types of information that are allowed in IDEA AnimInfo. This can be found by clicking on the AnimInfo -> Types menu item in the bar menu in IDEA (see figure 1). Here you will be shown a list of the allowed AnimInfo types, attributes and values:

  • AnimInfo Types groups related AnimInfo attributes (see below) together into a coherent logical unit in the AnimInfo file format. They are indicated by UPPERCASE names and only alphanumeric characters are allowed, plus underscore(_) and hyphen(-)..

  • AnimInfo Attributes holds the actual information of the relevant AnimInfo type in a list of name/value-pairs, for example genotyped="Y". The first part, before the equal(=) sign is the name of the attribute, and is in lowercase, and the part after the equal sign and within quotation marks (") is the value of that attribute (see below). As with the types the attribute name can only contain alphanumeric characters, underscore and hyphen. An AnimInfo type can contain from one to several related attributes — some of which are required, others are optional. An attribute can only be specified once for each AnimInfo type, organization and animal.

  • AnimInfo Values sets the value of each attribute for each animal. The value must conform to the specification of the attribute, which can be different from attribute to attribute; ranging from a free-form text string, to a set of predefined values, to a defined pattern the value must match.

In the AnimInfo -> Types page in IDEA you will find an overview of all the available types, attributes and values in the AnimInfo module. There one finds a bullet list of the AnimInfo types, in bold, uppercase letters, and with a short description in italic. Below each type, in a sub-listlevel, the type's attributes are listed in lowercase. After each attribute, in parantheses, the attribute value type is specified. Also, there is a short description in italics for each attribute. In the case of attributes with a predefined set of allowed values, these are listed in yet another level of the list, below the relevant attribute. Below the AnimInfo types and attribute overview one finds a specification of the value types available, with a description on which pattern the value must conform to.

Here, one can see the specification of the %RH-genes AnimInfo data structure, where the type is specified as RH_GENES, and it has a single attribute, percent. The percent has the value type percent with not available, which is defined in the list of value types as A numerical, integer value between 0 and 100, with the string N/A if not available. This means that one can upload %RH-genes percent values (which is either a percent value or N/A for missing values) for every animal, using the AnimInfo file format.

Assembling an !AnimInfo file

public/IDEA_animinfo_manual (last edited 2024-01-17 15:55:20 by Valentina)