Size: 16102
Comment:
|
Size: 17420
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 33: | Line 33: |
== File Format 709 XML == All files uploaed to IDEA !AnimInfo must be presented in an xml-format. A python-program converting the above described flat file format to the correct xml-format is available in the software-section of IDEA. The xml file format used for additional info in !AnimInfo contains one section, the '''animal''' section. The animals section consists of a sequence of nodes named "a" (short for animal), each representing an animal and containing the header `id` (for the AID), and a subnode starting with the type (here BULL_OB_STATUS) the following information pertains to, and the headers `breed` (for the breed of evaluation), `country` (for the country sending the information) and `ob_status` (Bull's status as being original Braunvieh, Y/N). An example of the above description can be found below. {{{ <interbull type="animinfo" version="1.0"> <animals> <a id="BSWITAM003006216853"><BULL_OB_STATUS breed="BSW" country="ITA" ob_status="N" /></a> <a id="BSWITAM000074226306"><BULL_OB_STATUS breed="BSW" country="ITA" ob_status="N" /></a> <a id="BSWITAM000074300946"><BULL_OB_STATUS breed="BSW" country="ITA" ob_status="Y" /></a> <a id="BSWITAM000470210596"><BULL_OB_STATUS breed="BSW" country="ITA" ob_status="N" /></a> </animals> </interbull> }}} |
File Format 709
for Data Delivery to the Interbull Centre for the International Genomic Evaluation
FILE FOR ORIGINAL BRAUNVIEH STATUS
Starting Position |
Field Description |
Format |
Example |
1 |
Record type 1 |
integer 3 |
709 |
4 |
Country sending this information 2 |
character 3 |
AUS |
7 |
Breed of evaluation 3 |
character 3 |
BSW |
|
|
|
|
Animal international identification 4 |
|||
11 |
Breed of animal 5 |
character 3 |
BSW |
14 |
Country of first registration of animal 2 |
character 3 |
AUS |
17 |
Sex |
character 1 |
M |
18 |
ID number of animal 6 |
character 12 |
000000A12345 |
|
|
|
|
|
|||
31 |
Bull's status as being original Braunvieh (Y/N) |
character 1 |
Y |
- 1 Record type is always 709 for this File Format
- 2 ISO 3166-1 alpha-3 codes (3 characters, capital letters)
- 3 Breed of evaluation (3 characters, capital letters, BSW, GUE, HOL, JER, RDC, SIM)
- 4 Please see Interbull Bulletin 28.
- 5 Breed of animal (3 characters, capital letters)
- 6 Alpha-numerical, always 12 characters long
OBS: All character variables should be left adjusted, and all integer variables right adjusted.
File Format 709 XML
All files uploaed to IDEA AnimInfo must be presented in an xml-format. A python-program converting the above described flat file format to the correct xml-format is available in the software-section of IDEA.
The xml file format used for additional info in AnimInfo contains one section, the animal section. The animals section consists of a sequence of nodes named "a" (short for animal), each representing an animal and containing the header id (for the AID), and a subnode starting with the type (here BULL_OB_STATUS) the following information pertains to, and the headers breed (for the breed of evaluation), country (for the country sending the information) and ob_status (Bull's status as being original Braunvieh, Y/N).
An example of the above description can be found below.
<interbull type="animinfo" version="1.0"> <animals> <a id="BSWITAM003006216853"><BULL_OB_STATUS breed="BSW" country="ITA" ob_status="N" /></a> <a id="BSWITAM000074226306"><BULL_OB_STATUS breed="BSW" country="ITA" ob_status="N" /></a> <a id="BSWITAM000074300946"><BULL_OB_STATUS breed="BSW" country="ITA" ob_status="Y" /></a> <a id="BSWITAM000470210596"><BULL_OB_STATUS breed="BSW" country="ITA" ob_status="N" /></a> </animals> </interbull>